{"id":"CVE-2026-54574","published":"2026-07-29T16:32:15Z","modified":"2026-07-29T19:24:47Z","title":"`proot-distro install` has a Symlink Escape (Arbitrary Host File Write) via Malicious Tar Archive","vendor":"termux","product":"proot-distro","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00214,"percentile":0.12052,"provenance":"source"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"references":[{"url":"https://github.com/termux/proot-distro/security/advisories/GHSA-9xq3-3fqg-4vg7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/termux/proot-distro/commit/a96d7a9667f38e45d812614852ee3915d1c0ae45","tags":["x_refsource_MISC"]},{"url":"https://github.com/termux/proot-distro/releases/tag/v5.1.5","tags":["x_refsource_MISC"]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":2.41},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"termux","affectedVersions":[{"vendor":"termux","product":"proot-distro","versions":["< 5.1.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-29T19:13:59.275417Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"proot-distro","vulnerableRanges":["<5.1.5"],"patched":["5.1.5"],"from":["GHSA-9xq3-3fqg-4vg7","PYSEC-2026-3608"],"provenance":"source"}],"summary":{"text":"The proot-distro utility from termux has a flaw in its install command, where the plain tarball and Docker layer extraction paths do not validate symlink targets inside archives. An attacker who can get a user to install a crafted root filesystem archive can use an absolute host-path symlink to write files outside the container onto the host, which requires local access and the victim's action to install the malicious archive.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:48Z"},"euvd":{"id":"EUVD-2026-50408","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-termux-proot-distro-cve-2026-54574","children":[{"from":"CVE-2026-54574","to":"CVE-2026-54727","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:proot-distro","fromFixed":"5.1.5","toFixed":"5.1.6","daysApart":0},{"kind":"same-code","provenance":"machine","files":["proot_distro/commands/restore.py"],"commits":["https://github.com/termux/proot-distro/commit/a96d7a9667f38e45d812614852ee3915d1c0ae45","https://github.com/termux/proot-distro/commit/98aff324b7d8500ff75a8ca9ac087ee636be4716"],"basis":"shared function","functions":["_check_bare_root"]},{"kind":"similar","provenance":"machine","score":0.48,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-54574","published":"2026-07-29","fixed":"5.1.5","kev":false},{"cve":"CVE-2026-54727","published":"2026-07-29","fixed":"5.1.6","kev":false}],"package":"PyPI:proot-distro"}}