Skip to content
High 7.1

termux-syncに任意のファイルを書き込まれる脆弱性

CVE-2026-86046 First seen on SecPulse

Summary

termux-syncの1.2.4より前のバージョンには、復元時に任意のファイルを書き込まれる脆弱性があります。悪意を持って改ざんされたバックアップを復元すると、シェルの起動ファイルや実行スクリプトが書き換えられ、後で実行されるとコードが動くおそれがあります。修正版の1.2.4で対応しているため、速やかに更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

termux-syncの1.2.4より前のバージョンには、復元時に任意のファイルを書き込まれる脆弱性があります。悪意を持って改ざんされたバックアップを復元すると、シェルの起動ファイルや実行スクリプトが書き換えられ、後で実行されるとコードが動くおそれがあります。修正版の1.2.4で対応しているため、速やかに更新してください。

Affected packages

PackageAffected → Fixed
djunekztermux-sync —
piptermux-sync
< 1.2.4→ 1.2.4
PyPItermux-sync
< 1.2.4→ 1.2.4
Original description The description as published by the source.

termux-sync is an open source tool for backing up and restoring a Termux environment across devices. Prior to 1.2.4, termux-sync restore uses the parent directory of the untrusted manifest.json files.*.source value as an extraction destination, and extract_archive calls tarfile.extract on archive members without enforcing a destination boundary. A victim who restores a malicious or tampered backup from local, shared, GitHub, or Google Drive storage can have files written anywhere the Termux user can write, including shell startup files or executable scripts that can lead to code execution when later used. The restore path also accepts unsafe backup_name values for temporary paths, and archive members are not constrained to the intended destination. This issue is fixed in version 1.2.4.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details