CVE-2026-142196 PyTorch Lightning through 2.6.6 Insecure Deserialization via FSDP Checkpoint Loading
HighCVSS 7.3
- Published
- Updated
- Exploit status
- No public exploit known
Description
PyTorch Lightning through 2.6.6 contains an insecure deserialization vulnerability in FSDPStrategy.load_checkpoint that ignores weights_only=True when loading local single-file checkpoints. Attackers who supply a crafted checkpoint can embed a pickle payload that _LazyLoadingUnpickler resolves through unrestricted find_class, executing code as the training user.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi lightning | <= 2.6.6 | after 2.6.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi lightning | <= 2.6.6 | No fix listed |
References
- github.com technical-description
- github.com technical-description
- VulnCheck Advisory: PyTorch Lightning through 2.6.6 Insecure Deserialization via FSDP Checkpoint Loading third-party-advisory
- ENISA EUVD EUVD-2026-141634 third-party-advisory