CVE-2026-54574: CWE-61: UNIX Symbolic Link (Symlink) Following in termux proot-distro
A high-severity vulnerability (CVE-2026-54574) affects the termux proot-distro utility prior to version 5.1.5. The issue involves improper validation of symbolic link targets in tarball and Docker layer extraction functions, allowing a malicious archive to create absolute symlinks pointing to the host filesystem. This can enable an attacker to write files onto the host system through these symlinks. The vulnerability is fixed in version 5.1.5.
AI Analysis
Technical Summary
The termux proot-distro utility, used for managing proot containers, contains a symbolic link following vulnerability (CWE-61) in versions before 5.1.5. Specifically, the functions _extract_plain_tar() and _apply_layer() do not validate symlink targets in archive members, permitting malicious archives to plant absolute symlinks that reference host paths. This flaw allows an attacker to write arbitrary files onto the host filesystem by exploiting these symlinks. The vulnerability has a CVSS 3.1 base score of 8.2, indicating high severity. The issue is resolved in proot-distro version 5.1.5.
Potential Impact
Successful exploitation allows an attacker with local access and user interaction to write arbitrary files onto the host filesystem via maliciously crafted symlinks in extracted archives. This can lead to complete compromise of confidentiality and integrity of the host system's data. Availability impact is not indicated. The vulnerability requires local access and user interaction but has low attack complexity and no privileges required.
Mitigation Recommendations
Upgrade proot-distro to version 5.1.5 or later, where the vulnerability is fixed. No other official remediation or temporary fixes are documented. Until upgrading, avoid extracting untrusted tarball root filesystems or Docker layers using vulnerable versions of proot-distro.
CVE-2026-54574: CWE-61: UNIX Symbolic Link (Symlink) Following in termux proot-distro
Description
A high-severity vulnerability (CVE-2026-54574) affects the termux proot-distro utility prior to version 5.1.5. The issue involves improper validation of symbolic link targets in tarball and Docker layer extraction functions, allowing a malicious archive to create absolute symlinks pointing to the host filesystem. This can enable an attacker to write files onto the host system through these symlinks. The vulnerability is fixed in version 5.1.5.
CVSS v3.1
Score 8.2high
Affected software
pkg:github/termux/proot-distroRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The termux proot-distro utility, used for managing proot containers, contains a symbolic link following vulnerability (CWE-61) in versions before 5.1.5. Specifically, the functions _extract_plain_tar() and _apply_layer() do not validate symlink targets in archive members, permitting malicious archives to plant absolute symlinks that reference host paths. This flaw allows an attacker to write arbitrary files onto the host filesystem by exploiting these symlinks. The vulnerability has a CVSS 3.1 base score of 8.2, indicating high severity. The issue is resolved in proot-distro version 5.1.5.
Potential Impact
Successful exploitation allows an attacker with local access and user interaction to write arbitrary files onto the host filesystem via maliciously crafted symlinks in extracted archives. This can lead to complete compromise of confidentiality and integrity of the host system's data. Availability impact is not indicated. The vulnerability requires local access and user interaction but has low attack complexity and no privileges required.
Mitigation Recommendations
Upgrade proot-distro to version 5.1.5 or later, where the vulnerability is fixed. No other official remediation or temporary fixes are documented. Until upgrading, avoid extracting untrusted tarball root filesystems or Docker layers using vulnerable versions of proot-distro.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T19:15:27.343Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6a69eb9c2644c7f8094925
Added to database: 07/29/2026, 21:00:27 UTC
Last enriched: 07/29/2026, 21:01:41 UTC
Last updated: 07/29/2026, 22:00:47 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.