CVE-2025-62161
youki container escape via "masked path" abuse due to mount race conditions
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, the initial validation of the source /dev/null is insufficient, allowing container escape when youki utilizes bind mounting the container's /dev/null as a file mask. 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-9493-h29p-rfm2
- https://github.com/youki-dev/youki
- https://github.com/youki-dev/youki/commit/5886c91073b9be748bd8d5aed49c4a820548030a
- https://github.com/youki-dev/youki/security/advisories/GHSA-4g74-7cff-xcv8
- https://nvd.nist.gov/vuln/detail/CVE-2025-62161