ZDI-CAN-29241: (0Day) DeepSpeed build_engine_from_ds_checkpoint Deserialization of Untrusted Data Remote Code Execution Vulnerability
This vulnerability allows remote attackers to execute arbitrary code on affected installations of DeepSpeed. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of model configuration data. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on affected installations of DeepSpeed. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-136438.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What attacker access and user action are required for exploitation?
The attacker does not need prior privileges, but exploitation requires user interaction: the target must visit a malicious page or open a malicious file. The malicious content must cause DeepSpeed to parse attacker-controlled model configuration data.
What is the impact if exploitation succeeds?
An attacker can execute arbitrary code in the context of the current process. This can affect confidentiality, integrity, and availability, as reflected by the assigned CVSS vector.