Unrated severityNVD Advisory· Published Dec 2, 2026
PyTorch Lightning through 2.6.6 Insecure Deserialization via FSDP Checkpoint Loading
CVE-2026-142196
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.
Patches
Vulnerability mechanics
References
3- www.vulncheck.com/advisories/pytorch-lightning-through-2.6.6-insecure-deserialization-via-fsdp-checkpoint-loadingmitrethird-party-advisory
- github.com/Lightning-AI/pytorch-lightning/blob/2.6.6/src/lightning/fabric/strategies/fsdp.pymitretechnical-description
- github.com/Lightning-AI/pytorch-lightning/blob/2.6.6/src/lightning/fabric/utilities/load.pymitretechnical-description
News mentions
0No linked articles in our index yet.