A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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
    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
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-31133

CVE-2025-31133: Runc Information Disclosure Vulnerability

CVE-2025-31133 is an information disclosure vulnerability in Linuxfoundation Runc allowing host information exposure and container escape through insufficient bind-mount verification. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 6, 2026

CVE-2025-31133 Overview

CVE-2025-31133 is a file system vulnerability affecting runc, the widely-used CLI tool for spawning and running containers according to the OCI specification. The vulnerability exists in runc's bind-mount verification logic, where the tool fails to properly verify that the source of a bind-mount (specifically, the container's /dev/null) is actually a legitimate /dev/null inode when using it to mask paths. This insufficient verification exposes multiple attack vectors including an arbitrary mount gadget that can lead to host information disclosure, host denial of service, container escape, or bypassing of maskedPaths security controls.

Critical Impact

This vulnerability enables attackers to potentially escape container isolation, access host system information, cause denial of service conditions, or bypass security controls designed to protect sensitive paths within containers.

Affected Products

  • linuxfoundation runc versions 1.2.7 and below
  • linuxfoundation runc versions 1.3.0-rc.1 through 1.3.1
  • linuxfoundation runc versions 1.4.0-rc.1 and 1.4.0-rc.2

Discovery Timeline

  • 2025-11-06 - CVE CVE-2025-31133 published to NVD
  • 2025-12-03 - Last updated in NVD database

Technical Details for CVE-2025-31133

Vulnerability Analysis

The vulnerability stems from a symlink following issue (CWE-61) in runc's path masking functionality within the libcontainer/rootfs_linux.go file. The maskPaths function is responsible for hiding sensitive paths within containers by bind-mounting /dev/null over them. However, the original implementation did not adequately verify that the container's /dev/null was a genuine device node before using it as a mount source.

An attacker could exploit this by replacing the container's /dev/null with a symlink or other file type pointing to an arbitrary location. When runc attempts to use this fake /dev/null to mask paths, it would instead bind-mount the attacker-controlled target, effectively creating an arbitrary mount gadget.

This flaw exposes two primary attack methods: first, an arbitrary mount gadget that allows mounting attacker-controlled content over sensitive container paths; second, a mechanism to bypass maskedPaths protections entirely, exposing paths that should be hidden from container processes.

Root Cause

The root cause is insufficient validation in the maskPaths function when using the container's /dev/null as a bind-mount source. The original code relied on error codes like ENOENT and ENOTDIR to handle edge cases, rather than proactively verifying that the source device was actually a valid /dev/null inode. The fix introduces dedicated isDevNull and verifyDevNull functions to properly validate device nodes before use, and switches to using file descriptors with /proc/self/fd/ for safer path handling.

Attack Vector

The attack requires local access to the container environment and user interaction. An attacker with the ability to manipulate files within a container could replace /dev/null with a symlink pointing to a host path or sensitive location. When runc processes the maskedPaths configuration, it would use this malicious symlink as the bind-mount source, potentially exposing host information, enabling container escape, or bypassing security controls.

go
// Security patch - Opening target path with proper validation
// Source: https://github.com/opencontainers/runc/commit/1a30a8f3d921acbbb6a4bb7e99da2c05f8d48522

 		return fmt.Errorf("can't mask paths: %w", err)
 	}
 	devNullSrc := &mountSource{Type: mountSourcePlain, file: devNull}
+	procSelfFd, closer := utils.ProcThreadSelf("fd/")
+	defer closer()
 
 	for _, path := range paths {
-		if err := mountViaFds("", devNullSrc, path, "", "", unix.MS_BIND, ""); err != nil && !errors.Is(err, os.ErrNotExist) {
+		// Open the target path; skip if it doesn't exist.
+		dstFh, err := os.OpenFile(path, unix.O_PATH|unix.O_CLOEXEC, 0)
+		if err != nil {
+			if errors.Is(err, os.ErrNotExist) {
+				continue
+			}
+			return fmt.Errorf("can't mask path %q: %w", path, err)
+		}
+
+		dstFd := filepath.Join(procSelfFd, strconv.Itoa(int(dstFh.Fd())))
+		err = mountViaFds("", devNullSrc, path, dstFd, "", unix.MS_BIND, "")
+		dstFh.Close()
+		if err != nil {
 			if !errors.Is(err, unix.ENOTDIR) {
 				return fmt.Errorf("can't mask path %q: %w", path, err)
 			}

Source: GitHub runc Commit Update 1

Detection Methods for CVE-2025-31133

Indicators of Compromise

  • Unexpected symlinks replacing /dev/null within container filesystems
  • Anomalous bind-mount operations originating from container runtime processes
  • Unusual file access patterns to sensitive host paths from containerized applications
  • Container escape attempts detected through process namespace monitoring

Detection Strategies

  • Monitor for modifications to /dev/null within container root filesystems using file integrity monitoring
  • Implement audit rules for bind-mount syscalls (mount with MS_BIND flag) from runc processes
  • Deploy runtime container security tools that detect symlink manipulation in device paths
  • Analyze container startup logs for unexpected mount operations or errors in path masking

Monitoring Recommendations

  • Enable detailed logging for container runtime operations including mount events
  • Implement SentinelOne Singularity for Cloud Workload Protection to detect container escape attempts
  • Configure alerts for any process attempting to access host paths from within container namespaces
  • Monitor runc version deployments across infrastructure to identify vulnerable installations

How to Mitigate CVE-2025-31133

Immediate Actions Required

  • Upgrade runc to patched versions: 1.2.8, 1.3.3, or 1.4.0-rc.3
  • Audit container deployments for any signs of exploitation or tampering
  • Review container runtime configurations for proper security controls
  • Implement additional container isolation measures such as seccomp profiles and AppArmor policies

Patch Information

The Linux Foundation has released security patches addressing this vulnerability. The fixes are available in runc versions 1.2.8, 1.3.3, and 1.4.0-rc.3. The patches introduce proper device node validation through new isDevNull and verifyDevNull helper functions, and improve path handling by using file descriptors via /proc/self/fd/ rather than relying on error code interpretation. For detailed technical information, refer to the GitHub Security Advisory GHSA-9493-h29p-rfm2.

Workarounds

  • Restrict container capabilities to minimize the impact of potential exploitation
  • Implement read-only root filesystems for containers where possible
  • Use user namespace isolation to limit the impact of container escapes
  • Deploy additional runtime security monitoring to detect exploitation attempts
bash
# Verify runc version and upgrade if vulnerable
runc --version

# For systems using Docker, update containerd and runc packages
apt-get update && apt-get install -y runc

# For systems using Kubernetes, update the container runtime
# Example for containerd-based installations
apt-get update && apt-get install -y containerd.io

# Verify the updated version
runc --version
# Expected: 1.2.8, 1.3.3, or 1.4.0-rc.3 or later

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechRunc

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.02%

  • 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 runc Commit Update 1

  • GitHub runc Commit Update 2

  • GitHub runc Commit Update 3

  • GitHub runc Commit Update 4

  • GitHub Security Advisory GHSA-9493-h29p-rfm2
  • Related CVEs
  • CVE-2025-52881

  • CVE-2024-45310

  • CVE-2024-21626

  • CVE-2023-27561
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
  • English
  • 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