Container escape via raced /dev/null bind mount
Published Nov 6, 2025 · Updated Nov 6, 2025
Symlink race in OCI runc before 1.2.8, 1.3.0-rc.1 through 1.3.2, and 1.4.0-rc.1 through 1.4.0-rc.2 allows local users to escape containers. During maskedPaths setup, runc bind-mounts the container's /dev/null without ensuring the source remains the real device inode, so a shared-mount race can substitute a symlink to a procfs target or delete the source and suppress masking. Local users must control container creation or parallel containers with shared mounts; non-user-namespaced root containers expose host data, service interruption, or host code execution.
Summary
What happened
Symlink race in OCI runc before 1.2.8, 1.3.0-rc.1 through 1.3.2, and 1.4.0-rc.1 through 1.4.0-rc.2 allows local users to escape containers. During maskedPaths setup, runc bind-mounts the container's /dev/null without ensuring the source remains the real device inode, so a shared-mount race can substitute a symlink to a procfs target or delete the source and suppress masking. Local users must control container creation or parallel containers with shared mounts; non-user-namespaced root containers expose host data, service interruption, or host code execution.
The record
- CVE
- CVE-2025-31133
- Published
- Nov 6, 2025
- Updated
- Nov 6, 2025
- Vendor
- Open Container Initiative
- Product
- runc
- Classifications
- CWE-61, CWE-363, T1611
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 6, 2025CVE publishedPublication date reported by the CVE source.
- Nov 6, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.2.8
- Affected versionversion=>= 1.3.0-rc.1, < 1.3.3
- Affected versionversion=>= 1.4.0-rc.1, <= 1.4.0-rc.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo