runc can be confused to create empty files/directories on the host
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Partial Red Hat: 2 fixed, 5 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
runc is a CLI tool for spawning and running containers according to the OCI specification. runc 1.1.13 and earlier, as well as 1.2.0-rc2 and earlier, can be tricked into creating empty files or directories in arbitrary locations in the host filesystem by sharing a volume between two containers and exploiting a race with `os.MkdirAll`. While this could be used to create empty files, existing files would not be truncated. An attacker must have the ability to start containers using some kind of custom volume configuration. Containers using user namespaces are still affected, but the scope of places an attacker can create inodes can be significantly reduced. Sufficiently strict LSM policies (SELinux/Apparmor) can also in principle block this attack -- we suspect the industry standard SELinux policy may restrict this attack's scope but the exact scope of protection hasn't been analysed. This is exploitable using runc directly as well as through Docker and Kubernetes. The issue is fixed in runc v1.1.14 and v1.2.0-rc3. Some workarounds are available. Using user namespaces restricts this attack fairly significantly such that the attacker can only create inodes in directories that the remapped root user/group has write access to. Unless the root user is remapped to an actual user on the host (such as with rootless containers that don't use `/etc/sub[ug]id`), this in practice means that an attacker would only be able to create inodes in world-writable directories. A strict enough SELinux or AppArmor policy could in principle also restrict the scope if a specific label is applied to the runc runtime, though neither the extent to which the standard existing policies block this attack nor what exact policies are needed to sufficiently restrict this attack have been thoroughly tested.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| backstage | runc | before 1.1.14; 1.2.0-rc-1 to before 1.2.0-rc.3 | 1.1.14, 1.2.0-rc.3 | Patch available | CNA |
| — | github.com/opencontainers/runc (Go) | before 1.1.14 | 1.1.14 | Patch available | GHSA-jfvp-7x6p-h2pv |
| — | github.com/opencontainers/runc (Go) | 1.2.0-rc.1 to before 1.2.0-rc.3 | 1.2.0-rc.3 | Patch available | GHSA-jfvp-7x6p-h2pv |
- runc Vendorbackstage Affected before 1.1.14; 1.2.0-rc-1 to before 1.2.0-rc.3 Fixed in 1.1.14, 1.2.0-rc.3 Patch available CNA
- github.com/opencontainers/runc (Go) Vendor— Affected before 1.1.14 Fixed in 1.1.14 Patch available GHSA-jfvp-7x6p-h2pv
- github.com/opencontainers/runc (Go) Vendor— Affected 1.2.0-rc.1 to before 1.2.0-rc.3 Fixed in 1.2.0-rc.3 Patch available GHSA-jfvp-7x6p-h2pv
Remediation
- Fix · CNA runc (opencontainers) Fixed in 1.1.14, 1.2.0-rc.3
- Fix · GHSA-jfvp-7x6p-h2pv github.com/opencontainers/runc (Go) Fixed in 1.1.14 Advisory →
- Fix · GHSA-jfvp-7x6p-h2pv github.com/opencontainers/runc (Go) Fixed in 1.2.0-rc.3 Advisory →
Red Hat 2 advisories
- RHSA-2026:37387 Released 2026-07-09 · Red Hat rating ImportantRed Hat OpenShift Data Foundation 4.22.0 security, enhancement & bug fix update
- Red Hat Openshift Data Foundation 4.22 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/devicefinder-rhel9 +24
- RHSA-2026:3406 Released 2026-02-26 · Red Hat rating ImportantNew container image: rhceph-9.0
- Red Hat Ceph Storage 9 registry.redhat.io/rhceph/grafana-rhel10, registry.redhat.io/rhceph/rhceph-9-rhel9
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat Ceph Storage 9 | Fixed | RHSA-2026:3406 |
| Red Hat Openshift Data Foundation 4.22 | Fixed | RHSA-2026:37387 |
Not affected: 2 products
- Red Hat Ceph Storage 9
- Red Hat Openshift Data Foundation 4.22
Timeline
- 2026-10-02 Threatist record created from CVE-2024-45310
- 2026-10-03 Alias added: GHSA-jfvp-7x6p-h2pv
- 2026-10-21 Affected versions changed · Red Hat
- 2026-10-22 Affected versions changed · Red Hat
References
Patch 5
- https://github.com/opencontainers/runc/security/advisories/GHSA-jfvp-7x6p-h2pv
- https://github.com/opencontainers/runc/pull/4359
- https://github.com/opencontainers/runc/commit/63c2908164f3a1daea455bf5bcd8d363d70328c7
- https://github.com/opencontainers/runc/commit/8781993968fd964ac723ff5f360b6f259e809a3e
- https://github.com/opencontainers/runc/commit/f0b652ea61ff6750a8fcc69865d45a7abf37accf
Advisory 3
More backstage Runc vulnerabilities
- TI-2019-04061 runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows… CVSS 3.1HIGH 8.6
- TI-2024-14351 runc container breakout through process.cwd trickery and leaked fds CVSS 3.1HIGH 8.6
- TI-2021-10869 runc before 1.0.0-rc95 allows a Container Filesystem Breakout via Directory Traversal. CVSS 3.1HIGH 8.5
- TI-2019-12591 runc through 1.0.0-rc8, as used in Docker through 19.03.2-ce and other products, allows… CVSS 3.1HIGH 7.5
- TI-2025-32660 container escape due to /dev/console mount and related races CVSS 4.0HIGH 8.4
- TI-2025-22394 runc container escape via "masked path" abuse due to mount race conditions CVSS 4.0HIGH 7.3
Sources
- CVE-2024-45310 · CVE Program
- CVE-2024-45310 · NVD
- FIRST EPSS
- GHSA-jfvp-7x6p-h2pv · GitHub Advisory Database · CC BY 4.0
- CVE-2024-45310 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences