What’s Vulnerable › Vulnerabilities
CVE-2026-47766: crun follows rootfs /dev symlink while creating default devices
- Severity: medium (CVSS 5.1 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-14 · updated 2026-09-18
- Weakness: CWE-61
Description
crun is an open source OCI Container Runtime fully written in C. Prior to version 1.28, crun's default device setup opens the container rootfs `/dev` directory without `O_NOFOLLOW`. If an OCI bundle contains `rootfs/dev` as a symlink and the bundle configuration does not mount `/dev`, crun follows that symlink and creates the default device nodes and stdio symlinks at the symlink target outside the container rootfs. In a local rootful crun replay, this created fixed device nodes and symlinks outside the rootfs before crun returned failure. A pre-existing file named `ptmx` in the target directory was also replaced by crun's forced `ptmx -> pts/ptmx` symlink. Version 1.28 fixes the issue.
Affected products
- containers crun: before 1.28
References
- https://github.com/containers/crun/releases/tag/1.28
- https://github.com/containers/crun/security/advisories/GHSA-7vwr-4279-7gq5
Get alerted when CVE-2026-47766 or the next vulnerability affects your stack