Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-47766

Опубликовано: 14 авг. 2026
Источник: redhat
CVSS3: 8.4
EPSS Низкий

Описание

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.

A flaw was found in crun, an OCI Container Runtime. When processing an OCI bundle where the container root filesystem's /dev directory is a symbolic link and /dev is not explicitly mounted, crun incorrectly follows this symlink outside the container's intended boundaries. This allows a local attacker to create or overwrite device nodes and symlinks in arbitrary locations on the host system, potentially leading to privilege escalation or denial of service.

Отчет

A flaw was found in crun's device setup routine. When processing an OCI container bundle where the rootfs "/dev" directory is configured as a symlink and "/dev" is not explicitly mounted, crun traverses the symlink without using O_NOFOLLOW. This allows crun to create default device nodes and stdio symlinks at the target path on the host filesystem outside the container boundary. A local attacker supplying a crafted bundle can overwrite existing host files or create unauthorized device nodes, potentially resulting in host denial of service, file corruption, or privilege escalation.

Меры по смягчению последствий

Explicitly configure a dedicated "/dev" mount point inside the container bundle specification, or restrict untrusted users from deploying custom, unvetted OCI container bundles on the host.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10crunAffected
Red Hat Enterprise Linux 9crunAffected
Red Hat OpenShift Container Platform 4crunAffected
Red Hat Enterprise Linux 8container-toolsFixedRHSA-2026:10054919.11.2026
Red Hat Enterprise Linux 9.8 Extended Update SupportcrunFixedRHSA-2026:9911712.11.2026
Red Hat Hardened Imagescrun-main-1.28-2.hum1FixedRHSA-2026:5485514.08.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-59
https://bugzilla.redhat.com/show_bug.cgi?id=2516081crun: crun: Arbitrary file creation/overwrite via symlink following

EPSS

Процентиль: 2%
0.00155
Низкий

8.4 High

CVSS3

Связанные уязвимости

ubuntu
4 месяца назад

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.

nvd
4 месяца назад

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.

debian
4 месяца назад

crun is an open source OCI Container Runtime fully written in C. Prior ...

rocky
9 дней назад

Important: container-tools:rhel8 security, bug fix, and enhancement update

oracle-oval
6 дней назад

ELSA-2026-100549: container-tools:ol8 security, bug fix, and enhancement update (IMPORTANT)

EPSS

Процентиль: 2%
0.00155
Низкий

8.4 High

CVSS3