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.
- CVSS
- 7.0High
- Chance of exploitation (EPSS)
- 0.41%
- Published
- Dec 2, 2026
- In the news
- Not yet
What to do
A serious unsafe deserialization flaw in Lightningai Pytorch Lightning that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Lightningai Pytorch Lightning
- Through 2.6.6
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-142196 published (CVSS 7.0) (Dec 2, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Dec 2, 2026
- CVECVE-2026-142196 published (CVSS 7.0)CVE Program · 16:50 UTC
References 3
- github.com /Lightning-AI/pytorch-lightning/blob/2.6.6/src/lightning/fabric/utilities/load.py#L179-L213
- github.com /Lightning-AI/pytorch-lightning/blob/2.6.6/src/lightning/fabric/strategies/fsdp.py#L601-L602
- www.vulncheck.com /advisories/pytorch-lightning-through-2.6.6-insecure-deserialization-via-fsdp-checkpoint-loading