Skip to content

termux-sync

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

CVE-2026-86046Published 16 Nov 2026, 17:05 UTC

Real-world risk

2.1/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.1

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

termux-sync is an open source tool for backing up and restoring a Termux environment across devices. Prior to 1.2.4, termux-sync restore uses the parent directory of the untrusted manifest.json files.*.source value as an extraction destination, and extract_archive calls tarfile.extract on archive members without enforcing a destination boundary. A victim who restores a malicious or tampered backup from local, shared, GitHub, or Google Drive storage can have files written anywhere the Termux user can write, including shell startup files or executable scripts that can lead to code execution when later used. The restore path also accepts unsafe backup_name values for temporary paths, and archive members are not constrained to the intended destination. This issue is fixed in version 1.2.4.

Am I affected?

ProductAffected versions (from the sources)Fixed in
termux-syncNiche< 1.2.41.2.4

What to do

Update to a fixed version: 1.2.4.

Why this score

FactorValueEvidence×
ImpactMajor data tamperingWrites or changes important data without gaining executionFrom the CVSS vector0.70
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.3% chance of exploitation in 30 days (percentile 20), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.350
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.7 × prerequisites 0.35 × threat 0.852.082
  4. Rounded to one decimal between 0.1 and 102.1

How the score works

Exploitation and evidence timeline

  1. 16 Nov 2026 Published
  2. 3 Dec 2026 Risk 2.1 (cvss fallback)

Weakness

CWE-22

References

Get alerts for termux-sync

Free email or text alerts when a vulnerability in termux-sync reaches risk 8 or higher. Nothing else.