CVE-2026-54574 `proot-distro install` has a Symlink Escape (Arbitrary Host File Write) via Malicious Tar Archive
HighCVSS 8.2
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi proot-distro(PyPI) | < 5.1.5 | 5.1.5 |
| pypi proot-distro(PyPI) | = 5.0.0 | No fix listed |
| pypi proot-distro(PyPI) | = 5.0.0b1 | No fix listed |
| pypi proot-distro(PyPI) | = 5.0.0b2 | No fix listed |
| pypi proot-distro(PyPI) | = 5.0.0b3 | No fix listed |
| pypi proot-distro(PyPI) | = 5.0.0b4 | No fix listed |
| pypi proot-distro(PyPI) | = 5.0.0b5 | No fix listed |
| pypi proot-distro(PyPI) | = 5.0.1 | No fix listed |
| pypi proot-distro(PyPI) | = 5.0.2 | No fix listed |
| pypi proot-distro(PyPI) | = 5.1.0 | No fix listed |
| pypi proot-distro(PyPI) | = 5.1.1 | No fix listed |
| pypi proot-distro(PyPI) | = 5.1.2 | No fix listed |
| pypi proot-distro(PyPI) | = 5.1.3 | No fix listed |
| pypi proot-distro(PyPI) | = 5.1.4 | No fix listed |
| termux proot-distro | = < 5.1.5 | No fix listed |
| pypi proot-distro(PyPI) | <= 5.1.4 | No fix listed |
References
- https://github.com/termux/proot-distro/security/advisories/GHSA-9xq3-3fqg-4vg7 exploit vendor-advisory
- https://github.com/termux/proot-distro/commit/a96d7a9667f38e45d812614852ee3915d1c0ae45 patch
- github.com product
- https://github.com/termux/proot-distro/releases/tag/v5.1.5
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory