{"data":{"id":"83deb697-4f88-4b7b-bc94-78e5c2f9f080","title":"CVE-2026-31221: PyTorch-Lightning versions 2.6.0 and earlier contain an insecure deserialization vulnerability (CWE-502) in the…","summary":"PyTorch-Lightning versions 2.6.0 and earlier contain an insecure deserialization flaw (CWE-502) in checkpoint loading. LightningModule.load_from_checkpoint() calls torch.load() without weights_only=True, so arbitrary Python objects can be deserialized via Pickle. A remote attacker who supplies a maliciously crafted checkpoint file can achieve arbitrary code execution when the file is loaded.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-31221","publishedAt":"2026-05-12T16:16:14.020Z","cveId":"CVE-2026-31221","cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"high","attackType":["supply_chain"],"issueType":"vulnerability","affectedPackages":["pytorch-lightning@<= 2.6.0"],"affectedPackageNames":["pytorch-lightning"],"affectedPackageRefs":["pypi:pytorch-lightning"],"affectedVendors":[],"affectedVendorsRaw":["PyTorch-Lightning","LightningModule.load_from_checkpoint()","torch.load()"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"PyTorch-Lightning insecure deserialization in checkpoint loading","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00385,"epssCheckedAt":"2026-11-07T06:14:03.822Z","kevDateAdded":null,"advisoryAliases":["GHSA-75m9-98v2-hjpm"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:48:34.553Z","patchAvailable":null,"disclosureDate":"2026-05-12T16:16:14.020Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity","availability","safety"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":["AML.T0010"],"fixes":[]}}