Description
proot-distro is a utility for managing proot containers. Prior to version 5.1.6, proot-distro restore accepted hardlink entries whose linkname referenced another installed container and did not verify that the hardlink source container matched the destination container being restored, allowing a crafted restore archive to copy files between otherwise isolated containers. This issue is fixed in version 5.1.6.
Published: 2026-07-29
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A crafted restore archive can exploit proot-distro's legacy restore function, which accepts hardlink entries that reference another installed container without verifying that the source container matches the destination being restored. The result is that files can be copied between otherwise isolated containers, enabling an attacker to read or modify data in a container they should not have access to. The vulnerability is a classic example of CWE‑668, where resource manipulation allows information exposure.

Affected Systems

The issue affects all releases of the Termux proot-distro utility prior to version 5.1.6. Users running any of those versions on systems where multiple proot containers are managed are potentially exposed.

Risk and Exploitability

The CVSS score of 8.2 classifies the flaw as high severity, while the EPSS figure of less than 1 % indicates a low current exploitation probability. It is not listed in CISA's KEV catalog. The flaw can be abused locally when an attacker can supply a crafted restore archive to the vulnerable proot‑distro restore process; no network exposure or privilege escalation is required beyond control of the restore command. Consequently, the risk is significant but largely confined to environments that use the vulnerable restore feature.

Generated by OpenCVE AI on August 3, 2026 at 13:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade proot‑distro to version 5.1.6 or later, which removes the hardlink checking flaw.
  • If an upgrade is not yet possible, limit the ability to run the restore command to trusted users or disable the restore feature entirely in production containers.
  • Review and harden container boundaries by ensuring that shared volumes are appropriately secured and that mount points are not writable by untrusted processes, which mitigates the impact of a potential future hardlink‑based attack.

Generated by OpenCVE AI on August 3, 2026 at 13:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-7h3g-4w2f-fj2f proot-distro has a Container Isolation Bypass via Crafted Restore 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 18: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 17:15:00 +0000

Type Values Removed Values Added
Description proot-distro is a utility for managing proot containers. Prior to version 5.1.6, proot-distro restore accepted hardlink entries whose linkname referenced another installed container and did not verify that the hardlink source container matched the destination container being restored, allowing a crafted restore archive to copy files between otherwise isolated containers. This issue is fixed in version 5.1.6.
Title proot-distro has a Container Isolation Bypass via Crafted Restore Archive
Weaknesses CWE-668
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-29T18:07:46.535Z

Reserved: 2026-06-15T23:07:33.232Z

Link: CVE-2026-54727

cve-icon Vulnrichment

Updated: 2026-07-29T18:07:43.662Z

cve-icon NVD

Status : Deferred

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

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

Link: CVE-2026-54727

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T13:15:05Z

Weaknesses
  • CWE-668

    Exposure of Resource to Wrong Sphere