The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-62596

CVE-2025-62596: Youki Container Runtime Privilege Escalation

CVE-2025-62596 is a privilege escalation vulnerability in Youki container runtime affecting versions 0.5.6 and below. Flawed apparmor handling allows unintended procfs writes. This article covers technical details, impact, and mitigation.

Published: March 31, 2026

CVE-2025-62596 Overview

CVE-2025-62596 is a race condition vulnerability in Youki, a container runtime written in Rust. The vulnerability exists in Youki's AppArmor handling implementation, which performs insufficiently strict write-target validation. When combined with path substitution during pathname resolution, this flaw can allow writes to unintended procfs locations.

The vulnerability manifests through a TOCTOU (Time-of-Check Time-of-Use) race condition where a shared-mount race can substitute intermediate path components during component-by-component path resolution, ultimately redirecting the final target to an unintended location within the procfs filesystem.

Critical Impact

Attackers with local access could potentially leverage this race condition to escape container isolation boundaries by writing to arbitrary procfs locations, potentially compromising container security guarantees.

Affected Products

  • youki-dev youki versions 0.5.6 and below
  • Youki container runtime for Rust environments
  • Systems using Youki with AppArmor security profiles

Discovery Timeline

  • 2025-11-06 - CVE CVE-2025-62596 published to NVD
  • 2025-11-10 - Last updated in NVD database

Technical Details for CVE-2025-62596

Vulnerability Analysis

This vulnerability stems from improper symlink handling (CWE-61) in the AppArmor path validation logic within Youki. The container runtime resolves file paths component-by-component, which creates a window of opportunity for attackers to exploit a shared-mount race condition.

During the path resolution process, after the initial security validation occurs but before the final write operation completes, an attacker can substitute intermediate path components. This substitution redirects the write operation to an unintended procfs location, effectively bypassing the intended security constraints of the AppArmor profile.

The attack requires local access and depends on precise timing to exploit the race window during path resolution. Successful exploitation could allow a containerized process to write to procfs entries outside its intended scope, potentially affecting container isolation and host security.

Root Cause

The root cause is insufficient write-target validation in the AppArmor handling code combined with a non-atomic path resolution mechanism. The path resolution process validates each component sequentially rather than resolving the entire path atomically, creating a TOCTOU window. When shared mounts are present, an attacker can race to substitute a path component between validation and use, redirecting writes to unintended procfs locations.

Attack Vector

This is a local attack vector requiring privileged local access within a container environment. The attacker must be able to:

  1. Execute code within a container managed by the vulnerable Youki runtime
  2. Create or manipulate shared mounts to exploit the race condition
  3. Time the path substitution to occur during the vulnerable window between path validation and actual file write operations

The attack targets the procfs filesystem, which provides an interface to kernel data structures and is critical for container isolation mechanisms.

The security patch introduces the pathrs library (version 0.2.1) to provide secure path joining operations:

text
 [dependencies]
 nix = { version = "0.29.0", features = ["signal", "user", "fs"] }
 procfs = "0.17.0"
+pathrs = "0.2.1"
 oci-spec = { version = "~0.8.3", features = ["runtime"] }
 fixedbitset = "0.5.7"
 serde = { version = "1.0", features = ["derive"] }

Source: GitHub Commit

Detection Methods for CVE-2025-62596

Indicators of Compromise

  • Unexpected writes to procfs entries from containerized processes
  • Anomalous shared mount creation or manipulation within container namespaces
  • Unusual timing patterns in AppArmor-related syscalls indicating race condition attempts
  • Container processes accessing procfs paths outside their expected scope

Detection Strategies

  • Monitor for rapid, repeated attempts to write to procfs locations from containerized processes
  • Implement syscall auditing for mount-related operations within container namespaces
  • Deploy file integrity monitoring on critical procfs entries
  • Review AppArmor denial logs for patterns indicating exploitation attempts

Monitoring Recommendations

  • Enable detailed auditing of mount namespace operations in container environments
  • Configure runtime security tools to alert on procfs write attempts from containers
  • Implement container runtime logging to capture path resolution activities
  • Deploy SentinelOne Singularity for real-time detection of container escape attempts and race condition exploitation patterns

How to Mitigate CVE-2025-62596

Immediate Actions Required

  • Upgrade Youki to version 0.5.7 or later immediately
  • Audit container environments for any signs of exploitation
  • Review AppArmor profiles for containers using affected Youki versions
  • Consider temporarily restricting shared mount capabilities in high-risk environments

Patch Information

The vulnerability is fixed in Youki version 0.5.7. The patch introduces the pathrs library to provide secure, race-free path resolution. The fix ensures atomic path validation that cannot be subverted by shared-mount race conditions.

Review the GitHub Security Advisory GHSA-vf95-55w6-qmrf for complete technical details. The specific fix is available in commit 5886c91073b9be748bd8d5aed49c4a820548030a.

Workarounds

  • Restrict or disable shared mount capabilities for containers where feasible
  • Implement additional AppArmor rules to strictly limit procfs access
  • Use alternative container runtimes (such as runc or crun) until upgrade is possible
  • Enable enhanced runtime security monitoring to detect exploitation attempts
bash
# Verify Youki version and upgrade if needed
youki --version
# Expected output should show 0.5.7 or later

# Update Youki via cargo if using Rust toolchain
cargo install youki --version ">=0.5.7"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechYouki

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-61
  • Technical References
  • GoDoc Secure Join Documentation

  • YouTube Security Video

  • YouTube Security Explainer
  • Vendor Resources
  • GitHub Commit Change

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-62161: Youki Container Runtime Escape Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English