# CVE-2025-62161: youki container escape via "masked path" abuse due to mount race conditions

Source: https://junglewise.ai/threats/cve-2025-62161-youki-container-escape-via-masked-path-abuse-due-to-mount-race  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-11-06  
License: CC BY 4.0 with a link back

CVE-2025-62161 · Severity: critical · CVSS 10 · Published 2025-11-06

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.

Technologies: [youki (crates.io)](https://junglewise.ai/threats/technologies/youki). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2025-62161 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-62161 being exploited in the wild.

**How severe is CVE-2025-62161?** Critical severity, with a CVSS score of 10, published 6 November 2025.

**Which products and versions are affected?** youki (crates.io) SEMVER:introduced=0,fixed=0.5.7.

**Is there a fix for CVE-2025-62161?** Yes. youki (crates.io): upgrade to 0.5.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-62161?** Check whether you run youki (crates.io) or Youki-Dev Youki at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- youki (crates.io): upgrade to 0.5.7 or later

  ```sh
  cargo update -p youki
  ```


## Affected products

- youki (crates.io) SEMVER:introduced=0,fixed=0.5.7
- Youki-Dev Youki

## Identifiers

- CVE-2025-62161
- GHSA-4g74-7cff-xcv8

## Related threats

- [youki container escape and denial of service due to arbitrary write gadgets and procfs write redirects](https://junglewise.ai/threats/cve-2025-62596-youki-container-escape-and-denial-of-service-due-to-arbitrary)
- [Youki: If /proc and /sys in the rootfs are symbolic links, they can potentially be exploited to gain access to the host root filesystem.](https://junglewise.ai/threats/cve-2025-54867-youki-if-proc-and-sys-in-the-rootfs-are-symbolic-links-they-can)
