CVE-2026-24152
7.8NVIDIA · Megatron-LM
NVIDIA Megatron-LM is vulnerable to remote code execution due to insecure deserialization during checkpoint loading, allowing attackers to compromise the host system via malicious files.
Executive summary
A critical deserialization vulnerability in NVIDIA Megatron-LM allows an authenticated local attacker to achieve remote code execution through the loading of a maliciously crafted checkpoint file.
Vulnerability
The software fails to safely deserialize untrusted data during the checkpoint loading process, which is classified as CWE-502. This vulnerability requires an attacker with low privileges to provide a malicious file for the application to process, resulting in potential full system compromise.
Business impact
The exploitation of this vulnerability poses a severe risk, as it allows for arbitrary code execution with the privileges of the user running the model training or inference processes. Given the CVSS score of 7.8, this flaw could lead to complete data tampering, unauthorized information disclosure, and full host system compromise, significantly threatening the integrity of machine learning infrastructure and proprietary model data.
Remediation
Immediate Action: Update NVIDIA Megatron-LM to version 0.15.3 or later to incorporate the necessary deserialization patches.
Proactive Monitoring: Monitor system logs for unexpected file access patterns or unusual process execution behaviors originating from the Megatron-LM application directory.
Compensating Controls: Implement strict file permission controls to ensure that only trusted users can place files into the model checkpoint directories, effectively limiting the attack surface for local execution.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Organizations utilizing NVIDIA Megatron-LM must prioritize the upgrade to version 0.15.3 immediately. Failure to remediate this deserialization flaw exposes the underlying host environment to potential remote code execution, which could be leveraged to exfiltrate sensitive model weights or escalate privileges within the development cluster.