Skip to content
OpenAdvisories

Description

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.

Affected products

VendorProductAffectedFixed
opencontainers runc < 1.1.14, >= 1.2.0-rc-1, < 1.2.0-rc.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 runc 1.1.15+ds1-1 —
Debian 13 runc 1.1.15+ds1-1 —
Debian 12 runc No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS runc +1 No fix yet —
Ubuntu 22.04 LTS runc +1 No fix yet —
Ubuntu 20.04 LTS runc +1 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS runc No fix yet —
Ubuntu Pro 16.04 LTS runc No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 apptainer 1.4.5-150600.4.12.1 SUSE-SU-2026:0439-1
SLES 15 SP7 kubevirt 1.7.0-150700.3.16.2 SUSE-SU-2026:0479-1
SLES 15 SP7 runc 1.2.6-150000.73.2 SUSE-SU-2025:02198-2
SLES 15 SP7 squashfuse 0.5.0-150600.3.2.1 SUSE-SU-2026:0439-1
SLES 15 SP6 apptainer 1.4.5-150600.4.12.1 SUSE-SU-2026:0439-1
SLES 15 SP6 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
SLES 15 SP6 squashfuse 0.5.0-150600.3.2.1 SUSE-SU-2026:0439-1
SLES 15 SP5 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
SLES 15 SP4 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
SLES 15 SP3 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
Show 19 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 15 SP2 runc 1.1.14-150000.70.1 SUSE-SU-2024:3222-1
SLES 12 SP5 runc 1.2.6-16.60.2 SUSE-SU-2025:1374-1
SLES 12 runc 1.1.14-16.55.1 SUSE-SU-2024:3324-1
SLES for SAP 15 SP5 runc 1.2.6-150000.73.2 SUSE-SU-2025:02198-1
SLES for SAP 15 SP4 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
SLES for SAP 15 SP3 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
SLES for SAP 15 SP2 runc 1.1.14-150000.70.1 SUSE-SU-2024:3222-1
SLE Micro 6.1 runc 1.2.6-slfo.1.1_1.1 SUSE-SU-2025:20353-1
SLE Micro 6.0 runc 1.1.14-1.1 SUSE-SU-2025:20335-1, SUSE-SU-2025:20046-1
SLE Micro 5.5 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
SLE Micro 5.4 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
SLE Micro 5.3 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
SLE Micro 5.2 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
SLE Micro 5.1 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
SLE HPC 15 SP5 runc 1.2.6-150000.73.2 SUSE-SU-2025:02198-1
SLE HPC 15 SP4 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
SLE HPC 15 SP3 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
SLE HPC 15 SP2 runc 1.1.14-150000.70.1 SUSE-SU-2024:3222-1
SUSE Enterprise Storage 7.1 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apptainer 1.4.5-5.1 openSUSE-SU-2026:10842-1
openSUSE Tumbleweed cadvisor 0.60.3-1.1 openSUSE-SU-2026:11153-1
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250807T150727-1.1 openSUSE-SU-2025:15424-1
openSUSE Tumbleweed runc 1.2.0~rc3-1.1 openSUSE-SU-2024:14312-1
openSUSE Leap 16.0 cadvisor 0.60.3-bp160.1.1 openSUSE-SU-2026:21265-1
openSUSE Leap 16.0 ctop 0.7.7-bp160.2.1 openSUSE-SU-2026:21379-1
openSUSE Leap 15.6 apptainer 1.4.5-150600.4.12.1 SUSE-SU-2026:0439-1
openSUSE Leap 15.6 runc 1.1.14-150000.70.1 SUSE-SU-2025:02198-1, SUSE-SU-2024:3222-1
openSUSE Leap 15.6 squashfuse 0.5.0-150600.3.2.1 SUSE-SU-2026:0439-1
openSUSE Leap 15.5 runc 1.1.14-150000.70.1 SUSE-SU-2024:3222-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.5 runc 1.1.14-150000.70.1 SUSE-SU-2024:3222-1
ReleasePackageFixed inAdvisory
Alpine v3.24 runc 1.1.14-r0 —
Alpine v3.23 runc 1.1.14-r0 —
Alpine v3.22 runc 1.1.14-r0 —
Alpine v3.21 runc 1.1.14-r0 —
Alpine v3.20 runc 1.1.14-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 ecs-init 1.89.1-1.amzn2023 ALAS2023-2025-886
Amazon Linux 2023 runc 1.1.14-1.amzn2023.0.1 ALAS2023-2024-725

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 buildah 1.41.4-2 —
Azure Linux 3 cri-o No fix yet —
Azure Linux 3 podman 5.6.1-2 —
Azure Linux 3 runc 1.2.2-1 —
Azure Linux 2 (CBL-Mariner) moby-runc 1.1.9-8 —
Azure Linux 2 (CBL-Mariner) podman +2 No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling buildah 1.37.2-r1 —
Wolfi rolling cadvisor +1 0.50.0-r2 —
Wolfi rolling ctop 0.7.7-r19 —
Wolfi rolling docker-dind 27.2.0-r1 —
Wolfi rolling gpu-feature-discovery 0.8.2-r5 —
Wolfi rolling grafana-alloy 1.3.1-r1 —
Wolfi rolling grype 0.80.0-r1 —
Wolfi rolling k3s +2 1.31.0.1-r1 —
Wolfi rolling kubectl-1.27 +2 No fix yet —
Wolfi rolling kubectl-1.28 +2 1.28.15-r11 —
Wolfi rolling kubectl-1.29 +2 1.29.15-r2 —
Wolfi rolling kubectl-1.30 +2 1.30.11-r2 —
Wolfi rolling neuvector-scanner +2 0_git20240528-r8 —
Wolfi rolling opentelemetry-collector-contrib +1 0.108.0-r1 —
Wolfi rolling podman +1 5.2.2-r1 —
Wolfi rolling runc 1.1.14-r0 —
Wolfi rolling syft 1.11.1-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/opencontainers/runc < 1.1.14 1.1.14 GHSA-jfvp-7x6p-h2pv
Go github.com/opencontainers/runc >= 1.2.0-rc.1, < 1.2.0-rc.3 1.2.0-rc.3 GHSA-jfvp-7x6p-h2pv
Go github.com/opencontainers/runc < 1.1.14 · >= 1.2.0-rc.1, < 1.2.0-rc.3 1.1.14, 1.2.0-rc.3 GO-2024-3110

Advisories 19

References