CVE-2026-142196: PyTorch Lightning through 2.6.6 Insecure Deserialization via FSDP Checkpoint Loading
High · CVSS 7.0 (CVSS 3.1)EPSS 0.41%, 37th percentilePublished Updated Assigner: VulnCheck
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.
Vector CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H · CWE-502
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
Lightning-AI: PyTorch Lightning
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/Lightning-AI/pytorch-lightning/blob/2.6.6/src/lightning/fabric/strate… (opens in new tab)
- github.com/Lightning-AI/pytorch-lightning/blob/2.6.6/src/lightning/fabric/utilit… (opens in new tab)
- www.vulncheck.com/advisories/pytorch-lightning-through-2.6.6-insecure-deserialization-v… (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)