P2 · HighCVSS 7.0EPSS 0.4%
PyTorch Lightning through 2.6.6 Insecure Deserialization via FSDP Checkpoint Loading
- CVE-2026-142196
- GHSA-j3hm-4hr9-7mw9
- EUVD-2026-141634
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Lightning-AI PyTorch Lightning
Affected versions Fixed in up to 2.6.6 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.