B-2

Understanding the NVIDIAScape (CVE‑2025‑23266) Container Toolkit Vulnerability – and Why Your AI Workloads Are Most Likely Safe

Understanding the NVIDIAScape (CVE‑2025‑23266) Container Toolkit Vulnerability – and Why Your AI Workloads Are Most Likely Safe

Overview:

CVE-2025-23266 is a container‑escape vulnerability (CVSS 9.0) affecting the NVIDIA Container Toolkit and GPU Operator. While this vulnerability requires multiple specific conditions, it has the potential to allow a malicious container image to escape its sandbox and execute code as root on the host.

NVIDIA has released patched versions of both components. Upgrading to Toolkit v1.17.8  and  GPU Operator 25.3.1 or disabling an optional hook mitigates the vulnerability. In addition, Upwind’s continuous runtime protection detects vulnerable hosts and blocks exploitation attempts at runtime, securing environments even if all of the required conditions for this vulnerability to be exploited are met.

Vulnerability Summary:

The NVIDIA Container Toolkit relies on OCI (Open Container Initiative) hooks to prepare a container for GPU access. One such hook, enable‑cuda‑compat, inherits environment variables from the container. An attacker can craft an image that sets LD_PRELOAD to point to a rogue library. When the privileged hook starts, the library loads outside the container, giving the attacker root on the node. In multi‑tenant GPU clusters, this risks cross‑tenant data exposure.

Affected Versions

  • NVIDIA Container Toolkit: versions ≤ 1.17.7 are affected. Versions ≤ 1.17.4 are vulnerable when running in CDI mode.
  • NVIDIA GPU Operator: versions ≤ 25.3.0 are affected in all modes.

The issue is fully resolved in Toolkit v1.17.8 and GPU Operator v25.3.1. Air‑gapped or serverless GPU services that don’t expose the Toolkit binary are not affected.

Odds of Exploitation:

While the vulnerability was given a CVSS 9.0 rating, there are a number of environmental factors that make it less likely to be exploited, such as:

  1. No remote code execution by itself: This issue does not allow remote code execution on its own. To exploit it, an attacker must be able to run a container on a Kubernetes node equipped with an NVIDIA GPU and the NVIDIA Container Toolkit.
  2. Single‑hook exposure: Only the enable-cuda-compat hook is affected, and it is optional. Disabling this hook mitigates the issue.
  3. Straightforward patch path: the fixed binaries are a drop‑in upgrade; no driver or kernel changes required.
  4. Host isolation still works: VM boundaries remain intact. In managed Kubernetes services that use VM‑level isolation (e.g., GKE Node Pools, EKS Managed Node Groups), a compromise stays within the VM.

Remediation

1. Upgrade the NVIDIA container toolkit

    # Ubuntu/RHEL
    apt/yum update nvidia-container-toolkit
    helm upgrade gpu-operator nvidia/gpu-operator 
        --set toolkit.version=v1.17.8-ubuntu20.04  # adjust tag for your distro

    2. Disable the affected hook as a temporary measure:

      • In runtime mode, set disable-cuda-compat-lib-hook = true in /etc/nvidia-container-toolkit/config.toml.
      • In GPU Operator deployments, add disable-cuda-compat-lib-hook to the NVIDIA_CONTAINER_TOOLKIT_OPT_IN_FEATURES environment variable.

      3. Restrict execution of untrusted images until all affected nodes are patched.

        How Upwind Protects Against CVE-2025-23266

        Upwind ensures that AI infrastructure remains protected against container breakout vulnerabilities like CVE‑2025‑23266. Key protections include:

        • Automated asset discovery: Upwind’s runtime scanner identifies all hosts and containers running vulnerable Toolkit ≤ 1.17.7 or GPU Operator ≤ 25.3.0 versions, enabling targeted remediation.
        • eBPF‑powered escape detection: Upwind hooks observe events and raise critical alerts on suspicious activity such as LD_PRELOAD injections into nvidia‑ctk, alerting teams before privilege escalation completes.
        • Risk‑based prioritization: nodes that actually execute untrusted images or share GPUs between tenants are prioritized for response, ensuring security teams focus efforts where they matter most.

        Final thoughts

        While container escape vulnerabilities are serious, there are multiple specific conditions that must be met in order for this CVE to be exploited, making it significantly less likely to impact customers. The mitigation is also straightforward: upgrade one package or disable one configuration flag. Upwind customers are already protected by continuous runtime monitoring, real-time threat detection, and environment-aware risk scoring.

        If you need help locating or addressing this vulnerability in your environment,  contact us at [email protected] to see how Upwind transforms vulnerability management from days of analysis into minutes of action.

        Contents

        Further Reading

        Let Me Speak to Your Manager (Account)

        Let Me Speak to Your Manager (Account)

        The management account is the most privileged account in any AWS Organization. It controls SCPs, creates and deletes member accounts, manages IAM Identity Center, and is itself exempt from SCPs. Getting its 12-digit account ID is the first step in targeting it. The documented way to get it is organizations:DescribeOrganization - but security-conscious environments restrict…
        Configuration-Focus

        Introducing the new Configurations experience in Upwind

        Compliance should not be a fire drill! Ask a security team how audit season goes and you will often hear a version of the same story. Someone pulls a list of cloud accounts. Someone else exports findings into a spreadsheet that is already outdated by the time it is shared. Screenshots get pasted into a…
        What You Could Build If IAM Let You

        What You Could Build If IAM Let You: New Policies From Undocumented Condition Keys

        In the previous post, we mapped 36 condition keys that the IAM engine evaluates but has never documented. The decomposition model, the service-specific resource identifiers, the organizational metadata - all of it sitting in the request context, invisible unless you probe for it. That post was about discovery. This one is about what you can…
        Add the Upwind RSS Feed to Slack
        Connect the Upwind RSS Feed to your Slack.
        Follow the how-to here.
        Threat RSS
        Add the Upwind RSS Feed to Slack
        Connect the Upwind RSS Feed to your Slack.
        Follow the how-to here.
        Main RSS