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

CVE-2025-52565: Linux Foundation runc DoS Vulnerability

CVE-2025-52565 is a denial of service vulnerability in Linux Foundation runc affecting bind-mount operations that can lead to host DoS or container breakout. This article covers technical details, affected versions, and mitigation.

Published: March 11, 2026

CVE-2025-52565 Overview

CVE-2025-52565 is a symlink attack vulnerability in runc, the widely-used CLI tool for spawning and running containers according to the OCI specification. Due to insufficient checks when bind-mounting /dev/pts/$n to /dev/console inside the container, an attacker can trick runc into bind-mounting paths that would normally be read-only or masked onto attacker-writable locations. This vulnerability is conceptually similar to CVE-2025-31133 but targets a different component—specifically the bind-mount of /dev/pts/$n to /dev/console as configured for all containers that allocate a console.

Critical Impact

Container breakout via writable access to sensitive kernel interfaces like /proc/sysrq-trigger or /proc/sys/kernel/core_pattern, enabling host denial of service or arbitrary code execution on the host system.

Affected Products

  • Linux Foundation runc versions 1.0.0-rc3 through 1.2.7
  • Linux Foundation runc versions 1.3.0-rc.1 through 1.3.2
  • Linux Foundation runc versions 1.4.0-rc.1 through 1.4.0-rc.2

Discovery Timeline

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

Technical Details for CVE-2025-52565

Vulnerability Analysis

This vulnerability stems from CWE-61 (UNIX Symbolic Link Following), where runc fails to adequately validate bind-mount targets during console setup. When a container allocates a PTY console, runc performs a bind-mount operation from /dev/pts/$n to /dev/console. The vulnerability occurs because this operation happens after pivot_root(2), meaning an attacker who can manipulate the filesystem state can redirect the bind-mount to arbitrary paths.

While direct host file writes are not possible due to the post-pivot_root timing, attackers can leverage this to gain writable access to normally protected kernel interfaces. Specifically, obtaining a writable copy of /proc/sysrq-trigger allows immediate system reboot or kernel panic commands, while writable access to /proc/sys/kernel/core_pattern enables arbitrary code execution when a core dump is triggered.

Root Cause

The root cause is insufficient validation in runc's console allocation code path when performing the bind-mount of the PTY slave device to /dev/console. The code did not properly verify that the target path had not been manipulated via symbolic links or other filesystem tricks before completing the mount operation. This allowed an attacker with local access to craft a malicious container filesystem that redirects the console bind-mount to unintended targets.

Attack Vector

The attack requires local access and user interaction (launching a container with the malicious configuration). An attacker prepares a container image with a specially crafted filesystem that exploits the race condition or path confusion during console setup. When runc processes the container startup and attempts to bind-mount the PTY device, the attacker's crafted symlinks redirect the mount to a sensitive kernel interface, granting the attacker write access to otherwise protected paths.

go
// Security patch implementing TIOCGPTPEER for safe PTY allocation
// Source: https://github.com/opencontainers/runc/commit/531ef794e4ecd628006a865ad334a048ee2b4b2e

// GetPtyPeer is a wrapper for ioctl(TIOCGPTPEER).
func GetPtyPeer(ptyFd uintptr, unsafePeerPath string, flags int) (*os.File, error) {
	// Make sure O_NOCTTY is always set -- otherwise runc might accidentally
	// gain it as a controlling terminal. O_CLOEXEC also needs to be set to
	// make sure we don't leak the handle either.
	flags |= unix.O_NOCTTY | unix.O_CLOEXEC

	// There is no nice wrapper for this kind of ioctl in unix.
	peerFd, _, errno := unix.Syscall(
		unix.SYS_IOCTL,
		ptyFd,
		uintptr(unix.TIOCGPTPEER),
		uintptr(flags),
	)
	if errno != 0 {
		return nil, os.NewSyscallError("ioctl TIOCGPTPEER", errno)
	}
	return os.NewFile(peerFd, unsafePeerPath), nil
}

Source: GitHub runc Commit

Detection Methods for CVE-2025-52565

Indicators of Compromise

  • Unexpected modifications to /proc/sys/kernel/core_pattern from within container processes
  • Write attempts to /proc/sysrq-trigger originating from container namespaces
  • Anomalous bind-mount operations during container startup that target kernel pseudo-filesystems
  • Container processes with unexpected access to host /proc or /sys paths

Detection Strategies

  • Monitor container runtime logs for unusual bind-mount operations during container initialization
  • Implement file integrity monitoring on critical kernel interfaces (/proc/sysrq-trigger, /proc/sys/kernel/core_pattern)
  • Use audit rules to detect mount(2) syscalls with suspicious source/target combinations
  • Deploy runtime security agents that detect container escape attempts via kernel interface manipulation

Monitoring Recommendations

  • Enable detailed logging for runc and container runtimes to capture console allocation events
  • Configure alerts for any write operations to /proc/sysrq-trigger or core_pattern changes
  • Monitor for containers requesting PTY allocation with unusual filesystem layouts
  • Track runc version deployments across infrastructure and flag vulnerable versions

How to Mitigate CVE-2025-52565

Immediate Actions Required

  • Upgrade runc to patched versions: 1.2.8, 1.3.3, or 1.4.0-rc.3 immediately
  • Audit all container hosts for vulnerable runc versions using runc --version
  • Review container images for suspicious filesystem configurations targeting /dev/console
  • Restrict container capabilities and use seccomp profiles to limit mount syscalls

Patch Information

The vulnerability has been fixed in runc versions 1.2.8, 1.3.3, and 1.4.0-rc.3. The patches implement safer PTY allocation using TIOCGPTPEER ioctl and add additional validation during the console bind-mount process. Multiple commits address different aspects of the fix:

  • Primary security fix for PTY peer allocation
  • Console fallback handling for older kernels
  • Device inode creation hardening

For full details, see the GitHub Security Advisory GHSA-qw9x-cqr3-wc7r.

Workarounds

  • Disable PTY allocation for containers where interactive console access is not required
  • Use read-only container root filesystems to prevent attacker manipulation of mount targets
  • Apply strict seccomp profiles that block unnecessary mount-related syscalls
  • Implement namespace isolation policies that prevent containers from accessing host /proc filesystems
bash
# Check current runc version and upgrade
runc --version

# For systems using containerd
# Update containerd configuration to use patched runc
# Example: Verify runc binary path
containerd config dump | grep runc

# Apply restrictive seccomp profile to limit mount operations
# In container runtime configuration, add:
# "seccomp": {
#   "defaultAction": "SCMP_ACT_ERRNO",
#   "syscalls": [
#     {
#       "names": ["mount", "umount2"],
#       "action": "SCMP_ACT_ALLOW",
#       "args": []
#     }
#   ]
# }

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechRunc

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/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
  • AvailabilityNone
  • 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 runc Commit Update 5

  • GitHub runc Commit Update 6

  • GitHub runc Commit Update 7

  • GitHub runc Commit Update 8

  • GitHub Security Advisory GHSA-qw9x-cqr3-wc7r
  • Related CVEs
  • CVE-2025-52881: Runc Race Condition Vulnerability

  • CVE-2024-45310: Linuxfoundation Runc Race Condition Flaw

  • 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