{"data":{"id":"e60d2bd6-8a81-4790-9dfb-536506a775d7","title":"CVE-2026-31218: The _load_model() function in the neural_magic_training.py script of the optimate project in commit…","summary":"The _load_model() function in the neural_magic_training.py script of the optimate project, at commit a6d302f912b481c94370811af6b11402f51d377f (2024-07-21), is affected by insecure deserialization (CWE-502). It calls torch.load() on a state_dict.pt file without setting weights_only=True, so arbitrary Python objects can be deserialized through the Pickle module. A remote attacker who supplies a crafted state_dict.pt in a directory passed via the --model argument can execute arbitrary code on the victim's system during deserialization.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-31218","publishedAt":"2026-05-12T16:16:13.710Z","cveId":"CVE-2026-31218","cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"high","attackType":["supply_chain"],"issueType":"vulnerability","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":[],"affectedVendorsRaw":["optimate project","PyTorch (torch.load)"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"optimate insecure deserialization in _load_model() via torch.load()","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00559,"epssCheckedAt":"2026-11-07T18:08:32.993Z","kevDateAdded":null,"advisoryAliases":["GHSA-q2mf-qjjq-ghcc"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":"2026-11-03T06:12:04.786Z","patchAvailable":null,"disclosureDate":"2026-05-12T16:16:13.710Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0010"],"fixes":[]}}