Link following in crun - CVE-2026-47766
Published: May 27, 2026
crun
Detailed vulnerability description
The vulnerability allows a local user to create device nodes and symlinks outside the container rootfs.
The vulnerability exists due to improper link resolution in create_missing_devs() in src/libcrun/linux.c when processing an OCI bundle whose rootfs/dev is a symlink and /dev is not mounted. A local user can supply a crafted bundle to create device nodes and symlinks outside the container rootfs.
A pre-existing file named ptmx at the symlink target can be replaced with a pts/ptmx symlink before crun returns failure.