CVE Database›Document archive›CVE-2026-47766

CVE-2026-47766

crun: crun: Arbitrary file creation/overwrite via symlink following

Loading…

Severity

Important

Red Hat Product Security

8.4

CVSS 3.1

Review impact separately from score.

Published · August 15, 2026

Updated · November 3, 2026

Description

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.

Statement

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

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.

CVSS / CWE

CVSS 3.1 · 8.4
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

CWE-59 · Improper Link Resolution Before File Access