CVE-2026-24151 Deserialization in Megatron LM
An attacker can achieve remote code execution and privilege escalation by tricking a user into loading malicious input in NVIDIA Megatron-LM.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-24151?
CVE-2026-24151 is a high-severity unsafe deserialization vulnerability in NVIDIA Megatron LM, published on 24 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
NVIDIA Megatron-LM contains a vulnerability in inferencing where an Attacker may cause an RCE by convincing a user to load a maliciously crafted input. A successful exploit of this vulnerability may lead to code execution, escalation of privileges, information disclosure, and data tampering.
Weakness: CWE-502
Which versions are affected by CVE-2026-24151?
It affects 1 product.
Products include Nvidia Megatron-Lm.
How do I fix CVE-2026-24151?
No fix has been published for CVE-2026-24151 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2026-24151 being exploited?
There is no known exploitation of CVE-2026-24151 in the wild and no public exploit code.
Other vulnerabilities in NVIDIA Megatron LM
Sources
Also known as GHSA-3w95-ccww-mwv8.