crun: Race condition in tmpcopyup (CVE-2026-133553)
A race condition in crun allows a container to overwrite host files, including /proc/sys, by manipulating paths during the tmpcopyup process on shared writable volumes.
CVE search metadata
CVE search record: CVE-2026-133553. Severity: high. CVSS: 7.8. KEV: no. Product: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Hardened Images, Red Hat OpenShift Container Platform 4, Red Hat OpenShift Container Platform 5. Brief: crun: Race condition in tmpcopyup (CVE-2026-133553). Brief link: https://feed.craftedsignal.io/briefs/2026-11-crun-race-condition-cve-2026-133553/
Triage facts
Revision 1- Applicability
- Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8 +4
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 20, 06:32 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Very likely
Overview
A flaw exists in crun where, when copying files onto a tmpfs mounted with tmpcopyup, the tool opens the destination file by name twice. An attacker-controlled container that shares a writable volume with the container currently being created can modify the destination path between these two lookups. This behavior allows the malicious container to force crun to copy image files onto arbitrary files on the host system, including sensitive files under /proc/sys. Red Hat assesses the severity of this issue as Important.
Impact
A successful exploit allows for potential privilege escalation or system instability by overwriting critical host files. The vulnerability requires the presence of a shared writable volume and the use of the tmpcopyup mechanism.
Recommendation
To mitigate this vulnerability, avoid giving untrusted containers access to writable volumes that are also the destination of a tmpcopyup tmpfs mount. This specifically includes avoiding the use of the Podman --read-only flag in scenarios where the image symlinks /var/tmp into the volume, as well as avoiding the use of --tmpfs to point into a shared volume.
Threat Hunt
Identify containers configured with shared writable volumes and tmpfs mounts.
Data: Container orchestration logs, Podman/Docker container configuration manifest
Mitigations
Review container configurations to ensure untrusted containers do not use writable shared volumes in conjunction with tmpcopyup or --tmpfs.