CRITICALPyPI →
PyTorch Lightning load_from_checkpoint has an insecure checkpoint deserialization
PyTorch Lightning load_from_checkpoint has an insecure checkpoint deserialization
Affected packages
- lightning— all versions
Exploit signal
- Known exploited (CISA KEV)
- No
- EPSS score
- —
- EPSS percentile
- —
EPSS is the probability a CVE is exploited in the wild; percentile is its rank among all CVEs.
Sources
- https://nvd.nist.gov/vuln/detail/CVE-2026-31221
- https://github.com/Lightning-AI/pytorch-lightning
- https://www.notion.so/CVE-2026-31221-35d1e1393188815f8db7c4fd08076639
- https://pypi.org/project/pytorch-lightning
- https://github.com/advisories/GHSA-75m9-98v2-hjpm
Structured record: https://osv.dev/vulnerability/PYSEC-2026-3972
Recommended response stack
Snyk — Scan your dependencies in CI and fix this vulnerability.→Socket — Detect malicious and compromised packages before they ship.→
Some links are affiliate links — HackTribune may earn a commission at no extra cost to you.
Get incidents like this as alerts for your stack.
Join the beta