Skip to content
FlawDB
Sign in

CVE-2026-141553

MEDIUM 5.5

termux-sync: Restore extracts archive members outside the backed-up directory because the extraction jail is the parent of each backup root

AI summary AI generated

An attacker who supplies a crafted backup can make termux-sync restore write files outside the intended directory, including replacing executables, leading to code execution as the Termux user.

Mitigation

  • Upgrade termux-sync to 1.3.8 or later.

Who should check

  • Anyone running djunekz termux-sync < 1.3.8

Vulnerability facts

Affected
djunekz termux-sync < 1.3.8
Fixed in
djunekz termux-sync 1.3.8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: None
CWE
CWE-22
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
djunekz termux-sync< 1.3.8—cvelist

Versions mentioned in the description AI generated

Extracted by AI; each line quotes the description word for word. Source data above takes precedence.

  • Affected: termux-sync Prior to 1.3.8 Prior to 1.3.8
  • Fixed: termux-sync 1.3.8 This issue is fixed in version 1.3.8.

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-141553. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-141553.md
Affected: djunekz termux-sync < 1.3.8
Fixed in: djunekz termux-sync 1.3.8

Steps:
1. Search this machine and project for djunekz termux-sync: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-141553 being exploited?

There is no confirmed exploitation: CVE-2026-141553 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-141553?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-141553?

djunekz termux-sync < 1.3.8.

Is there a fix for CVE-2026-141553?

Yes. Fixed in djunekz termux-sync 1.3.8. Upgrade termux-sync to 1.3.8 or later.

How do I check if I'm affected by CVE-2026-141553?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
HIGH 7.1CVE-2026-86046

termux-sync: Arbitrary file write during restore via attacker-controlled manifest source path

PyPI packages
EPSS 20%
Sponsors