cvelo
P3 · MediumCVSS 5.5EPSS 0.3%

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

  • CVE-2026-141553
  • GHSA-x9x8-xcv7-5x5g
  • EUVD-2026-141822

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • djunekz termux-sync

    Affected versionsFixed in
    < 1.3.8none stated
  • termux-syncPyPI

    Affected versionsFixed in
    up to 1.3.7none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.