{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-31133","id":"CVE-2025-31133","title":"runc container escape via \"masked path\" abuse due to mount race conditions","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","descriptionLong":"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.","published":"2025-11-06T18:47:47.335Z","updated":"2026-11-11T10:31:07.457317983Z","reserved":"2025-03-26T15:04:52.627Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":7.3,"vector":"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":7.3,"vector":"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":7.3,"vector":"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/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","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["opencontainers runc"],"affectedProducts":[{"vendor":"opencontainers","product":"runc","defaultStatus":null,"versions":[{"version":"< 1.2.8","status":"affected"},{"version":">= 1.3.0-rc.1, < 1.3.3","status":"affected"},{"version":">= 1.4.0-rc.1, <= 1.4.0-rc.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","ranges":["<1.2.8",">=1.3.0-rc.1 <1.3.3",">=1.4.0-rc.1 <1.4.0-rc.3"],"fixed":["1.2.8","1.3.3","1.4.0-rc.3"],"advisory":"GHSA-9493-h29p-rfm2"}],"cwes":["CWE-61","CWE-363"],"aliases":["GHSA-9493-h29p-rfm2","GO-2025-4096"],"references":[{"url":"https://github.com/opencontainers/runc/security/advisories/GHSA-9493-h29p-rfm2","tags":["x_refsource_CONFIRM","Mitigation","Patch","Third Party Advisory","advisory","web"]},{"url":"https://github.com/opencontainers/runc/commit/1a30a8f3d921acbbb6a4bb7e99da2c05f8d48522","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/opencontainers/runc/commit/5d7b2424072449872d1cd0c937f2ca25f418eb66","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/opencontainers/runc/commit/8476df83b534a2522b878c0507b3491def48db9f","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31133.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31133","tags":["advisory"]},{"url":"https://github.com/opencontainers/runc","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01245,"epssPercentile":0.69924,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-31133","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31133","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-31133","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9493-h29p-rfm2","ok":true,"note":"GHSA-9493-h29p-rfm2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-31133","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["docker"],"critical":[],"attention":null}