Skip to main content

CVE-2024-0132 and CVE-2025-23359: The Container Toolkit Escape and Its Bypass


CVEScoreNameAffectedPatchedDisclosed
CVE-2024-01329.0 CriticalNot namedNVIDIA Container Toolkit ≤ 1.16.1 / GPU Operator ≤ 24.6.1Toolkit 1.16.2 / GPU Operator 24.6.2September 25, 2024
CVE-2024-01334.1 MediumNot namedNVIDIA Container Toolkit ≤ 1.16.1 / GPU Operator ≤ 24.6.1Toolkit 1.16.2 / GPU Operator 24.6.2September 25, 2024
CVE-2025-233598.3 HighNot namedNVIDIA Container Toolkit ≤ 1.17.3 / GPU Operator ≤ 24.9.1Toolkit 1.17.4 / GPU Operator 24.9.2February 11, 2025

CVE-2024-0132 and CVE-2024-0133 reported by Andres Riancho, Ronen Shustin and Shir Tamari (Wiz Research). CVE-2025-23359 reported separately by the same Wiz team, Dre Cura (Trend Micro Research), and Lei Wang.

For executives​

In September 2024, NVIDIA fixed CVE-2024-0132, a critical flaw in the NVIDIA Container Toolkit that let a malicious container image escape to the GPU host underneath it. The toolkit sits in the start-up path of almost every NVIDIA GPU container, so the exposure covered nearly every containerized GPU workload. The fix was incomplete. In February 2025, NVIDIA fixed CVE-2025-23359, a bypass that reaches the same outcome by a different route, which is why the researchers withheld technical detail for five months. Both bugs are races inside the toolkit's mount step at container start, before container security tools begin watching.

Why this is a GPU problem​

GPU containers need host driver libraries mounted into them at start-up, and those libraries must match the host driver exactly. The toolkit does the mounting as root on the host, using paths that come from the container image. That makes the container image an input to a privileged host operation, a situation CPU containers do not create.

CVE-2024-0132: the original race​

CVE-2024-0132 is a time-of-check time-of-use (TOCTOU) race. The toolkit checks that the file paths it will mount from a container image are safe, then mounts them. In the window between the check and the mount, an attacker replaces a legitimate path with a symlink that redirects the mount to a location on the host filesystem. The result is access to the host's filesystem from inside the container, and from there full control of the host.

CVE-2024-0133 (4.1 Medium), fixed in the same release, lets a crafted image create empty files on the host filesystem. Files at specific paths can change the behavior of host processes that check for a file's existence.

Why NVIDIA held the details for five months​

When Wiz disclosed CVE-2024-0132, it published almost no technical detail. According to Wiz, NVIDIA found during disclosure that its own patch did not fully close the flaw, and asked the researchers to hold back while a complete fix was built. That fix shipped in February 2025 as CVE-2025-23359, a new bug in the patched code rather than a re-issue of the original. Three research teams reported it independently.

CVE-2025-23359: the bypass​

The toolkit's mount_files function processes paths from the container image before mounting them. The bypass routes around the original patch through the /usr/local/cuda/compat/ mount path, which the toolkit resolves twice during initialization. The patch validated the path at first resolution. Between the first and second use, a crafted symlink redirects the mount to an arbitrary host location.

The first foothold is read-only access to the host filesystem. That is enough to find the Docker daemon's Unix socket, and access to the socket lets an attacker launch a new privileged container in a single step, which gives full control of the host.

Trend Micro researcher Abdelrahman Esmail also identified a related performance flaw: when many containers are created with mounts that use bind-propagation=shared, the Linux mount table grows without bound and exhausts file descriptors, until Docker can no longer create containers on the host.

Who was affected​

CVE-2024-0132 affected every deployment of the Container Toolkit at 1.16.1 or earlier and the GPU Operator at 24.6.1 or earlier, except Container Device Interface (CDI) deployments. In 2024 most production GPU deployments used the legacy NVIDIA Container Runtime rather than CDI. CDI has since become the default. CVE-2025-23359 affected Toolkit 1.17.3 and GPU Operator 24.9.1 and earlier.

These are the first two of five headline Container Toolkit vulnerabilities; the same race class returned in June 2026 as CVE-2026-24260. AI Runtime Container Escape covers all five.

Detection​

Both races run inside the toolkit's mount step, before the container's process tree exists, so container runtime monitoring has nothing to observe yet. Detection belongs on the host, watching the toolkit's own activity on both the CDI and legacy paths: symlinks in container image paths, including the compat path, that resolve outside the container's root filesystem at mount time; host paths appearing inside a GPU container that the toolkit never meant to mount; and a GPU container that then reaches the Docker or containerd socket, followed by a privileged container launched seconds later. Each signal is weak alone. Correlated on one node within one container start, they identify the attack.

Patch and mitigation​

Upgrade the Container Toolkit to 1.17.4 or later and the GPU Operator to 24.9.2 or later to cover both CVEs; current releases (Toolkit 1.19.1, GPU Operator 26.3.2) also fix CVE-2026-24260. Version 1.17.4 introduced a feature flag, allow-cuda-compat-libs-from-container. Enabling it re-exposes the TOCTOU vulnerability, so leave it disabled.