CVE-2026-141553
MEDIUM 5.5CVSS 3.1termux-sync: Restore extracts archive members outside the backed-up directory because the extraction jail is the parent of each backup root
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.
- Published
- 2 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-22
- Also known as
- GHSA-x9x8-xcv7-5x5g
- Sources
- NVDJSONCVE ListJSONOSV GHSA-x9x8-xcv7-5x5gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| CVE List | GitHub_M | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | djunekz | termux-sync | = < 1.3.8 | |
| OSV | PyPI | termux-sync | < 1.3.8 | 1.3.8 |
References
- https://github.com/djunekz/termux-sync/commit/3dd44a266cc9fba816c684164067616c7c0ef61d · x_refsource_MISC, WEB
- https://github.com/djunekz/termux-sync/commit/40a016331662c2c161f6045657b374fd00c05811 · x_refsource_MISC, WEB
- https://github.com/djunekz/termux-sync/releases/tag/v1.3.8 · x_refsource_MISC, WEB
- https://github.com/djunekz/termux-sync/security/advisories/GHSA-x9x8-xcv7-5x5g · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-141553 · ADVISORY
- https://github.com/djunekz/termux-sync · PACKAGE
History
- 3 Dec 2026 17:56 UTC · NVD: updated (other details)
- 3 Dec 2026 16:56 UTC · CVE List: updated (other details)
- 3 Dec 2026 03:06 UTC · OSV: first stored (published 3 Dec 2026)
- 2 Dec 2026 20:26 UTC · CVE List: first stored (published 2 Dec 2026)
- 2 Dec 2026 20:26 UTC · NVD: first stored (published 2 Dec 2026)