Skip to content
Heist/ feed
Back to feed
Medium

crun — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-47766

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.

Products
crun
Affected versions
0.10.5+dfsg-1, 0.10.6+dfsg-1, 0.11+dfsg-1, 0.12+dfsg-1, 0.12.1+dfsg-1, 0.17+dfsg-1, 0.17+dfsg-1.1, 0.17+dfsg-1.1ubuntu0.1, 1.11-1, 1.11.1-1, 1.12-1, 1.13-1, 1.14-1, 1.14.1-1, 1.20-1syncable1, 1.21-1ubuntu2, 1.21-1ubuntu3, 1.8.5-1
Fixed versions
Not specified
CVEs
CVE-2026-47766
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:06 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-47766

core-osv · Original source

Published 14 Aug 2026, 17:18 UTC

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.

osv:UBUNTU-CVE-2026-47766

crun

Fixed versions: Not specified

crun

Fixed versions: Not specified

crun

Fixed versions: Not specified

crun

Fixed versions: Not specified

crun

Fixed versions: Not specified

crun

Fixed versions: Not specified

Complete source record
{
  "id": "bcf1a56fcac49a58c5d71e6485f50e30ea28f88512b661e6b29a6fa9335ad5d5",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-47766",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-47766",
    "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 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.",
    "evidence": "osv:UBUNTU-CVE-2026-47766",
    "products": [
      {
        "name": {
          "value": "crun",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.10.5+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.10.6+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.11+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.12+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.12.1+dfsg-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "crun",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.17+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.17+dfsg-1.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.17+dfsg-1.1ubuntu0.1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "crun",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.8.5-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.11-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.11.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.12-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.13-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.14-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.14.1-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "crun",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.20-1syncable1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.21-1ubuntu2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "crun",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.21-1ubuntu3",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "crun",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.21-1ubuntu2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.21-1ubuntu3",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-47766",
      "aliases": [
        "UBUNTU-CVE-2026-47766"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "crun",
            "purl": "pkg:deb/ubuntu/crun?arch=source&distro=focal",
            "ecosystem": "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47766.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "crun",
                "binary_version": "0.12.1+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "crun",
            "purl": "pkg:deb/ubuntu/crun?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.17+dfsg-1",
            "0.17+dfsg-1.1",
            "0.17+dfsg-1.1ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47766.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "crun",
                "binary_version": "0.17+dfsg-1.1ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "crun",
            "purl": "pkg:deb/ubuntu/crun?arch=source&distro=noble",
            "ecosystem": "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",
            "1.14.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47766.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "crun",
                "binary_version": "1.14.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "crun",
            "purl": "pkg:deb/ubuntu/crun?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.20-1syncable1",
            "1.21-1ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47766.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "crun",
                "binary_version": "1.21-1ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "crun",
            "purl": "pkg:deb/ubuntu/crun?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.21-1ubuntu3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47766.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "crun",
                "binary_version": "1.21-1ubuntu3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "crun",
            "purl": "pkg:deb/ubuntu/crun?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.21-1ubuntu2",
            "1.21-1ubuntu3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47766.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "crun",
                "binary_version": "1.21-1ubuntu3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:00:19.805044270Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-47766"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-47766",
        "https://www.cve.org/CVERecord?id=CVE-2026-47766",
        "https://github.com/containers/crun/security/advisories/GHSA-7vwr-4279-7gq5",
        "https://github.com/containers/crun/commit/c6f338ac2e26e216ab7820b91863a0b84e608097"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-47766",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360427,
  "published_at": "2026-08-14T17:18:00+00:00"
}