VYPR
advisoryPublished Nov 24, 2026· 2 sources

Zero-Day Deserialization Vulnerability in DeepSpeed Allows Remote Code Execution

A critical deserialization vulnerability in Microsoft's DeepSpeed library, ZDI-26-1062, allows remote attackers to execute arbitrary code on affected systems.

Zero Day Initiative (ZDI) has disclosed a critical remote code execution (RCE) vulnerability, identified as ZDI-26-1062, affecting Microsoft's DeepSpeed library. The flaw resides within the torch_checkpoint_engine component and is triggered by the deserialization of untrusted data.

This vulnerability allows attackers to execute arbitrary code on systems running vulnerable versions of DeepSpeed. Exploitation requires a degree of user interaction, such as tricking a user into visiting a malicious webpage or opening a specially crafted file. Once triggered, the attacker can leverage the deserialization flaw to execute code within the context of the current process, potentially leading to a full system compromise.

The root cause of the vulnerability is a lack of proper validation of user-supplied data during the checkpoint data parsing process. This oversight allows malicious data to be deserialized, leading to the execution of attacker-controlled code. The vulnerability carries a CVSS score of 7.8, indicating a high severity.

ZDI reported the vulnerability to the vendor via GitHub on February 12, 2026. Despite multiple follow-ups from ZDI throughout April, June, August, September, and October, the vendor did not provide a fix. Consequently, ZDI proceeded with the public disclosure of the vulnerability on November 24, 2026, classifying it as a zero-day advisory due to the lack of a patch.

Given the nature of the vulnerability, which relies on deserialization of untrusted data, the primary mitigation strategy recommended is to restrict interaction with the product. This means users should be cautious about opening files or visiting links that involve the DeepSpeed library from untrusted sources. No specific patches or software updates have been released by the vendor at the time of this advisory.

This disclosure highlights a recurring theme in software security: the dangers of improper input validation, particularly in complex data parsing and deserialization routines. Libraries like DeepSpeed, which are crucial for machine learning operations, often handle large and complex data structures, making them prime targets for vulnerabilities that can lead to RCE.

The vulnerability was discovered by Michael DePlante, also known as @izobashi, from TrendAI Zero Day Initiative. The coordinated public release of the advisory occurred on November 24, 2026, with an update to the advisory also published on the same date.

Users and organizations utilizing Microsoft DeepSpeed are strongly advised to implement strict security protocols around file handling and external data sources to mitigate the risk of exploitation until a permanent solution is provided by the vendor.

This advisory details ZDI-26-1061, a distinct deserialization vulnerability within Microsoft's DeepSpeed InferenceEngine, separate from the previously reported ZDI-26-1062. The new flaw also permits remote code execution through untrusted data deserialization, requiring user interaction via malicious files or web pages. The Zero Day Initiative has been tracking the vendor's response since February 2026, with the advisory being published on November 24, 2026.

Synthesized by Vypr AI