Skip to content
OpenAdvisories
High · 7.3 CVE-2026-142196 EUVD-2026-141634GHSA-j3hm-4hr9-7mw9

PyTorch Lightning through 2.6.6 contains an insecure deserialization vulnerability in FSDPStrategy.load_checkpoint that ignores weights_onl…

Published Dec 2, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
lightning-ai PyTorch Lightning 0 ≤2.6.6 —

References