Description
NVIDIA Megatron-LM for all platforms contains a vulnerability in the megatron/training/ arguments.py component where an attacker could cause a code injection issue by providing a malicious input. A successful exploit of this vulnerability may lead to code execution, escalation of privileges, information disclosure, and data tampering.
Problem types
CWE-94 Improper Control of Generation of Code ('Code Injection')
Product status
All versions prior to 0.12.2
References
nvd.nist.gov/vuln/detail/CVE-2025-23306
www.cve.org/CVERecord?id=CVE-2025-23306
nvidia.custhelp.com/app/answers/detail/a_id/5685