CVE-2026-136437: DeepSpeed Converter Runs Attacker Code

A flaw in DeepSpeed's checkpoint converter can let a poisoned checkpoint run code on the machine that converts it. Tracked as CVE-2026-136437, the issue sits in parse_optim_states, part of the zero_to_fp32.py tool that turns ZeRO optimizer shards into a single fp32 state dictionary. It loads each shard with torch.load and weights_only=False, the unsafe setting that runs the file through the full Python unpickler, so code hidden in the shard executes during conversion.
A tool that ships inside every checkpoint
The risk is wider than a single script. DeepSpeed copies zero_to_fp32.py into every checkpoint directory it saves, and researchers routinely run it on checkpoints they have downloaded to rebuild a single weights file. A poisoned optimizer shard therefore runs code before any model is even loaded. The flaw affects DeepSpeed 0.18.9, scores 7.8, and is unchanged in the current 0.20.1 release. It needs the victim to open a malicious file, and the code runs with that user's permissions.
More than six months without a reply
Researcher Bongeun Koo reported the flaw through DeepSpeed's GitHub account on 7 May 2026. The Zero Day Initiative asked for acknowledgement and updates in June, August and September and heard nothing, then gave notice on 19 November and published advisory ZDI-26-1063 on 24 November. There is no patch. Users should treat downloaded checkpoints as untrusted, convert them only in an isolated environment with no credentials, and set TORCH_FORCE_WEIGHTS_ONLY_LOAD=1 where it applies. No exploitation in the wild has been reported.