Advisory Details

July 21st, 2025

(Pwn2Own) NVIDIA Container Toolkit Environment Variable Handling Local Privilege Escalation Vulnerability

ZDI-25-626
ZDI-CAN-27193

CVE ID CVE-2025-23266
CVSS SCORE 8.8, AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
AFFECTED VENDORS NVIDIA
AFFECTED PRODUCTS Container Toolkit
VULNERABILITY DETAILS

This vulnerability allows local attackers to escalate privileges on affected installations of NVIDIA Container Toolkit. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the handling of hooks. The issue results from the lack of restrictions on environment variables prior to spawning a hook process. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the host system.

ADDITIONAL DETAILS NVIDIA has issued an update to correct this vulnerability. More details can be found at:
https://nvidia.custhelp.com/app/answers/detail/a_id/5659
DISCLOSURE TIMELINE
  • 2025-06-05 - Vulnerability reported to vendor
  • 2025-07-21 - Coordinated public release of advisory
  • 2025-07-21 - Advisory Updated
CREDIT Nir Ohfeld (@nirohfeld), Shir Tamari (@shirtamari)
BACK TO ADVISORIES