Container escape via inherited hook environment
Published Jul 17, 2025 · Updated Feb 26, 2026
Untrusted search paths in NVIDIA Container Toolkit 1.17.7 and earlier allow local users to gain host root via a crafted GPU container. The privileged enable-cuda-compat createContainer hook inherits image-controlled environment variables, so LD_PRELOAD loads a shared object from the container root filesystem. Exploitation requires permission to start an attacker-controlled GPU container; versions before 1.17.5 are affected only in CDI mode, and crun-based systems are unaffected.
Summary
What happened
Untrusted search paths in NVIDIA Container Toolkit 1.17.7 and earlier allow local users to gain host root via a crafted GPU container. The privileged enable-cuda-compat createContainer hook inherits image-controlled environment variables, so LD_PRELOAD loads a shared object from the container root filesystem. Exploitation requires permission to start an attacker-controlled GPU container; versions before 1.17.5 are affected only in CDI mode, and crun-based systems are unaffected.
The record
- CVE
- CVE-2025-23266
- Published
- Jul 17, 2025
- Updated
- Feb 26, 2026
- Vendor
- DPDK Project
- Product
- NVIDIA Container Toolkit
- Classifications
- CWE-426, CAPEC-38, T1611
- Attack vector
- adjacent
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 17, 2025CVE publishedPublication date reported by the CVE source.
- Feb 26, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=NVIDIA Container Toolkit All versions up to and including 1.17.7 (CDI mode only for versions prior to 1.17.5)
- Affected versionversion=NVIDIA GPU Operator All versions up to and including 25.3.0 (CDI mode only for versions prior to 25.3.0)
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Three-line Dockerfile proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo