{"data":{"id":"f31ac1e7-1d6e-4508-89a3-8cd0b3c3eb1b","title":"CVE-2026-31214: The torch-checkpoint-shrink.py script in the ml-engineering project in commit 0099885db36a8f06556efe1faf552518852cb1e0…","summary":"The torch-checkpoint-shrink.py script in the ml-engineering project, at commit 0099885db36a8f06556efe1faf552518852cb1e0, is affected by CVE-2026-31214 (CWE-502). It calls torch.load() on PyTorch checkpoint (.pt) files without setting weights_only=True, so the pickle module can deserialize arbitrary Python objects. A remote attacker who supplies a maliciously crafted checkpoint file can achieve arbitrary code execution as the user running the script.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-31214","publishedAt":"2026-05-12T16:16:13.270Z","cveId":"CVE-2026-31214","cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"high","attackType":["supply_chain"],"issueType":"vulnerability","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":[],"affectedVendorsRaw":["PyTorch"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"torch-checkpoint-shrink.py insecure deserialization of PyTorch checkpoint files","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00486,"epssCheckedAt":"2026-11-07T18:08:33.820Z","kevDateAdded":null,"advisoryAliases":["GHSA-qw5f-8jqw-9832"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":"2026-11-03T06:12:05.273Z","patchAvailable":null,"disclosureDate":"2026-05-12T16:16:13.270Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0010"],"fixes":[]}}