# 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

Status: published. Published: 2026-12-02. Updated: 2026-12-02.

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 remediation reported in collected sources

## Affected products and versions

- djunekz / termux-sync: < 1.3.8 (affected). Source: CNA: GitHub_M

## Severity and prioritization

- CVSS 3.1: 5.5 (medium); CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-22

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/djunekz/termux-sync/security/advisories/GHSA-x9x8-xcv7-5x5g (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/djunekz/termux-sync/commit/3dd44a266cc9fba816c684164067616c7c0ef61d (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/djunekz/termux-sync/commit/40a016331662c2c161f6045657b374fd00c05811 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/djunekz/termux-sync/releases/tag/v1.3.8 (CNA: GitHub_M; x_refsource_MISC)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-141553; retrieved 2026-12-02; source updated 2026-12-02

Revision: 56361f5b2e50a6f07a4dd85c3822865891f086f484d1dfa9b792fd6b55b300f6

Canonical: https://y2.dev/cve/CVE-2026-141553

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.