Vulnerability
CVE-2026-41579
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.
245 advisories report this vulnerability, across 12 ecosystems.
Advisories in Wolfi
- CGA-29j2-832w-cr9r
- CGA-2hjm-mwgw-cxxj
- CGA-2wm9-x3xm-x7gx
- CGA-343q-4678-c3rf
- CGA-3gh7-7gmv-xv27
- CGA-3wr3-24fv-x3p8
- CGA-4m7j-j7gj-4gfc
- CGA-4x3x-gmh9-rgpj
- CGA-52h7-r92m-jg6v
- CGA-55vw-4w8q-29vg
- CGA-6hw7-p7cf-6rhw
- CGA-7536-vr8h-w654
- CGA-82vc-2w28-hw6f
- CGA-88jf-97cp-pcf5
- CGA-8c57-p5x5-5fvc
- CGA-8rv8-h7r7-mhgm
- CGA-9fph-pp9m-xfrv
- CGA-9m6c-7p57-mrx8
- CGA-c8mj-rxpw-4xqv
- CGA-f3xw-pv96-6frw
- CGA-fm34-6x55-mpjp
- CGA-gcjv-mm93-86v7
- CGA-hrw5-2qcf-xjg4
- CGA-m96q-jrjq-45jw
- CGA-p6gx-fv5h-jpm5
- CGA-pq4x-qx6c-hfqv
- CGA-prqg-c4x8-r478
- CGA-pwj3-vmx5-vhf5
- CGA-q2qj-gw5p-9636
- CGA-rqvp-2hjh-r89r
- CGA-v9m3-hh99-487p
- CGA-vh52-p9c3-x4wc
- CGA-vq95-9p2g-94v3
- CGA-vvvp-8cfw-7h38
- CGA-vxgh-g7vh-qr67
- CGA-wcfr-362c-7wvp
- CGA-wmx2-ww5w-65v5
- CGA-xgjc-wv97-956p
- CGA-xjmf-76cf-jvh2