p PatchFirst

CVE-2026-47766

CVE-2026-47766 · crun follows rootfs /dev symlink while creating default devices

CVSS 5.1 · Medium · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • crunNo fix published
  • crun Alpine 3.23Update to 1.28-r0
  • crun Alpine 3.24Update to 1.28-r0
  • crun Debian 12No fix published
  • and 8 more

Check the installed version:

apk list -I -o crun
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="crun"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • crun

    Versions
    • < 1.28: Affected

    No fix published

  • crun Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 1.28-r0

    Update to 1.28-r0

  • crun Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 1.28-r0

    Update to 1.28-r0

  • crun Debian 12

    Versions
    • 1.10-1
    • 1.11-1
    • 1.11.1-1
    • 1.12-1
    • 1.13-1
    • 1.14-1
    All versions (31)
    • 1.14.1-1
    • 1.14.4-1
    • 1.15-1
    • 1.16-1
    • 1.16.1-1
    • 1.17-1
    • 1.18-1
    • 1.18.1-1
    • 1.18.2-1
    • 1.19.1-1
    • 1.20-1
    • 1.21-1
    • 1.21-2
    • 1.21-3
    • 1.24-1
    • 1.26-1
    • 1.27-1
    • 1.27.1-1
    • 1.28-1
    • 1.8.1-1
    • 1.8.1-1+deb12u1
    • 1.8.5-1
    • 1.8.6-1
    • 1.8.7-1
    • 1.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • crun Debian 13

    Versions
    • 1.21-1
    • 1.21-2
    • 1.21-3
    • 1.24-1
    • 1.26-1
    • 1.27-1
    All versions (8)
    • 1.27.1-1
    • 1.28-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • crun Debian 14

    Versions
    • 1.21-1
    • 1.21-2
    • 1.21-3
    • 1.24-1
    • 1.26-1
    • 1.27-1
    All versions (7)
    • 1.27.1-1
    Affected ranges
    • ECOSYSTEM: < 1.28-1

    Update to 1.28-1

  • crun Ubuntu 20.04 LTS

    Versions
    • 0.10.5+dfsg-1
    • 0.10.6+dfsg-1
    • 0.11+dfsg-1
    • 0.12+dfsg-1
    • 0.12.1+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • crun Ubuntu 22.04 LTS

    Versions
    • 0.17+dfsg-1
    • 0.17+dfsg-1.1
    • 0.17+dfsg-1.1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • crun Ubuntu 24.04 LTS

    Versions
    • 1.8.5-1
    • 1.11-1
    • 1.11.1-1
    • 1.12-1
    • 1.13-1
    • 1.14-1
    All versions (7)
    • 1.14.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • crun Ubuntu 25.10

    Versions
    • 1.20-1syncable1
    • 1.21-1ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • crun Ubuntu 26.10

    Versions
    • 1.21-1ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • crun Ubuntu 26.04 LTS

    Versions
    • 1.21-1ubuntu2
    • 1.21-1ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →