THREAT OPS › Threat News › [NVD] CVE-2026-31221 (HIGH 7.8) — PyTorch-Lightning versions 2.6.0 and earlier contain an insecure deserialization vulnerability (CWE-502) in the checkpoint loading mechanism. The LightningModule.load_from_checkpoint() method, which is commonly used to load saved model states, internally calls torch.load() withou
[NVD] CVE-2026-31221 (HIGH 7.8) — PyTorch-Lightning versions 2.6.0 and earlier contain an insecure deserialization vulnerability (CWE-502) in the checkpoint loading mechanism. The LightningModule.load_from_checkpoint() method, which is commonly used to load saved model states, internally calls torch.load() withou
CVE-2026-31221 CVSS: 7.8 HIGH Published: 2026-05-12T16:16:14.020
PyTorch-Lightning versions 2.6.0 and earlier contain an insecure deserialization vulnerability (CWE-502) in the checkpoint loading mechanism. The LightningModule.load_from_checkpoint() method, which is commonly used to load saved model states, internally calls torch.load() without setting the security-restrictive weights_only=True p
Indicators of compromise
- CVE-2026-31221cve
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-31221