{"id":"CVE-2026-47766","published":"2026-08-14T16:16:37Z","modified":"2026-08-14T16:32:20Z","title":"crun follows rootfs /dev symlink while creating default devices","vendor":"containers","product":"crun","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00155,"percentile":0.0469,"provenance":"source"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"references":[{"url":"https://github.com/containers/crun/security/advisories/GHSA-7vwr-4279-7gq5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/containers/crun/releases/tag/1.28","tags":["x_refsource_MISC"]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":0.94},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"containers","affectedVersions":[{"vendor":"containers","product":"crun","versions":["< 1.28"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-14T16:32:07.749164Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-58714","exploited":false,"provenance":"source"}}