CVE-2026-86046
CVE-2026-86046 · termux-sync: Arbitrary file write during restore via attacker-controlled manifest source path
CVSS 7.1 · High · EPSS 0.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- termux-syncNo fix published
- termux-sync PyPIUpdate to 1.2.4
Check the installed version:
pip show termux-syncAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: python
Affected products and versions
termux-sync
- Versions
- < 1.2.4: Affected
No fix published
termux-sync PyPI
- Versions
- 1.1.0
- 1.1.1
- 1.1.2
- 1.2.0
- 1.2.1
- 1.2.2
All versions (7)
- 1.2.3
- Affected ranges
- ECOSYSTEM: < 1.2.4
Update to 1.2.4