A high-severity vulnerability tracked as CVE-2026-54727 affected proot-distro versions earlier than 5.1.6, allowing a crafted restore archive to bypass container isolation in Termux. The flaw was in the restore process for TAR hardlinks: the tool verified that links stayed within the broader containers directory, but did not ensure the hardlink source belonged to the same container being restored. As a result, a malicious archive could create links into another installed container's rootfs owned by the same user and copy or expose files across otherwise isolated environments.
Reports also described a second weakness in names.py, where use of the Python regex anchor $ instead of \Z allowed trailing newline characters in container names, creating potential command-injection or filesystem-confusion risks. The issue was classified as CWE-668 with CVSS v3.1 AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N, and maintainers fixed it in proot-distro 5.1.6 by rejecting hardlinks whose source container does not match the restore target and tightening container-name validation.

See affected versions and whether adversaries are exploiting it.
1 event from the most recent confirmed update back to the earliest known activity.
A vulnerability in proot-distro's restore functionality allowed crafted archives with hardlinks to copy files between otherwise isolated containers. The issue was fixed in proot-distro version 5.1.6, which added checks to skip hardlinks when the source container does not match the restore target and tightened container-name validation.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
2 references tracked. Mallory keeps watching after this page renders.
cvefeed.io
Open sourcecvereports.com
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.