Skip to main content

AI Runtime Container Escape: Five Toolkit CVEs and What Came Next


For executives​

Container escape is the attack in which code inside a container gets out and runs on the host. In GPU infrastructure it is a documented, recurring class: the NVIDIA Container Toolkit, which wires almost every NVIDIA GPU container to its host, produced five headline escape vulnerabilities between September 2024 and June 2026. The class has also spread beyond the toolkit, into AI storage services and the GPU driver itself. On a shared GPU node, one escape gives the attacker every tenant on that host. The toolkit's escapes happen in start-up hooks that run before the container's workload starts, and the driver escapes look like ordinary CUDA calls, so container security tools miss both unless they watch the GPU-specific layers directly.

Why GPU containers are different​

A container is isolated from its host by Linux namespaces and cgroups. A GPU container cannot stay fully isolated: the driver is a kernel module on the host, the user-space libraries must match it exactly, and the GPU is a host device. Something privileged has to reach into every GPU container as it starts and wire those in. That bridge is necessary, and every pass across it is an opening.

How the toolkit's hooks cross the boundary​

The toolkit uses OCI hooks, programs the container runtime calls at fixed points in a container's lifecycle. On the legacy path, nvidia-container-runtime-hook runs as a prestart hook and calls nvidia-container-cli to mount devices and libraries. On the Container Device Interface (CDI) path, now the default, nvidia-cdi-hook runs as a set of createContainer hooks inside the container's namespaces, still as root on the host. In Stealthium's tests, a single GPU container start produced six separate root executions of nvidia-cdi-hook, and on Toolkit 1.19.1 the legacy binaries never ran.

Five escapes in under two years​

CVEDateScoreWhat the hook trusted
CVE-2024-0132September 20249.0 CriticalAn image path checked, then swapped for a symlink before the mount (TOCTOU)
CVE-2025-23359February 20258.3 HighThe CUDA compat path, resolved twice, bypassing the 0132 fix
CVE-2025-23266 (NVIDIAScape)July 20259.0 CriticalLD_PRELOAD inherited from the image, loaded by a root hook
CVE-2025-23267July 20258.5 HighSymlinks in the image, followed by the update-ldcache hook onto the host
CVE-2026-24260June 20268.5 HighAnother time-of-check time-of-use race

Across six bulletins, the toolkit has had ten CVEs in all, including CVE-2024-0135 to CVE-2024-0137 (January 2025), where a crafted image could modify a host binary or, in nondefault configurations, reach host devices or the host's network namespace.

Why the pattern keeps repeating​

Each escape abuses a different step, and all share one shape: a privileged process runs before isolation is complete and acts on input taken from the container image. The hooks have to consume that input to do their job, so fixing individual bugs leaves the pattern intact. The evidence that patching lags is public: in August 2026, SemiAnalysis's ClusterMax review confirmed NVIDIAScape still escaped on production infrastructure at one of the 25 neocloud providers it assessed, more than a year after the fix.

Beyond the toolkit​

  • AI services that create containers. NVIDIA AIStore's legacy ETL path let a caller choose the container it wanted, unauthenticated by default. CVE-2026-65162 (10.0 Critical) let an attacker request a container with the host's process namespace and full privileges, then read and write the node's filesystem.
  • The driver. NvRoot (CVE-2026-47591) and ForgePtr (CVE-2026-47501), disclosed by Stealthium in November 2026, take an unprivileged process in a GPU container to root on the host through the NVIDIA driver, with nothing more than access to the GPU device files.

Detection​

Detecting toolkit escapes means watching the hooks themselves, on both paths, and keying on how a hook runs rather than whether it runs. Clean hook executions carry an empty environment, run from the toolkit's install directories, and are started by the container runtime (runc, crun, containerd-shim, dockerd, podman) or, on the CDI path, by the container's init. A hook carrying LD_PRELOAD, LD_AUDIT or LD_LIBRARY_PATH, running from an unexpected path, or started by a shell is an alert. Process names are truncated to 15 characters in kernel telemetry, so matching needs full executable paths. Detections written only against the legacy binary names report all clear on a CDI node while seeing nothing. For the wider class, the signals are a workload container started with host namespaces and full privileges, a container process reaching into the node's filesystem or kernel state, and driver calls no CUDA framework makes.