CVE-2026-41579 runc: Malicious image with /dev symlink can trigger limited host filesystem integrity violations
- Published
- Updated
- Exploit status
- No public exploit known
Description
runc is a CLI tool for spawning and running containers according to the OCI specification. In versions prior to 1.3.6, 1.4.0-rc.1, 1.4.0-rc.12, 1.5.0-rc.1, and 1.5.0-rc.1, when setting up the container rootfs, setupPtmx and setupDevSymlinks call os.Remove and os.Symlink with a filepath.Join string which allow an image with /dev as a symlink to trick runc into deleting files called ptmx on the host or creating a hardcoded set of symlinks with specific names and targets in an arbitrary pre-existing host directory. This issue is not exploitable under Docker, because Docker creates a top-level read-only layer that masks any malicious /dev symlink present in the container image — unlike some other Linux container tooling, whose higher-level runtimes built on runc remain exposed to exploitation via a malicious image. This issue has been fixed in versions 1.3.6, 1.4.3 and 1.5.0.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| opencontainers runc | = < 1.3.6 | No fix listed |
| opencontainers runc | = >= 1.4.0-rc.1, < 1.4.3 | No fix listed |
| opencontainers runc | = >= 1.5.0-rc.1, < 1.5.0-rc.3 | No fix listed |
| debian/runc(Debian:12) | All versions | No fix listed |
| debian/runc(Debian:14) | < 1.3.6+ds1-1 | 1.3.6+ds1-1 |
| debian/runc(Debian:13) | All versions | No fix listed |
| opencontainers runc(Go) | < 1.3.6 | 1.3.6 |
| opencontainers runc(Go) | >= 1.4.0, < 1.4.3 | 1.4.3 |
| opencontainers runc(Go) | >= 1.5.0-rc.1, < 1.5.0-rc.3 | 1.5.0-rc.3 |
| redhat/container-tools:rhel8/runc(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/runc(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/runc(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/runc(Red Hat:openshift:5) | All versions | No fix listed |
| opencontainers runc(Go) | <= 1.3.5 | No fix listed |
| opencontainers runc(Go) | >= 1.4.0, <= 1.4.2 | No fix listed |
| opencontainers runc(Go) | >= 1.5.0-rc.1, <= 1.5.0-rc.2 | No fix listed |
| debian/runc(Debian:12) | = 1.1.10+ds1-1 | No fix listed |
| debian/runc(Debian:12) | = 1.1.12+ds1-1 | No fix listed |
| debian/runc(Debian:12) | = 1.1.12+ds1-2 | No fix listed |
| debian/runc(Debian:12) | = 1.1.12+ds1-3 | No fix listed |
| debian/runc(Debian:12) | = 1.1.12+ds1-4 | No fix listed |
| debian/runc(Debian:12) | = 1.1.12+ds1-5 | No fix listed |
Show 59 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/runc(Debian:12) | = 1.1.12+ds1-5.1 | No fix listed |
| debian/runc(Debian:12) | = 1.1.15+ds1-1 | No fix listed |
| debian/runc(Debian:12) | = 1.1.15+ds1-2 | No fix listed |
| debian/runc(Debian:12) | = 1.1.5+ds1-1 | No fix listed |
| debian/runc(Debian:12) | = 1.1.5+ds1-1+deb12u1 | No fix listed |
| debian/runc(Debian:12) | = 1.1.5+ds1-2 | No fix listed |
| debian/runc(Debian:12) | = 1.1.5+ds1-3 | No fix listed |
| debian/runc(Debian:12) | = 1.1.5+ds1-4 | No fix listed |
| debian/runc(Debian:12) | = 1.1.5+ds1-5 | No fix listed |
| debian/runc(Debian:12) | = 1.3.0+ds1-1 | No fix listed |
| debian/runc(Debian:12) | = 1.3.0+ds1-2 | No fix listed |
| debian/runc(Debian:12) | = 1.3.0+ds1-3 | No fix listed |
| debian/runc(Debian:12) | = 1.3.0+ds1-4 | No fix listed |
| debian/runc(Debian:12) | = 1.3.2+ds1-1 | No fix listed |
| debian/runc(Debian:12) | = 1.3.3+ds1-1 | No fix listed |
| debian/runc(Debian:12) | = 1.3.3+ds1-2 | No fix listed |
| debian/runc(Debian:12) | = 1.3.3+ds1-3 | No fix listed |
| debian/runc(Debian:12) | = 1.3.5+ds1-1 | No fix listed |
| debian/runc(Debian:12) | = 1.3.6+ds1-1 | No fix listed |
| debian/runc(Debian:12) | = 1.4.3+ds1-1 | No fix listed |
| debian/runc(Debian:13) | = 1.1.15+ds1-2 | No fix listed |
| debian/runc(Debian:13) | = 1.3.0+ds1-1 | No fix listed |
| debian/runc(Debian:13) | = 1.3.0+ds1-2 | No fix listed |
| debian/runc(Debian:13) | = 1.3.0+ds1-3 | No fix listed |
| debian/runc(Debian:13) | = 1.3.0+ds1-4 | No fix listed |
| debian/runc(Debian:13) | = 1.3.2+ds1-1 | No fix listed |
| debian/runc(Debian:13) | = 1.3.3+ds1-1 | No fix listed |
| debian/runc(Debian:13) | = 1.3.3+ds1-2 | No fix listed |
| debian/runc(Debian:13) | = 1.3.3+ds1-3 | No fix listed |
| debian/runc(Debian:13) | = 1.3.5+ds1-1 | No fix listed |
| debian/runc(Debian:13) | = 1.3.6+ds1-1 | No fix listed |
| debian/runc(Debian:13) | = 1.4.3+ds1-1 | No fix listed |
| debian/runc(Debian:14) | = 1.1.15+ds1-2 | No fix listed |
| debian/runc(Debian:14) | = 1.3.0+ds1-1 | No fix listed |
| debian/runc(Debian:14) | = 1.3.0+ds1-2 | No fix listed |
| debian/runc(Debian:14) | = 1.3.0+ds1-3 | No fix listed |
| debian/runc(Debian:14) | = 1.3.0+ds1-4 | No fix listed |
| debian/runc(Debian:14) | = 1.3.2+ds1-1 | No fix listed |
| debian/runc(Debian:14) | = 1.3.3+ds1-1 | No fix listed |
| debian/runc(Debian:14) | = 1.3.3+ds1-2 | No fix listed |
| debian/runc(Debian:14) | = 1.3.3+ds1-3 | No fix listed |
| debian/runc(Debian:14) | = 1.3.5+ds1-1 | No fix listed |
| ubuntu/runc(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/runc-app(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/runc(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/runc-app(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/runc(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/runc-app(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/runc-stable(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/runc(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/runc-app(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/runc-stable(Ubuntu:26.10) | All versions | No fix listed |
| linuxfoundation runc | < 1.3.6 | 1.3.6 |
| linuxfoundation runc | >= 1.4.0, < 1.4.3 | 1.4.3 |
| linuxfoundation runc | = 1.5.0-rc1 | No fix listed |
| linuxfoundation runc | = 1.5.0-rc2 | No fix listed |
| alpine/runc(Alpine:v3.23) | >= 1.4.0, < 1.4.3-r0 | 1.4.3-r0 |
| alpine/runc(Alpine:v3.24) | >= 1.4.0, < 1.4.3-r0 | 1.4.3-r0 |
| azure linux runc(Azure Linux:3.0) | < 1.3.6-1 | 1.3.6-1 |
References
- https://github.com/opencontainers/runc/security/advisories/GHSA-xjvp-4fhw-gc47 mitigation patch vendor-advisory
- https://github.com/opencontainers/runc/commit/864db8042dbb patch
- Debian Security Tracker CVE-2026-41579 vendor-advisory
- bugs.debian.org issue-tracking
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- github.com product
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2495813 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory