{"id":"UBUNTU-CVE-2026-47766","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.","modified":"2026-08-19T13:32:06.056624493Z","published":"2026-08-14T17:18:00Z","upstream":["CVE-2026-47766"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-47766"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-47766"},{"type":"REPORT","url":"https://github.com/containers/crun/security/advisories/GHSA-7vwr-4279-7gq5"},{"type":"REPORT","url":"https://github.com/containers/crun/commit/c6f338ac2e26e216ab7820b91863a0b84e608097"}],"affected":[{"package":{"name":"crun","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/crun?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.5+dfsg-1","0.10.6+dfsg-1","0.11+dfsg-1","0.12+dfsg-1","0.12.1+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"crun","binary_version":"0.12.1+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47766.json"}},{"package":{"name":"crun","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/crun?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.17+dfsg-1","0.17+dfsg-1.1","0.17+dfsg-1.1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"crun","binary_version":"0.17+dfsg-1.1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47766.json"}},{"package":{"name":"crun","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/crun?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.5-1","1.11-1","1.11.1-1","1.12-1","1.13-1","1.14-1","1.14.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.14.1-1","binary_name":"crun"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47766.json"}},{"package":{"name":"crun","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/crun?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20-1syncable1","1.21-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"crun","binary_version":"1.21-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47766.json"}},{"package":{"name":"crun","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/crun?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.21-1ubuntu2","1.21-1ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"crun","binary_version":"1.21-1ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-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"},{"type":"Ubuntu","score":"medium"}]}