CVE Professor
/
All CVEs
CVE-2026-141553

CVE-2026-141553 — Termux-sync — CWE-22

MEDIUM CVSS 5.5 ⚡ EPSS 0.3% GitHub

## Summary `termux-sync restore` extracts each archive into the parent of the directory that archive is supposed to hold. The containment check then compares members against that wider directory, so an archive declared as `usr_etc` or `usr_lib` can write anywhere under `$PREFIX`, including `$PREFIX/bin`. This is a residual gap in the fix for GHSA-259w-wmqg-fp76 / CVE-2026-86046. The guards that advisory added all work. What survives is the choice of destination they are checked against. ## Affected versions Tested on: - Package version: `termux-sync` 1.3.6 installed from PyPI (`termux_sync-1.3.6-py3-none-any.whl`) - Repository commit: `054e6d88acf16c7d9b025846bcc2652b2975c68a` on main - Python: 3.12.16, where `tarfile.data_filter` is available - Dependencies: `rich==15.0.0`, `markdown-it-py==4.3.0`, `mdurl==0.1.2`, `Pygments==2.21.0` - OS: Debian in a container, non-root, no network during the restore Only 1.3.6 was tested. The primitive looks present in earlier releases, but unchecked. Releases before `9c8637b` are already covered by CVE-2026-86046. Main and the release differ only inside `cmd_daemon`. Lines 1 to 700, which hold all the archive and extraction code, are identical, so main has the same behaviour. `termux-sync.py` is a byte-identical copy of `src/termux_sync/__init__.py`, so the line numbers below apply to both. ## Impact An attacker who controls the content of a backup that a victim restores can write files anywhere under `$PREFIX`, overwriting existi

## Summary `termux-sync restore` extracts each archive into the parent of the directory that archive is supposed to hold. The containment check then compares members against that wider directory, so an archive declared as `usr_etc` or `usr_lib` can write anywhere under `$PREFIX`, including `$PREFIX/bin`. This is a residual gap in the fix for GHSA-259w-wmqg-fp76 / CVE-2026-86046. The guards that advisory added all work. What survives is the choice of destination they are checked against. ## Affected versions Tested on: - Package version: `termux-sync` 1.3.6 installed from PyPI (`termux_sync-1.3.6-py3-none-any.whl`) - Repository commit: `054e6d88acf16c7d9b025846bcc2652b2975c68a` on main - Python: 3.12.16, where `tarfile.data_filter` is available - Dependencies: `rich==15.0.0`, `markdown-it-py==4.3.0`, `mdurl==0.1.2`, `Pygments==2.21.0` - OS: Debian in a container, non-root, no network during the restore Only 1.3.6 was tested. The primitive looks present in earlier releases, but unchecked. Releases before `9c8637b` are already covered by CVE-2026-86046. Main and the release differ only inside `cmd_daemon`. Lines 1 to 700, which hold all the archive and extraction code, are identical, so main has the same behaviour. `termux-sync.py` is a byte-identical copy of `src/termux_sync/__init__.py`, so the line numbers below apply to both. ## Impact An attacker who controls the content of a backup that a victim restores can write files anywhere under `$PREFIX`, overwriting existi

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Attack Vector Local AV:L
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality None C:N
Integrity High I:H
Availability None A:N
EPSS — Exploit Prediction Scoring System
0.3%
30-day probability
In the 28. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-141553
CVSS 5.5/10 · MEDIUM · 02.12.2026
CWE: CWE-22
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Path Traversal / LFI
Summary: ## Summary

termux-sync restore extracts each archive into the parent of the directory that archive is supposed to hold. The containment check then compares members against that wider directory, so an archive declared as usr_etc or usr_lib can write anywhere under $PREFIX, including $PREFIX/bin. This is a residual gap in the fix for GHSA-259w-wmqg-fp76 / CVE-2026-86046.
Affected: termux-sync

⚡ ATTACK VECTOR
Local/physical access (AV:L) · no authentication required (PR:N) · user interaction required (UI:R) · low attack complexity (AC:L).

🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); data can be modified or deleted.

🛡️ REMEDIATION
→ Apply vendor security update for termux-sync.
→ Use realpath() canonicalization, implement allowlists.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
5.5 / 10 · CVSS MEDIUM
Weakness Types (CWE)
Affected Products (1)
termux-sync
References & Advisories (4)
Related CVEs
9.9
CVE-2026-77526
FacturaScripts is an open source accounting and invoicing software. From version 2025 to before version 2026.3
9.8
CVE-2026-145055
PraisonAI pip praisonai before 4.8.0, praisonaiagents and npm praisonai before 1.8.0, and praisonai-bot, prais
9.4
CVE-2026-129109
Calico installations managed by the Tigera Operator install a FlexVolume driver (nodeagent~uds/uds) on every L
9.4
CVE-2026-64883
Path traversal in the WebDAV interface (DotWebdavHelper and the WebDAV temporary-file COPY and MOVE handling)
8.6
CVE-2026-115524
Path traversal in the push-publish bundle receiver (BundlePublisherResource, /api/bundlePublisher/publish) in
8.3
CVE-2026-144679
Thanos through 0.42.5 contains a path traversal vulnerability in Receive that allows unauthenticated remote-wr
8.3
CVE-2026-118326
Improper limitation of a pathname to a restricted directory in attendance photo upload workflow in ZKTeco BioT