Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.8CVE-2026-133553

crun: TOCTOU race in tmpcopyup allows copying image files onto host files

Published 20/11/2026 · Updated 25/11/2026 · Red Hat Enterprise Linux 10

Summary

A TOCTOU flaw (CWE-367) was found in crun, the OCI container runtime. When copying files onto a tmpfs mounted with the tmpcopyup option, crun opens the destination a second time by name. A container that shares a writable volume with the container being created can change that path between the two lookups. As a result, crun copies image files onto host files, including files under /proc/sys.

Per the CVSS vector (7.8, High), the attack is local and requires low privileges, such as control of a container. No user interaction is needed. Attack complexity is high because the attacker must win a race. Scope is changed (S:C), meaning the impact escapes the container to the host, with high impact on confidentiality, integrity and availability.

The flaw is not listed in the CISA KEV catalog. The EPSS probability of exploitation is low (about 0.1%).

Who is affected

This affects organizations running crun on Red Hat Enterprise Linux 8, 9 and 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4 and 5, especially where untrusted containers share volumes.

What to do

  1. No fixed version is listed in the record. Monitor the official Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-133553) and apply the crun package update as soon as it is available.
  2. Workaround: do not give an untrusted container a writable volume that is also the destination of a tmpcopyup tmpfs.
  3. Check whether you use Podman --read-only with images that symlink /var/tmp into the shared volume, or --tmpfs pointed into the shared volume. Avoid these configurations.
  4. Inventory hosts and OpenShift nodes running crun and identify which containers share writable volumes with each other.
  5. Track Bugzilla 2577547 for fix status.

Vendor workaround

Do not give an untrusted container a writable volume that is also the destination of a tmpcopyup tmpfs. That includes Podman --read-only when the image symlinks /var/tmp into the volume, and --tmpfs pointed into the shared volume.

Original text from the vendor's CVE record.

Affected products and versions

Red Hat Red Hat Enterprise Linux 10
Red Hat Red Hat Enterprise Linux 8
Red Hat Red Hat Enterprise Linux 9
Red Hat Red Hat Hardened Images
Red Hat Red Hat OpenShift Container Platform 4
Red Hat Red Hat OpenShift Container Platform 4
Red Hat Red Hat OpenShift Container Platform 4
Red Hat Red Hat OpenShift Container Platform 5

CVSS vector, explained

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Attack vector
Local
Attack complexity
High
Privileges required
Regular user
User interaction
Not required
Scope
Affects other components
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.