CVE-2026-54574: CWE-61: UNIX Symbolic Link (Symlink) Following in termux proot-distro
proot-distro is a utility for managing proot containers. Prior to version 5.1.5, proot-distro install extracted plain tarball root filesystems through _extract_plain_tar() in proot_distro/commands/install.py and Docker layers through _apply_layer() in proot_distro/helpers/docker.py without validating archive-controlled symlink targets in member.linkname, allowing a malicious archive to plant an absolute host-path symlink and write files through it onto the host filesystem. This issue 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
proot-distro is a utility for managing proot containers. Prior to version 5.1.5, proot-distro install extracted plain tarball root filesystems through _extract_plain_tar() in proot_distro/commands/install.py and Docker layers through _apply_layer() in proot_distro/helpers/docker.py without validating archive-controlled symlink targets in member.linkname, allowing a malicious archive to plant an absolute host-path symlink and write files through it onto the host filesystem. This issue is fixed in version 5.1.5.
CVSS v3.1
Score 8.2high
Affected software
termux
proot-distro
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
Threat ID: 6a6a69eb9c2644c7f8094925
Added to database: 07/29/2026, 21:00:27 UTC
Last enriched: 07/29/2026, 21:01:41 UTC
Last updated: 09/12/2026, 10:01:31 UTC
Views: 94
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.