Skip to content
OpenAdvisories
High · 8.2 CVE-2026-54574 EUVD-2026-50408GHSA-9xq3-3fqg-4vg7PYSEC-2026-3608

`proot-distro install` has a Symlink Escape (Arbitrary Host File Write) via Malicious Tar Archive

Published Jul 29, 2026 · Updated Jul 29, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
termux proot-distro < 5.1.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI proot-distro < 5.1.5 5.1.5 GHSA-9xq3-3fqg-4vg7

References