---
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: none
cwe:
  - CWE-61
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
tags:
  - nvd
epss: 0.00161
epssPercentile: 0.05714
ingestedAt: '2026-09-18T20:51:25.615Z'
---

## 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.
