Skip to content

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

HighCVSS 7.3
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi lightning <= 2.6.6 after 2.6.6 Fixed

Affected products

ProductAffected versionsFixed in
pypi lightning <= 2.6.6 No fix listed

References