# CVE-2026-142196: PyTorch Lightning through 2.6.6 Insecure Deserialization via FSDP Checkpoint Loading

> CVE-2026-142196: PyTorch Lightning through 2.6.6 Insecure Deserialization via FSDP Checkpoint Loading. CVSS 7.0 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-142196
Last updated: 2026-12-02T17:17:40Z

- Published: 2026-12-02 16:50 UTC · Updated: 2026-12-02 17:17 UTC · Assigner: VulnCheck
- CVSS: 7.0 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.41%, 37th percentile (scored 2026-12-03)
- CISA KEV: no
- CWE: CWE-502

## 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 vendors and products

- Lightning-AI: PyTorch Lightning

## Tracked companies

- [Lightning AI](https://rewindex.com/company/lightning-ai.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-142196)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-142196)
- [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/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://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](https://www.vulncheck.com/advisories/pytorch-lightning-through-2.6.6-insecure-deserialization-via-fsdp-checkpoint-loading)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-142196 · Markdown: https://rewindex.com/cve/CVE-2026-142196.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-142196 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-12-03T23:29:46.489Z
