{"id":"CVE-2026-41579","published":"2026-07-01T00:02:08Z","modified":"2026-07-01T13:35:41Z","title":"runc: Malicious image with /dev symlink can trigger limited host filesystem integrity violations","vendor":"opencontainers","product":"runc","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00186,"percentile":0.08405,"provenance":"source"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"references":[{"url":"https://github.com/opencontainers/runc/security/advisories/GHSA-xjvp-4fhw-gc47","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/opencontainers/runc/commit/864db8042dbb","tags":["x_refsource_MISC"]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":1.68},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"opencontainers","affectedVersions":[{"vendor":"opencontainers","product":"runc","versions":["< 1.3.6",">= 1.4.0-rc.1, < 1.4.3",">= 1.5.0-rc.1, < 1.5.0-rc.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-01T13:34:05.348945Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/opencontainers/runc","vulnerableRanges":["<1.3.6",">=1.4.0, <1.4.3",">=1.5.0-rc.1, <1.5.0-rc.3"],"patched":["1.3.6","1.4.3","1.5.0-rc.3"],"from":["GHSA-xjvp-4fhw-gc47","GO-2026-5761"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-40859","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-opencontainers-runc-cve-2016-9962","parents":[{"from":"CVE-2021-43784","to":"CVE-2026-41579","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["libcontainer/rootfs_linux.go"],"commits":["https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554","https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae","https://github.com/opencontainers/runc/commit/864db8042dbb191028676f80addf8c35f348aee2"],"basis":"shared function","functions":["needsSetupDev","prepareRootfs"]}]}],"packageHistory":[{"cve":"CVE-2025-31133","published":"2025-11-06","fixed":"1.4.0-rc.3","kev":false},{"cve":"CVE-2025-52565","published":"2025-11-06","fixed":"1.4.0-rc.3","kev":false,"link":{"from":"CVE-2025-52565","to":"CVE-2026-41579","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/opencontainers/runc","fromFixed":"1.3.3","toFixed":"1.3.6","daysApart":237},{"kind":"same-code","provenance":"machine","files":["libcontainer/rootfs_linux.go"],"commits":["https://github.com/opencontainers/runc/commit/01de9d65dc72f67b256ef03f9bfb795a2bf143b4","https://github.com/opencontainers/runc/commit/398955bccb7f20565c224a3064d331c19e422398","https://github.com/opencontainers/runc/commit/864db8042dbb191028676f80addf8c35f348aee2"],"basis":"shared file"}]}},{"cve":"CVE-2025-52881","published":"2025-11-06","fixed":"1.4.0-rc.3","kev":false},{"cve":"CVE-2026-41579","published":"2026-07-01","fixed":"1.5.0-rc.3","kev":false}],"package":"Go:github.com/opencontainers/runc"}}