{"id":"CVE-2026-47766","summary":"crun follows rootfs /dev symlink while creating default devices","details":"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 -\u003e pts/ptmx` symlink. Version 1.28 fixes the issue.","aliases":["GHSA-7vwr-4279-7gq5"],"modified":"2026-08-16T03:48:29.822406720Z","published":"2026-08-14T16:16:37.525Z","related":["SUSE-SU-2026:22247-1","SUSE-SU-2026:22395-1","openSUSE-SU-2026:11030-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-61"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47766.json"},"references":[{"type":"WEB","url":"https://github.com/containers/crun/releases/tag/1.28"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47766.json"},{"type":"ADVISORY","url":"https://github.com/containers/crun/security/advisories/GHSA-7vwr-4279-7gq5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47766"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/containers/crun","events":[{"introduced":"0"},{"fixed":"54f16ffbefcd022bf032af768b5c5ce075c18bfc"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.28"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["1.27","1.5","1.0","0.12.1","0.10.6","0.10.5","0.10.4","0.10.3","0.10.2","0.10.1","0.10","0.9.1","0.9","0.8","0.7","0.6","0.5","0.4","v0.3","v0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47766.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}