CVE-2026-86046: termux-sync - Path Traversal
- Cve: CVE-2026-86046
- Name: termux-sync - Path Traversal
- 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.
- Impact: Attackers can write arbitrary files, potentially overwriting shell startup files or scripts to achieve code execution.
- Remediation: Upgrade to version 1.2.4 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: user_interaction
- Requirements: Victim must restore a malicious or tampered backup
- Labels source: securitycontext
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- Epss score: 0.00266
- Epss percentile: 0.18523
- Assignee: [email protected]
- Published at: 2026-11-16T17:17:35Z
- Age in days: 8
- Modified at: 2026-11-16T19:17:53Z
- References total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-86046
- Nvd status: received
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
Same in every row:
- Source: nvd
- Tags:
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| djunekz/termux-sync | commit, fix, package, releases, security_advisory | yes | /v1/repositories/djunekz/termux-sync |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts