ZDI-26-1062: (0Day) DeepSpeed torch_checkpoint_engine Deserialization of Untrusted Data Remote Code Execution Vulnerability
Summary
This security advisory details a Zero-Day Remote Code Execution (RCE) vulnerability in DeepSpeed, tracked under CVE-2026-136436 and ZDI-26-1062. The issue stems from deserialization of untrusted data within the torch_checkpoint_engine component. A remote attacker can leverage this flaw to execute arbitrary code within the context of the current process, requiring user interaction such as opening a malicious file or visiting a compromised webpage.
Affected Products
- DeepSpeed (
torch_checkpoint_enginecomponent)
Technical Details
The specific flaw exists within the parsing of checkpoint data. Due to the lack of proper validation of user-supplied data, the application performs unsafe deserialization of untrusted data. Exploitation requires user interaction, where the target must visit a malicious webpage or open a specially crafted checkpoint file to trigger arbitrary code execution.
Impact
Successful exploitation allows remote attackers to execute arbitrary code in the context of the current process.
- Confidentiality: High — Successful code execution allows full unauthorized access to sensitive data and memory processed by the application.
- Integrity: High — Attackers can modify system files, data, or execute unauthorized commands.
- Availability: High — Attackers can crash the application process or disrupt system availability.
Mitigation & Remediation Recommendations
- Restrict interaction with the product and avoid loading checkpoint files from untrusted or unverified sources until a vendor patch is available.
- Educate users not to open suspicious files or links from unknown third parties.
- Apply the principle of least privilege to environments running DeepSpeed workloads.
References
- Advisory Source Link (ZDI-26-1062) — http://www.zerodayinitiative.com/advisories/ZDI-26-1062/
- NVD CVE-2026-136436 Detail — https://nvd.nist.gov/vuln/detail/CVE-2026-136436
- MITRE CVE-2026-136436 Record — https://www.cve.org/CVERecord?id=CVE-2026-136436
- Official DeepSpeed GitHub Repository — https://github.com/microsoft/DeepSpeed
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.