本文へ移動
English version →
高 7.1

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

CVE-2026-86046 SecPulse初出

概要

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

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

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

影響パッケージ

パッケージ影響を受ける版 → 修正版
djunekztermux-sync —
piptermux-sync
1.2.4 未満→ 1.2.4
PyPItermux-sync
1.2.4 未満→ 1.2.4
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

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.

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

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく