Skip to main content
VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2025-31133· High 7.3

Not known to be exploited · CVSS 7.3 High : upgrade to 1.2.8 soon.

Data as of 13 Nov 2026, 20:09 UTC

CVSS 4.0 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Gogithub.com/opencontainers/runcAffected
  • <1.2.8
Fixed in
  • 1.2.8
Gogithub.com/opencontainers/runcAffected
  • >=1.3.0-rc.1 <1.3.3
Fixed in
  • 1.3.3
Gogithub.com/opencontainers/runcAffected
  • >=1.4.0-rc.1 <1.4.0-rc.3
Fixed in
  • 1.4.0-rc.3

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

Community reviews

Loading reviews…