termux-sync: Restore extracts archive members outside the backed-up directory because the extraction jail is the parent of each backup root
Summary
| CVE | CVE-2026-141553 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-02 20:20:40 UTC |
| Updated | 2026-12-03 17:17:55 UTC |
| Description | termux-sync is an open source tool for backing up and restoring a Termux environment across devices. Prior to 1.3.8, termux-sync checks restored archive members against the parent of each backed-up directory instead of the directory itself. An attacker who controls a backup that a user restores can write files to other locations under the Termux installation prefix, including replacing executables. This can result in arbitrary code execution with the privileges of the Termux user when a replaced executable is run. This issue is fixed in version 1.3.8. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS: 0.003250000 probability, percentile 0.275490000 (date 2026-12-03)
Problem Types: CWE-22 | CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| 3.1 | CNA | DECLARED | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
NoneCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Djunekz | Termux-sync | affected < 1.3.8 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/djunekz/termux-sync/commit/3dd44a266cc9fba816c684164067616c7c... | [email protected] | github.com | |
| github.com/djunekz/termux-sync/releases/tag/v1.3.8 | [email protected] | github.com | |
| github.com/djunekz/termux-sync/commit/40a016331662c2c161f6045657b374fd00... | [email protected] | github.com | |
| github.com/djunekz/termux-sync/security/advisories/GHSA-x9x8-xcv7-5x5g | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.