---
id: CVE-2026-47766
title: crun is an open source OCI Container Runtime fully written in C
summary: >-
  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…
severity: high
cwe:
  - CWE-61
  - CWE-59
published: '2026-08-14'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T20:09:01.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-47766'
references:
  - url: 'https://github.com/containers/crun/releases/tag/1.28'
    label: security-advisories@github.com
  - url: 'https://github.com/containers/crun/security/advisories/GHSA-7vwr-4279-7gq5'
    label: security-advisories@github.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-47766.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-47766'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2516081'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-47766'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-47766'
  - url: 'https://access.redhat.com/errata/RHSA-2026:54855'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
epss: 0.00196
epssPercentile: 0.09191
ingestedAt: '2026-09-18T20:51:25.615Z'
vendor: Red Hat
product: Red Hat Hardened Images
affected:
  - hardened_images
patched:
  - hardened_images
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H'
cvssSource: vendor
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:54855** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-08-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:54855)
- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-47766.json)
