CVE-2026-86046
Description
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.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-16 |
Timeline
- 2026-11-16Published by the CNA17:05 UTC
- 2026-11-16GitHub advisory published (GHSA-259w-wmqg-fp76)same day
- 2026-11-16Published in NVD17:17 UTC · 12 minutes after the CNA
- 2026-11-16CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-259w-wmqg-fp76, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI termux-sync | before 1.2.4 | 1.2.4 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| djunekz termux-sync |
References
- https://github.com/djunekz/termux-sync/commit/9c8637b280ee3e126885def5ff5b326c289ee7cf
- https://github.com/djunekz/termux-sync/releases/tag/v1.2.4
- https://github.com/djunekz/termux-sync/security/advisories/GHSA-259w-wmqg-fp76
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-86046'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-86046'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-86046'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-86046'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).