CVE-2025-31133: github.com/opencontainers/runc · runc container escape via "masked path" abuse due to mount race conditions
Affects github.com/opencontainers/runcSource GCVE Database
Not known to be exploited · CVSS 7.3 High : upgrade to 1.2.8 soon.
Data as of 13 Nov 2026, 20:09 UTC
- Patch
- Available – fixed in 1.2.8, 1.3.3, 1.4.0-rc.3
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 6 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade github.com/opencontainers/runc to 1.2.8; github.com/opencontainers/runc to 1.3.3; github.com/opencontainers/runc to 1.4.0-rc.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/opencontainers/runc | Affected
| Fixed in
|
| Gogithub.com/opencontainers/runc | Affected
| Fixed in
|
| Gogithub.com/opencontainers/runc | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Fixed versions 1.2.8, 1.3.3, and 1.4.0-rc.3 of runc contain patches that address these vulnerabilities. Users should upgrade to one of these versions or later. No other mitigations are indicated by the vendor advisory.
Description
CVE-2025-31133 is a vulnerability in runc's handling of the OCI runtime specification's maskedPaths feature. It allows attackers to exploit race conditions involving the container's /dev/null bind-mount to perform arbitrary mount operations, potentially leading to host denial of service or container escape with root privileges. The flaw arises because runc does not sufficiently verify that the source of the bind-mount is a genuine /dev/null inode and improperly ignores certain errors, enabling attackers to bypass maskedPaths protections. Fixed versions 1.2.8, 1.3.3, and 1.4.0-rc.3 address these issues.
References
- github.com/opencontainers/runc/security/advisories/GHSA-9493-h29p-rfm2 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-31133 (opens in a new tab)
- github.com/opencontainers/runc/commit/1a30a8f3d921acbbb6a4bb7e99da2c05f8d48522 (opens in a new tab)
- github.com/opencontainers/runc/commit/5d7b2424072449872d1cd0c937f2ca25f418eb66 (opens in a new tab)
- github.com/opencontainers/runc/commit/8476df83b534a2522b878c0507b3491def48db9f (opens in a new tab)
- github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64 (opens in a new tab)
- github.com/opencontainers/runc (opens in a new tab)