CVE-2026-86046

GHSA-259w-wmqg-fp76 · published 16 Nov 2026 · updated 16 Nov 2026

termux-sync: Arbitrary file write during restore via attacker-controlled manifest source path

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in termux-sync 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
djunekz<1.2.4
pypi: termux-sync<1.2.4, <=1.2.31.2.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-86046 severity on Zeptric[![CVE-2026-86046](https://zeptric.io/badge/cve/CVE-2026-86046.svg)](https://zeptric.io/cve/CVE-2026-86046)