{"data":{"id":"ed2cfd4f-83c5-4173-8fe9-d145ad98362d","title":"CVE-2026-31219: The _load_model() function in the neural_magic_training.py script of the optimate project in commit…","summary":"CVE-2026-31219 affects the _load_model() function in the neural_magic_training.py script of the optimate project, as of commit a6d302f912b481c94370811af6b11402f51d377f (2024-07-21). When a user supplies a single model file (.pt or .pth) through the --model argument, the function loads it with torch.load() without setting weights_only=True, allowing arbitrary Python objects to be deserialized via Pickle (CWE-502). A remote attacker who provides a crafted model file can achieve arbitrary code execution on the victim's system.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-31219","publishedAt":"2026-05-12T16:16:13.813Z","cveId":"CVE-2026-31219","cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"high","attackType":["supply_chain"],"issueType":"vulnerability","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":[],"affectedVendorsRaw":["optimate project","neural_magic_training.py","torch.load","PyTorch"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"optimate insecure deserialization in _load_model() via a crafted model file","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00559,"epssCheckedAt":"2026-11-07T18:08:33.413Z","kevDateAdded":null,"advisoryAliases":["GHSA-f5xg-pvfx-vwh9"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":"2026-11-03T06:12:04.213Z","patchAvailable":null,"disclosureDate":"2026-05-12T16:16:13.813Z","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":[]}}