CVE-2026-47766: crun - Path Traversal
- Cve: CVE-2026-47766
- Name: crun - Path Traversal
- Description: 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.
- Impact: Local attackers with root privileges can create or replace device nodes and symlinks outside the container rootfs, potentially leading to system compromise or disruption.
- Remediation: Update to version 1.28 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write
- Requirement type: logged_in
- Requirements: Attacker must have local root privileges
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.1
- Cvss vector: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00155
- Epss percentile: 0.0458
- Assignee: [email protected]
- Published at: 2026-08-14T17:18:18Z
- Age in days: 102
- Modified at: 2026-09-18T20:09:01Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-47766
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-61 | UNIX Symbolic Link (Symlink) Following |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/containers/crun/releases/tag/1.28 | nvd | |
| https://github.com/containers/crun/security/advisories/GHSA-7vwr-4279-7gq5 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| crun_project:crun | < 1.28 | no | cna_alias_text | /v1/products/crun_project/crun |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| containers/crun | fix, releases, security_advisory | yes | /v1/repositories/containers/crun |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts