TOCTOU Container Escape in NVIDIA Container Toolkit
CVE-2024-0132 is a time-of-check time-of-use vulnerability affecting NVIDIA Container Toolkit through version 1.16.1 and NVIDIA GPU Operator through version 24.6.1 on Linux under the default configuration. Unsafe symbolic-link resolution while processing container-provided library paths during initialization allows a specially crafted container image to redirect privileged host-side toolkit operations to the host filesystem. Successful exploitation can escape container isolation and enable information disclosure, privilege escalation, code execution, data tampering, and denial of service. Deployments using Container Device Interface (CDI) are not affected.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
An attacker can initially mount and read the host filesystem, exposing host secrets, proprietary models, source code, and other workloads' data. Access to host container-runtime Unix sockets can subsequently enable arbitrary command execution as root and complete host takeover; a read-only filesystem mount does not prevent communication through those sockets. In shared GPU or Kubernetes environments, node compromise can undermine tenant isolation and potentially support lateral movement using exposed credentials or management interfaces. Integrity and availability impacts include data modification and service disruption.
If you can’t patch tonight, do this now.
Use CDI-based GPU integration where supported, since CDI use cases are unaffected by this vulnerability. Restrict execution of untrusted or externally supplied container images through image admission controls and trusted-image policies, prioritizing shared GPU hosts and tenant-supplied workloads. Limit access to container-runtime APIs and unnecessary host filesystem bindings or socket mounts. Monitor for unexpected container-to-host filesystem access and runtime socket activity. These controls supplement rather than replace security updates.
Patch, then assume compromise.
NVIDIA's original updates for CVE-2024-0132 are NVIDIA Container Toolkit 1.16.2 and NVIDIA GPU Operator 24.6.2. For affected AWS deployments, the corresponding updates include ECS/EKS GPU-optimized AMIs containing Container Toolkit 1.16.2 or later and Bottlerocket 1.24.0 or later. Subsequent research identified an incomplete fix and a related bypass tracked as CVE-2025-23359, so the original minimum versions should not be treated as sufficient protection against later variants. Install current vendor-supported security releases and validate the effective toolkit version and configuration on every GPU worker.
2 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
22 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.