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.
Published: 2026-07-29
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw in proot-distro allows an attacker to supply a malicious tar archive that, when extracted or applied as a Docker layer, creates a symlink with an absolute host path. Because the software does not validate the symlink target, the extracted content can be written outside the intended container root, overwriting or creating arbitrary files on the host file system. This leads to loss of confidentiality, integrity, and potential remote execution if system configuration files or executables are altered. The weakness is classified as CWE‑61, a classic path traversal via symlink.

Affected Systems

Termux Proot‑distro utility, version 5.1.4 and earlier. The vulnerability was fixed in release 5.1.5.

Risk and Exploitability

The CVSS score of 8.2 indicates high severity. The EPSS score of less than 1% suggests exploitation is unlikely but still possible, especially in environments where users install untrusted tar archives with proot‑distro. The vulnerability is not listed in the CISA KEV catalog. The attack vector is local; an attacker must run the vulnerable exector (e.g., proot‑distro install) on the target machine. No network or remote exploitation is described by the available data.

Generated by OpenCVE AI on August 2, 2026 at 07:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the proot‑distro tool to version 5.1.5 or newer; this removal eliminates the symlink validation flaw.
  • Recreate or delete any containers that were imported via proot‑distro install before the patch, checking the host file system for unexpected files that may have been written through forged symlinks.
  • Restrict use of proot‑distro install to trusted archives only, and pre‑validate tar contents (e.g., inspect linkname fields) before extraction or use an alternative container tool that verifies symlink targets.

Generated by OpenCVE AI on August 2, 2026 at 07:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-9xq3-3fqg-4vg7 `proot-distro install` has a Symlink Escape (Arbitrary Host File Write) via Malicious Tar Archive
History

Thu, 30 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Termux
Termux proot-distro
Vendors & Products Termux
Termux proot-distro

Wed, 29 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title `proot-distro install` has a Symlink Escape (Arbitrary Host File Write) via Malicious Tar Archive
Weaknesses CWE-61
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N'}


Subscriptions

Termux Proot-distro
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-29T19:24:47.953Z

Reserved: 2026-06-15T19:15:27.343Z

Link: CVE-2026-54574

cve-icon Vulnrichment

Updated: 2026-07-29T19:15:29.505Z

cve-icon NVD

Status : Deferred

Published: 2026-07-29T17:16:52.743

Modified: 2026-07-30T20:07:01.330

Link: CVE-2026-54574

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T08:00:04Z

Weaknesses
  • CWE-61

    UNIX Symbolic Link (Symlink) Following