CVE-2026-54574 Details
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.
A vulnerability in proot-distro, a tool for managing proot containers, allows for arbitrary file writes on the host filesystem. This issue affects versions through 5.1.4. The vulnerability arises because the application extracts tarball root filesystems and Docker layers without properly validating symlink targets. A malicious archive can create a symlink pointing to an absolute host path, which is then followed during extraction, writing files onto the host. The flaw is present in the '_extract_plain_tar' function of 'proot_distro/commands/install.py' and the '_apply_layer' function in 'proot_distro/helpers/docker.py'.
Users can update to proot-distro version 5.1.5 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 29, 2026CISA-ADP
Assessed Jul 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/termux/proot-distro/security/advisories/GHSA-9xq3-3fqg-4vg7 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/termux/proot-distro/commit/a96d7a9667f38e45d812614852ee3915d1c0ae45 | [email protected] | Source CodeVendor |
| https://github.com/termux/proot-distro/releases/tag/v5.1.5 | [email protected] | Release NotesVendor |
| https://github.com/termux/proot-distro/security/advisories/GHSA-9xq3-3fqg-4vg7 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-61 | UNIX Symbolic Link (Symlink) Following | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Termux proot-distro | <= 5.1.4 (semver) 5.0.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 29, 2026 | CVE Modified | CISA-ADP |
| Jul 29, 2026 | New CVE Received | [email protected] |
Volerion