PyTorch Lightning through 2.6.6 contains an insecure deserialization vulnerability in FSDPStrategy.load_checkpoint
Source GCVE Database
Not known to be exploited · CVSS 7.3 High.
Data as of 2 Dec 2026, 20:29 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.0 |
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Lightning-AIPyTorch Lightning | Affected
| Fixed in– |
PyPIPyTorch Lightningpkg:pypi/PyTorch LightningOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid loading untrusted or unauthenticated checkpoint files with FSDPStrategy.load_checkpoint. Restrict local access to trusted users to reduce risk.
Description
PyTorch Lightning versions up to 2.6.6 have an insecure deserialization vulnerability in the FSDPStrategy.load_checkpoint function. This flaw causes the function to ignore the weights_only=True parameter when loading local single-file checkpoints. An attacker supplying a crafted checkpoint can embed a malicious pickle payload that is deserialized using _LazyLoadingUnpickler with unrestricted find_class, leading to arbitrary code execution as the user running the training process.
References
- nvd.nist.gov/vuln/detail/CVE-2026-142196 (opens in a new tab)
- github.com/Lightning-AI/pytorch-lightning/blob/2.6.6/src/lightning/fabric/strategies/fsdp.py (opens in a new tab)
- github.com/Lightning-AI/pytorch-lightning/blob/2.6.6/src/lightning/fabric/utilities/load.py (opens in a new tab)
- vulncheck.com/advisories/pytorch-lightning-through-2.6.6-insecure-deserialization-via-fsdp-checkpoint-loading (opens in a new tab)