Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/opencontainers/runc
  4. ›
  5. CVE-2026-41579

CVE-2026-41579: runc: Malicious image with /dev symlink can trigger limited host filesystem integrity violations

June 22, 2026

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.

Please note that this issue is not exploitable under Docker because it creates a top-level ro layer that masks any malicious /dev symlink present in the container image (this is also done without mounting the lower layers so there is no opportunity for the malicious /dev symlink to trick it into resolving to some other path). Unfortunately, Podman and containerd† do not do this and so users using those higher-level runtimes with runc can be exploited via a malicious image.

This issue mirrors a somewhat similar issue in crun, which was also published recently.

References

  • github.com/advisories/GHSA-xjvp-4fhw-gc47
  • github.com/opencontainers/runc/security/advisories/GHSA-xjvp-4fhw-gc47
  • nvd.nist.gov/vuln/detail/CVE-2026-41579

Code Behaviors & Features

Detect and mitigate CVE-2026-41579 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.6, all versions starting from 1.4.0 before 1.4.3, all versions starting from 1.5.0-rc.1 before 1.5.0-rc.3

Fixed versions

  • 1.3.6
  • 1.4.3
  • 1.5.0-rc.3

Solution

Upgrade to versions 1.3.6, 1.4.3, 1.5.0-rc.3 or above.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-61: UNIX Symbolic Link (Symlink) Following

Source file

go/github.com/opencontainers/runc/CVE-2026-41579.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:12 +0000.