CVE-2026-141553: termux-sync: Restore extracts archive members outside the backed-up directory because the extraction jail is the parent of each backup root
termux-sync restore extracts each archive into the parent of the directory that archive is supposed to hold. The containment check then compares members against that wider directory, so an archive declared as usr_etc or usr_lib can write anywhere under $PREFIX, including $PREFIX/bin.
This is a residual gap in the fix for GHSA-259w-wmqg-fp76 / CVE-2026-86046. The guards that advisory added all work. What survives is the choice of destination they are checked against.
References
- github.com/advisories/GHSA-x9x8-xcv7-5x5g
- github.com/djunekz/termux-sync/commit/3dd44a266cc9fba816c684164067616c7c0ef61d
- github.com/djunekz/termux-sync/commit/40a016331662c2c161f6045657b374fd00c05811
- github.com/djunekz/termux-sync/releases/tag/v1.3.8
- github.com/djunekz/termux-sync/security/advisories/GHSA-x9x8-xcv7-5x5g
- nvd.nist.gov/vuln/detail/CVE-2026-141553
Code Behaviors & Features
Detect and mitigate CVE-2026-141553 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →