Skip to main content
CVE-2026-141553VulnerabilityPublished

termux-sync: Restore extracts archive members outside the backed-up directory because the extraction jail is the

Affects termux-syncSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-141553· Medium 5.5

Not known to be exploited · CVSS 5.5 Medium : upgrade to 1.3.8 when convenient.

Data as of 3 Dec 2026, 04:32 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.5
Patch
Available – fixed in 1.3.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade termux-sync to 1.3.8.

Affected software

ProductAffectedFixed in
PyPItermux-syncAffected
  • <1.3.8
Fixed in
  • 1.3.8

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in termux-sync version 1.3.8 that correctly restricts extraction to the intended backup root directories. Users should upgrade to version 1.3.8 or later. Until upgraded, users should avoid restoring backups from untrusted sources. No additional mitigations are indicated by the vendor advisory.

Description

The termux-sync restore command improperly extracts archive members outside their intended backup directories, allowing an attacker controlling a backup to overwrite files anywhere under the $PREFIX directory. This includes critical executables like $PREFIX/bin/sh, enabling code execution as the Termux user upon next invocation. The issue is a residual flaw from a previous fix (CVE-2026-86046) due to the extraction jail being set to the parent directory rather than the exact backup root. Only termux-sync versions before 1.3.8 are affected.

References

Community reviews

Loading reviews…