AploSec / Disclosures / CVE-2026-142196

High 7.3ReportedNo fix listedCWE-502PyPI

PyTorch Lightning through 2.6.6 Insecure Deserialization via FSDP Checkpoint Loading

CVE-2026-142196 · published 2026-12-02

In plain words: this type of bug lets untrusted data turn into running code when it is loaded (unsafe deserialization). No fixed release is listed yet.

Summary

CVE-2026-142196 affects PyTorch Lightning (PyPI) <= 2.6.6: Insecure Deserialization via FSDP Checkpoint Loading (CWE-502). No fixed release is listed. CVSS 4.0 base score 7.3 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
High 7.3CVSS 4.0, scored by VulnCheck in the CVE record
Package
PyTorch Lightning
Ecosystem
PyPI
Affected
<= 2.6.6
Fixed
None
Weakness
CWE-502
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder