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

Published Dec 2, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-x9x8-xcv7-5x5g termux-sync: Restore extracts archive members outside the backed-up directory because the extraction jail is the parent of each backup root
History
Type Values Removed Values Added
First Time appeared Djunekz
Djunekz termux-sync
Vendors & Products Djunekz
Djunekz termux-sync
Type Values Removed Values Added
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.
Title termux-sync: Restore extracts archive members outside the backed-up directory because the extraction jail is the parent of each backup root
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 3, 2026, 5:11 PM
Reserved
Dec 1, 2026, 10:46 PM
Status
Received
Published
Dec 2, 2026, 8:20 PM
Modified
Dec 3, 2026, 5:17 PM