{"cve":"CVE-2024-21626","nvd":{"published":"2024-01-31T22:15:53.780","modified":"2026-09-17T12:17:08.273","status":"Modified","description":"runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc 1.1.11 and earlier, due to an internal file descriptor leak, an attacker could cause a newly-spawned container process (from runc exec) to have a working directory in the host filesystem namespace, allowing for a container escape by giving access to the host filesystem (\"attack 2\"). The same attack could be used by a malicious image to allow a container process to gain access to the host filesystem through runc run (\"attack 1\"). Variants of attacks 1 and 2 could be also be used to overwrite semi-arbitrary host binaries, allowing for complete container escapes (\"attack 3a\" and \"attack 3b\"). runc 1.1.12 includes patches for this issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6},"cwes":["CWE-403","CWE-668","CWE-200"],"references":["http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html","http://www.openwall.com/lists/oss-security/2024/02/01/1","http://www.openwall.com/lists/oss-security/2024/02/02/3","https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf","https://github.com/opencontainers/runc/releases/tag/v1.1.12"],"products":["fedoraproject:fedora","linuxfoundation:runc"],"source":"nvd","synced_at":"2026-10-19T21:44:57.175229480+00:00"},"epss":{"cve":"CVE-2024-21626","score":0.18923,"percentile":0.97297,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-xr7r-f8xq-vfvv","url":"https://osv.dev/vulnerability/GHSA-xr7r-f8xq-vfvv","summary":"runc vulnerable to container breakout through process.cwd trickery and leaked fds","modified":"2026-09-10T03:50:05.196975581Z","packages":[{"ecosystem":"Go","name":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","ranges":[">=1.0.0-rc93 <1.1.12"],"fixed":["1.1.12"]}]},{"id":"GO-2024-2491","url":"https://osv.dev/vulnerability/GO-2024-2491","summary":"Container breakout through process.cwd trickery and leaked fds in github.com/opencontainers/runc","modified":"2026-02-04T02:39:00.262696Z","packages":[{"ecosystem":"Go","name":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","ranges":[">=1.0.0-rc93 <1.1.12"],"fixed":["1.1.12"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}