Termux Sync
Monthly
Restore-time path traversal in termux-sync (all versions through 1.3.7, fixed in 1.3.8) lets an attacker who controls a backup archive write files anywhere under the Termux installation prefix, including replacing executables such as $PREFIX/bin/sh, yielding code execution as the Termux user the next time a replaced binary is invoked. Each archive is extracted into the parent of its backup root and member paths are only validated against that wider directory, so a manifest that declares just a 'usr_etc' archive can legitimately-looking place files in $PREFIX/bin; the restore preview does not list member paths, so a victim who reviews the prompt cannot see the planted binary. Exploitation requires local delivery of a malicious backup and explicit confirmation of the overwrite prompt, no privilege escalation occurs because $PREFIX is writable by the Termux user by design, and the reporter published a local non-destructive proof-of-concept reproduction in the GitHub advisory - it is not classified here as confirmed working exploit code, and there is no KEV listing. The independent assessment rates this a genuine but moderate-priority issue (CVSS 5.5) and the priority label is this_month, with full remediation requiring the 1.3.8 update.
Restore-time path traversal in termux-sync (all versions through 1.3.7, fixed in 1.3.8) lets an attacker who controls a backup archive write files anywhere under the Termux installation prefix, including replacing executables such as $PREFIX/bin/sh, yielding code execution as the Termux user the next time a replaced binary is invoked. Each archive is extracted into the parent of its backup root and member paths are only validated against that wider directory, so a manifest that declares just a 'usr_etc' archive can legitimately-looking place files in $PREFIX/bin; the restore preview does not list member paths, so a victim who reviews the prompt cannot see the planted binary. Exploitation requires local delivery of a malicious backup and explicit confirmation of the overwrite prompt, no privilege escalation occurs because $PREFIX is writable by the Termux user by design, and the reporter published a local non-destructive proof-of-concept reproduction in the GitHub advisory - it is not classified here as confirmed working exploit code, and there is no KEV listing. The independent assessment rates this a genuine but moderate-priority issue (CVSS 5.5) and the priority label is this_month, with full remediation requiring the 1.3.8 update.