Skip to content
OpenAdvisories
Medium · 5.1 CVE-2026-47766 EUVD-2026-58714

crun follows rootfs /dev symlink while creating default devices

Published Aug 14, 2026 · Updated Aug 14, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
containers crun < 1.28 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 crun 1.28-1 —
Debian 13 crun No fix yet —
Debian 12 crun No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 crun No fix yet —
Ubuntu 26.04 LTS crun No fix yet —
Ubuntu 25.10 crun No fix yet —
Ubuntu 24.04 LTS crun No fix yet —
Ubuntu 22.04 LTS crun No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS crun No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 crun +2 1.28-2.hum1 RHSA-2026:54855
ReleasePackageFixed inAdvisory
SLE Micro 6.1 crun 1.15-slfo.1.1_2.1 SUSE-SU-2026:22247-1
SLE Micro 6.0 crun 1.14-3.1 SUSE-SU-2026:22395-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed crun 1.28-1.1 openSUSE-SU-2026:11030-1
ReleasePackageFixed inAdvisory
Alpine v3.24 crun 1.28-r0 —
Alpine v3.23 crun 1.28-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 crun No fix yet —

Advisories 5

References