{"id":"CVE-2026-142196","summary":"PyTorch Lightning through 2.6.6 Insecure Deserialization via FSDP Checkpoint Loading","details":"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.","modified":"2026-12-03T15:46:13.092805454Z","published":"2026-12-02T16:50:53.844Z","database_specific":{"cwe_ids":["CWE-502"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142196.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142196.json"},{"type":"PACKAGE","url":"https://github.com/Lightning-AI/pytorch-lightning"},{"type":"ARTICLE","url":"https://github.com/Lightning-AI/pytorch-lightning/blob/2.6.6/src/lightning/fabric/strategies/fsdp.py#L601-L602"},{"type":"ARTICLE","url":"https://github.com/Lightning-AI/pytorch-lightning/blob/2.6.6/src/lightning/fabric/utilities/load.py#L179-L213"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142196"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/pytorch-lightning-through-2.6.6-insecure-deserialization-via-fsdp-checkpoint-loading"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lightning-ai/pytorch-lightning","events":[{"introduced":"0"},{"last_affected":"771017e4f39b314b49abd4a1d65905c74268d248"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"2.6.6"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["2.6.6","2.6.5","2.6.4","2.6.0","2.5.0.post0","2.5.0","2.5.0rc0","2.4.0","2.3.0","2.2.0","2.2.0.rc0","2.1.0","2.1.0.rc1","2.1.0.rc0","2.0.0","2.0.0rc0","1.9.0","1.9.0rc0","1.8.0","1.8.0rc2","1.8.0rc1","1.8.0rc0","app/0.6.0rc0","1.7.0","1.7.0rc1","1.7.0rc0","1.6.0","1.6.0rc1","1.6.0rc0","1.5.0","1.5.0rc1","1.5.0rc0","1.4.0","1.4.0rc2","1.4.0rc1","1.4.0rc0","1.3.0","1.3.0rc3","1.3.0rc2","1.3.0rc1","1.3.0rc0","1.2.0","1.2.0rc2","1.2.0rc1","1.1.0","1.1.0rc2","1.1.0rc1","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0","0.10.0","0.9.0","0.8.5","0.8.4","0.8.3","0.8.2","0.8.1","0.8.0","0.7.6","0.7.5","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0","0.6.0","0.5.2.1","0.5.2","0.5.1","0.5.0","0.4.9","0.4.7","0.4.6","0.4.5","0.4.4","0.4.3","0.4.2","0.4.1","0.4.0","0.2.1","0.2","0.1.2","0.1.1","0.0.2","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142196.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}