{"id":"CVE-2025-62596","aliases":["GHSA-vf95-55w6-qmrf"],"url":"https://o3.security/vulnerability/CVE-2025-62596","summary":"youki container escape and denial of service due to arbitrary write gadgets and procfs write redirects","details":"### Impact ###\n\nyouki’s apparmor handling performs insufficiently strict write-target validation, which—combined with path substitution during pathname resolution—can allow writes to unintended procfs locations.\n\n**Weak write-target check**\nyouki only verifies that the destination lies somewhere under procfs. As a result, a write intended for `/proc/self/attr/apparmor/exec` can succeed even if the path has been redirected to `/proc/sys/kernel/hostname`(which is also in procfs).\n\n**Path substitution**\nWhile resolving a path component-by-component, a shared-mount race can substitute intermediate components and redirect the final target.\n\nThis is a different project, but the core logic is similar to the CVE in runc. Issues were identified in runc, and verification was also conducted in youki to confirm the problems.\nhttps://github.com/opencontainers/runc/security/advisories/GHSA-cgrx-mc8f-2prm\n\n### Credits ###\n\nThanks to Li Fubang (@lifubang from acmcoder.com, CIIC) and Tõnis Tiigi (@tonistiigi from Docker) for both independently discovering runc's original vulnerability, as well as Aleksa Sarai (@cyphar from SUSE) for the original research into this class of security issues and solutions.","published":"2025-11-05T23:14:37.167Z","modified":"2026-08-12T03:51:13.753696986Z","cvss":null,"epss":{"score":0.00249,"percentile":0.15978,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"youki","fixedVersion":"0.5.7"}],"fix":{"url":"https://github.com/youki-dev/youki/commit/5886c91073b9be748bd8d5aed49c4a820548030a","label":"youki-dev/youki@5886c91"},"references":[{"type":"WEB","url":"https://pkg.go.dev/github.com/cyphar/filepath-securejoin/pathrs-lite/procfs"},{"type":"WEB","url":"https://youtu.be/tGseJW_uBB8"},{"type":"WEB","url":"https://youtu.be/y1PaBzxwRWQ"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62596.json"},{"type":"ADVISORY","url":"https://github.com/youki-dev/youki/security/advisories/GHSA-vf95-55w6-qmrf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62596"},{"type":"FIX","url":"https://github.com/youki-dev/youki/commit/5886c91073b9be748bd8d5aed49c4a820548030a"},{"type":"WEB","url":"https://github.com/opencontainers/runc/security/advisories/GHSA-cgrx-mc8f-2prm"},{"type":"PACKAGE","url":"https://github.com/youki-dev/youki"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:13.753696986Z"}}