CVE-2025-31133: runc container escape via "masked path" abuse due to mount race conditions
Vulnerability summary
CVE-2025-31133 is a high (CVSS 7.8) UNIX Symbolic Link (Symlink) Following vulnerability in linuxfoundation runc. EPSS estimates a 1.24% chance of exploitation in the next 30 days, higher than 69.3% of scored vulnerabilities.
Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 52 · Related 45Timeline
- 06-11-2025PublishedVulnerability first disclosed.
- 06-11-2025Last modifiedVulnerability information updated.
Description
runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7 and below, 1.3.0-rc.1 through 1.3.1, 1.4.0-rc.1 and 1.4.0-rc.2 files, runc would not perform sufficient verification that the source of the bind-mount (i.e., the container's /dev/null) was actually a real /dev/null inode when using the container's /dev/null to mask. This exposes two methods of attack: an arbitrary mount gadget, leading to host information disclosure, host denial of service, container escape, or a bypassing of maskedPaths. This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.
CVSS metrics
10 scores · 8 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- OSV · WolfiEcosystem advisory · calculated7.3HighCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- OSV · GoEcosystem advisory · calculated7.3HighCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- OSV · ChainguardEcosystem advisory · calculated7.3HighCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- NVDNIST7.3HighCVSS: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
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
1.24%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
Increase +0.40 pp
From 0.84% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-61UNIX Symbolic Link (Symlink) FollowingThe product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.
- CWE-363Race Condition Enabling Link FollowingThe product checks the status of a file or directory before accessing it, which produces a race condition in which the file can be replaced with a link before the access is performed, causing the product to access the wrong file.
Affected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard120 products
- azure-vnet-cni< 1.7.4-r2
- buildah< 1.42.0-r1
- cluster-autoscaler-1.31< 1.31.5-r4 | < 1.31.5-r1
- cluster-autoscaler-fips-1.31< 1.31.5-r1 | < 1.31.5-r5
- ctopAll versions (No fix recorded)
Wolfi21 products
- buildah< 1.42.0-r1
- ctopAll versions (No fix recorded)
- docker-machine-driver-harvesterAll versions (No fix recorded)
- falco-no-driver< 0.43.0-r0
- grafana-alloy< 1.11.3-r1
Ubuntu3 products
- runcAll versions (No fix recorded)
- runc-appAll versions (No fix recorded) | < 1.3.3-0ubuntu1~22.04.2 | < 1.3.3-0ubuntu1~24.04.2 | < 1.3.3-0ubuntu1~25.10.2
- runc-stable< 1.3.3-0ubuntu1~25.10.2
Alpine1 product
- runc≥ 1.3.0, < 1.3.3-r0
Debian1 product
- runcAll versions (No fix recorded) | < 1.3.3+ds1-2
Github.com/opencontainers1 product
- runc< 1.2.8 | ≥ 1.3.0-rc.1, < 1.3.3 | ≥ 1.4.0-rc.1, < 1.4.0-rc.3
Linuxfoundation1 product
- runc< 1.2.8 | ≥ 1.3.0, < 1.3.3 | 1.4.0:rc1 | 1.4.0:rc2
Opencontainers1 product
- runc< 1.2.8 | ≥ 1.3.0-rc.1, < 1.3.3 | ≥ 1.4.0-rc.1, ≤ 1.4.0-rc.3
8 vendors · 149 products
References
13 links- github.com/opencontainers/runc/security/advisories/GHSA-9493-h29p-rfm2X Refsource CONFIRMREPORTAdvisoryWEBMitigationPatchThird Party Advisory
- github.com/opencontainers/runc/commit/1a30a8f3d921acbbb6a4bb7e99da2c05f8d48522X Refsource MISCFIXWEBPatch
- github.com/opencontainers/runc/commit/5d7b2424072449872d1cd0c937f2ca25f418eb66X Refsource MISCFIXWEBPatch
- github.com/opencontainers/runc/commit/8476df83b534a2522b878c0507b3491def48db9fX Refsource MISCFIXWEBPatch
- github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64X Refsource MISCFIXWEBPatch