{"description":"Trending threats, MITRE ATT\u0026CK coverage, and detection metadata. Fed continuously.","feed_url":"https://feed.craftedsignal.io/products/proot-distro/feed.json","home_page_url":"https://feed.craftedsignal.io/","items":[{"_cs_actors":[],"_cs_cpes":[],"_cs_cves":[],"_cs_exploited":false,"_cs_has_poc":false,"_cs_poc_references":[],"_cs_products":["proot-distro"],"_cs_severities":["high"],"_cs_tags":["container-isolation","sandbox-escape","privilege-escalation","android"],"_cs_type":"advisory","_cs_vendors":["Termux"],"content_html":"\u003cp\u003eThe proot-distro utility, commonly used within the Termux environment on Android, contains a critical flaw in its \u003ccode\u003erestore\u003c/code\u003e command. The vulnerability arises from improper validation of hardlink entries within backup archives. When processing an archive, the utility resolves the \u003ccode\u003elinkname\u003c/code\u003e from the archive metadata to identify the source path for hardlinks. While the implementation enforces path traversal protections to ensure files remain within the general containers directory, it fails to verify that the source container specified in the hardlink matches the destination container being restored.\u003c/p\u003e\n\u003cp\u003eThis logic error enables an attacker to construct a malicious tar archive that maps hardlinks to arbitrary files in any other installed container. By convincing a user to restore such an archive, an attacker can disclose sensitive data, such as SSH keys or API credentials, from a victim container or inject malicious files into a target container. The vulnerability affects proot-distro version 5.1.5 and is tracked as CVE-2026-54727.\u003c/p\u003e\n\u003ch2 id=\"attack-chain\"\u003eAttack Chain\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eAttacker creates a target victim container using \u003ccode\u003eproot-distro install\u003c/code\u003e to establish the filesystem structure.\u003c/li\u003e\n\u003cli\u003eAttacker prepares a malicious archive file using the \u003ccode\u003etarfile\u003c/code\u003e Python module to define hardlink metadata.\u003c/li\u003e\n\u003cli\u003eAttacker sets the \u003ccode\u003elinkname\u003c/code\u003e attribute of the hardlink to reference sensitive files inside the victim's container path (e.g., \u003ccode\u003e/root/.ssh/id_rsa\u003c/code\u003e).\u003c/li\u003e\n\u003cli\u003eAttacker maps the source path of the hardlink to a location inside the attacker's own container or a globally readable directory.\u003c/li\u003e\n\u003cli\u003eAttacker lures the target user into executing \u003ccode\u003eproot-distro restore\u003c/code\u003e using the malicious archive.\u003c/li\u003e\n\u003cli\u003eThe \u003ccode\u003erestore\u003c/code\u003e command processes the hardlink entries, resolving the cross-container reference due to lack of validation.\u003c/li\u003e\n\u003cli\u003eAttacker accesses the victim's sensitive data now mirrored within the attacker-controlled container filesystem.\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch2 id=\"impact\"\u003eImpact\u003c/h2\u003e\n\u003cp\u003eSuccessful exploitation allows for complete cross-container information disclosure and arbitrary file injection between containers on the same Android host. This impacts the confidentiality and integrity of all user-defined containers within a Termux environment. Attackers can exfiltrate SSH private keys, configuration secrets, database contents, and API credentials, or plant malicious scripts into other containers that may be executed by the victim at a later time.\u003c/p\u003e\n\u003ch2 id=\"recommendation\"\u003eRecommendation\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eUpgrade proot-distro to the latest version once the maintainers provide a patch addressing the missing container boundary check.\u003c/li\u003e\n\u003cli\u003eImplement the logic provided in the brief's \u0026quot;Proposed Fix\u0026quot; to verify that the \u003ccode\u003elink_container\u003c/code\u003e strictly matches the \u003ccode\u003econtainer_name\u003c/code\u003e during restore operations.\u003c/li\u003e\n\u003cli\u003eAvoid restoring backup archives obtained from untrusted or unverified sources within the Termux environment.\u003c/li\u003e\n\u003cli\u003eAudit existing container configurations for any unexpected files created by previous restore operations.\u003c/li\u003e\n\u003c/ol\u003e\n","date_modified":"2026-07-29T16:42:42Z","date_published":"2026-07-29T16:42:42Z","id":"https://feed.craftedsignal.io/briefs/2026-07-proot-distro-isolation-bypass/","summary":"The proot-distro package fails to validate container boundaries during the restoration of archive files, allowing attackers to perform cross-container file disclosure and injection.","title":"Proot-Distro Container Isolation Bypass via Crafted Restore Archive","url":"https://feed.craftedsignal.io/briefs/2026-07-proot-distro-isolation-bypass/"}],"language":"en","title":"CraftedSignal Threat Feed - Proot-Distro","version":"https://jsonfeed.org/version/1.1"}