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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/Lightning-AI/pytorch-lightning/blob/2.6.6/src/lightning/fabric/strategies/fsdp.py#L601-L602
- https://github.com/Lightning-AI/pytorch-lightning/blob/2.6.6/src/lightning/fabric/utilities/load.py#L179-L213
- https://www.vulncheck.com/advisories/pytorch-lightning-through-2.6.6-insecure-deserialization-via-fsdp-checkpoint-loading
CWEs
CWE-502
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.