# CVE-2024-21626: runc container breakout through process.cwd trickery and leaked fds

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 19.1%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-01-31T21:31:14.391Z
- Modified: 2026-09-17T12:17:08.273Z
- Also known as: GHSA-xr7r-f8xq-vfvv, GO-2024-2491
- Related: CGA-jmjc-ph87-4994
- Weaknesses: CWE-200, CWE-403, CWE-668
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- opencontainers runc: >=v1.0.0-rc93, < 1.1.12
- jenkins: no versions given (not affected: from 0:2.440.3.1718879390-3.el8 before *)
- jenkins-2-plugins: no versions given (not affected: from 0:4.15.1718879538-1.el8 before *)
- runc: no versions given (not affected: from 0:1.0.0-70.rc10.el7_9 before *; from 4:1.1.12-1.el9_3 before *; from 4:1.1.12-1.el9_0 before *; from 4:1.1.12-1.el9_2 before *; from 3:1.1.2-3.1.rhaos4.11.el8 before *; from 3:1.1.6-5.1.rhaos4.12.el8 before *; from 4:1.1.12-1.rhaos4.13.el8 before *; from 4:1.1.12-1.rhaos4.14.el8 before *)
- docker: no versions given (not affected: from 2:1.13.1-210.git7d71120.el7_9 before *)
- container-tools:4.0: no versions given (not affected: from 8090020240201111813.d7b6f4b7 before *; from 8060020240205133014.3b538bd8 before *)
- container-tools:rhel8: no versions given (not affected: from 8090020240201111839.d7b6f4b7 before *; from 8060020240206151655.3b538bd8 before *; from 8080020240206143933.0f77c1b7 before *)
- container-tools:2.0: no versions given (not affected: from 8020020240206120705.28c38760 before *)
- container-tools:3.0: no versions given (not affected: from 8040020240207051234.c0c392d5 before *)
- openshift4/ose-docker-builder: no versions given (not affected: from v4.12.0-202503030130.p0.g7c2a284.assembly.stream.el8 before *; from v4.13.0-202503111300.p0.gb379980.assembly.stream.el8 before *; from v4.14.0-202503060906.p0.gb03f3f5.assembly.stream.el8 before *; from v4.15.0-202502171304.p0.gb74eb6d.assembly.stream.el8 before *)
- microshift: no versions given (not affected: from 0:4.14.42-202411280904.p0.gcf4d04f.assembly.4.14.42.el9 before *; from 0:4.15.41-202412091343.p0.gcf9680e.assembly.4.15.41.el9 before *; from 0:4.16.24-202411220522.p0.gcc4fedc.assembly.4.16.24.el9 before *; from 0:4.17.7-202411280904.p0.g129334d.assembly.4.17.7.el9 before *)
- openshift4/ose-docker-builder-rhel9: no versions given (not affected: from v4.16.0-202501160405.p0.g300d9ad.assembly.stream.el9 before *; from v4.17.0-202501052337.p0.gbb33e13.assembly.stream.el9 before *)
- ocp-tools-4/jenkins-agent-base-rhel8: no versions given
- ocp-tools-4/jenkins-rhel8: no versions given
- kepler-container: no versions given
- buildah: no versions given
- containers-common: no versions given
- podman: no versions given
- cri-o: no versions given
- cri-tools: no versions given
- openshift: no versions given
- openshift4/ose-aws-ebs-csi-driver-rhel9: no versions given
- openshift4/ose-aws-efs-csi-driver-container-rhel8: no versions given
- openshift4/ose-csi-driver-nfs-rhel8: no versions given
- openshift4/ose-hyperkube: no versions given
- openshift4/ose-kube-proxy: no versions given
- openshift4/ose-node-feature-discovery: no versions given
- openshift4/ose-powervs-block-csi-driver-rhel9: no versions given
- openshift4/ose-sdn-rhel8: no versions given
- openshift4/ose-tests: no versions given
- openshift4/ose-vmware-vsphere-csi-driver-rhel8: no versions given
- openshift4/ose-vsphere-csi-driver-rhel8: no versions given
- openshift4/ose-vsphere-csi-driver-syncer-rhel8: no versions given
- container-native-virtualization/passt-network-binding-plugin-cni-rhel9: no versions given
- container-native-virtualization/passt-network-binding-plugin-sidecar-rhel9: no versions given
- container-native-virtualization/sidecar-shim-rhel9: no versions given
- container-native-virtualization/virt-api: no versions given
- container-native-virtualization/virt-api-rhel9: no versions given
- container-native-virtualization/virt-artifacts-server: no versions given
- container-native-virtualization/virt-artifacts-server-rhel8: no versions given
- container-native-virtualization/virt-artifacts-server-rhel9: no versions given
- container-native-virtualization/virt-controller: no versions given
- container-native-virtualization/virt-controller-rhel9: no versions given
- container-native-virtualization/virt-exportproxy: no versions given
- container-native-virtualization/virt-exportproxy-rhel9: no versions given
- container-native-virtualization/virt-exportserver: no versions given
- container-native-virtualization/virt-exportserver-rhel9: no versions given
- container-native-virtualization/virt-handler: no versions given
- container-native-virtualization/virt-handler-rhel9: no versions given
- container-native-virtualization/virt-launcher: no versions given
- container-native-virtualization/virt-launcher-rhel9: no versions given
- container-native-virtualization/virt-operator: no versions given
- container-native-virtualization/virt-operator-rhel9: no versions given
- container-native-virtualization/wasp-agent-rhel9: no versions given
- kubevirt: no versions given
- quay/quay-builder-rhel8: no versions given
- github.com/opencontainers/runc (Go): from 1.0.0-rc93 before 1.1.12
- linuxfoundation runc: before 1.1.12
- fedoraproject fedora: 39

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv> (exploit, advisory, vendor-advisory, web)
- <http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf> (fix, patch, web)
- <https://github.com/opencontainers/runc/releases/tag/v1.1.12> (release-notes, web)
- <http://www.openwall.com/lists/oss-security/2024/02/01/1> (mailing-list, web)
- <http://www.openwall.com/lists/oss-security/2024/02/02/3> (mailing-list, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2NLXNE23Q5ESQUAI22Z7A63JX2WMPJ2J/>
- <https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html> (web)
- <https://www.vicarius.io/vsociety/posts/leaky-vessels-part-1-cve-2024-21626> (web)
- <https://access.redhat.com/security/cve/CVE-2024-21626> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2258725> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-21626.json> (web)
- <https://access.redhat.com/errata/RHSA-2024:1270> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0717> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:4597> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0684> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:2441> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0666> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:2701> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0662> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:2710> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0645> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:1711> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:10525> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:10841> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:10149> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:0650> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:10520> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:0115> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0758> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0760> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0757> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0764> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0759> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0748> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0752> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0756> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0755> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:0670> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21626> (advisory)
- <https://github.com/opencontainers/runc> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2NLXNE23Q5ESQUAI22Z7A63JX2WMPJ2J> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL> (web)

## Sources

- CVE List: [CVE-2024-21626](https://www.cve.org/CVERecord?id=CVE-2024-21626), CVE Terms of Use, modified 2026-09-17
- GitHub Advisory Database: [GHSA-xr7r-f8xq-vfvv](https://github.com/advisories/GHSA-xr7r-f8xq-vfvv), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2491](https://pkg.go.dev/vuln/GO-2024-2491), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-21626](https://nvd.nist.gov/vuln/detail/CVE-2024-21626), Public domain, modified 2026-09-17

---

Page: https://cve.day/CVE-2024-21626 · Whole record: https://cve.day/CVE-2024-21626.json · Rebuilt by cve.day 2026-11-25T22:58:36.484Z
