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-52881

CVE-2025-52881: Runc Race Condition Vulnerability

CVE-2025-52881 is a race condition vulnerability in Linuxfoundation runc that allows attackers to misdirect writes to /proc files through racing containers. This article covers technical details, affected versions, and mitigation.

Updated: March 12, 2026

CVE-2025-52881 Overview

CVE-2025-52881 is a symlink attack vulnerability affecting runc, a CLI tool for spawning and running containers according to the OCI specification. This vulnerability allows an attacker to trick runc into misdirecting writes to /proc to other procfs files through the use of a racing container with shared mounts. The attack has been verified as exploitable using a standard Dockerfile with docker buildx build, which permits triggering parallel execution of containers with custom shared mounts configured.

Critical Impact

Attackers can exploit race conditions in containers with shared mounts to redirect procfs writes, potentially manipulating container runtime behavior and bypassing security controls. This is a bypass of the prior mitigation for CVE-2019-19921.

Affected Products

  • Linux Foundation runc version 1.2.7
  • Linux Foundation runc version 1.3.2
  • Linux Foundation runc version 1.4.0-rc.1 and 1.4.0-rc.2

Discovery Timeline

  • November 6, 2025 - CVE-2025-52881 published to NVD
  • December 3, 2025 - Last updated in NVD database

Technical Details for CVE-2025-52881

Vulnerability Analysis

This vulnerability represents a Time-of-Check Time-of-Use (TOCTOU) race condition in runc's handling of procfs writes when containers share mount namespaces. The flaw enables an attacker to redirect writes intended for /proc to other procfs files by exploiting the timing window between when runc validates a path and when it performs the actual write operation.

The attack leverages symbolic links in a tmpfs or potentially other methods such as regular bind-mounts to achieve the redirection. While related to CVE-2019-19921, which addressed similar procfs manipulation concerns, the mitigation applied for that vulnerability was fairly limited. The prior fix effectively only caused runc to verify that when LSM (Linux Security Module) labels are written, they are actually procfs files—but did not fully address the underlying race condition that enables path manipulation during concurrent container execution.

Root Cause

The vulnerability stems from insufficient validation of procfs file paths during concurrent container operations with shared mounts. When containers execute in parallel with shared mount configurations, runc fails to properly verify that the target of /proc writes remains unchanged between the time of validation and the time of actual write. This allows symbolic links or bind-mounts to redirect the write to arbitrary procfs locations.

Attack Vector

The attack requires local access and leverages containers with shared mount namespaces. An attacker creates a racing container that manipulates the target of /proc writes through:

  1. Setting up a container with shared mounts configured
  2. Creating symbolic links in a tmpfs filesystem pointing to target procfs files
  3. Timing the symlink creation to coincide with runc's procfs write operations
  4. Exploiting the TOCTOU window to redirect writes to unintended locations

The attack is notably exploitable through standard Docker workflows using docker buildx build, which allows triggering parallel execution of containers with custom shared mounts.

Detection Methods for CVE-2025-52881

Indicators of Compromise

  • Unexpected symbolic links appearing in tmpfs mounts within container filesystems
  • Unusual write patterns to /proc files during container build or runtime operations
  • Evidence of parallel container execution with non-standard shared mount configurations
  • Anomalous changes to procfs files that should not be writable from container contexts

Detection Strategies

  • Monitor for symlink creation events in tmpfs mounts associated with container operations
  • Implement file integrity monitoring on sensitive procfs paths that may be targeted
  • Audit container configurations for non-standard shared mount declarations
  • Review docker buildx build logs for suspicious parallel execution patterns

Monitoring Recommendations

  • Enable audit logging for mount namespace operations and procfs file modifications
  • Deploy runtime security tools capable of detecting TOCTOU race conditions in container environments
  • Implement behavioral analysis to identify unusual timing patterns in container execution
  • Monitor for attempts to create bind-mounts or symlinks targeting procfs paths during container builds

How to Mitigate CVE-2025-52881

Immediate Actions Required

  • Upgrade runc to patched versions: 1.2.8, 1.3.3, or 1.4.0-rc.3 immediately
  • Audit existing container configurations for unnecessary shared mount declarations
  • Disable or restrict the use of docker buildx build with untrusted Dockerfiles until patched
  • Implement network segmentation to limit exposure of container build environments

Patch Information

The vulnerability is fixed in runc versions 1.2.8, 1.3.3, and 1.4.0-rc.3. Multiple commits address this issue across different branches. Key patches are available through the GitHub Security Advisory. Organizations should prioritize updating to the patched version corresponding to their current release branch.

Workarounds

  • Disable shared mounts between containers where not strictly required
  • Avoid building containers from untrusted Dockerfiles that may exploit parallel execution
  • Implement additional LSM policies (AppArmor/SELinux) to restrict procfs access patterns
  • Consider using alternative container build tools that do not enable parallel container execution with shared mounts
bash
# Check current runc version
runc --version

# Verify patched version is installed (should be 1.2.8, 1.3.3, or 1.4.0-rc.3+)
# Update runc using package manager (example for apt-based systems)
sudo apt update && sudo apt install runc

# For systems using containerd
sudo apt install containerd.io

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechRunc

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.04%

  • 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
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Change

  • GitHub Release Notes v1.4.0-rc.2

  • GitHub Commit Update

  • GitHub Commit Change

  • GitHub Commit Change

  • GitHub Commit Update

  • GitHub Commit Change

  • GitHub Commit Update

  • GitHub Commit Change

  • GitHub Commit Update

  • GitHub Commit Change

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Change

  • GitHub Commit Change

  • GitHub Commit Update

  • GitHub Commit Change

  • GitHub Security Advisory GHSA-9493-h29p-rfm2

  • GitHub Security Advisory GHSA-cgrx-mc8f-2prm
  • Related CVEs
  • CVE-2024-45310: Linuxfoundation Runc Race Condition Flaw

  • CVE-2025-52565: Linux Foundation runc DoS Vulnerability

  • CVE-2023-28642: Linuxfoundation Runc Auth Bypass Flaw

  • CVE-2024-21626: Runc Container 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