CVE-2025-62596
youki container escape and denial of service due to arbitrary write gadgets and procfs write redirects
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
Description
Youki is a container runtime written in Rust. In versions 0.5.6 and below, youki’s apparmor handling performs insufficiently strict write-target validation, and when combined with path substitution during pathname resolution, can allow writes to unintended procfs locations. While resolving a path component-by-component, a shared-mount race can substitute intermediate components and redirect the final target. This issue is fixed in version 0.5.7.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| cargo::GitHub Security Advisory Rust | youki | 0.5.7 |
References
- https://github.com/opencontainers/runc/security/advisories/GHSA-cgrx-mc8f-2prm
- https://github.com/youki-dev/youki
- https://github.com/youki-dev/youki/commit/5886c91073b9be748bd8d5aed49c4a820548030a
- https://github.com/youki-dev/youki/security/advisories/GHSA-vf95-55w6-qmrf
- https://nvd.nist.gov/vuln/detail/CVE-2025-62596
- https://pkg.go.dev/github.com/cyphar/filepath-securejoin/pathrs-lite/procfs
- https://youtu.be/tGseJW_uBB8
- https://youtu.be/y1PaBzxwRWQ