{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31214","published":"2026-05-12T16:16:13.270000Z","last_modified":"2026-06-17T10:33:26.247000Z","status":"Deferred","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-502"],"cpes":[],"cpes_truncated":false,"vendors":[],"products":[],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-31214/","html_en":"/en/cve/CVE-2026-31214/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31214","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31214"},"untrusted":{"desc_en":"The torch-checkpoint-shrink.py script in the ml-engineering project in commit 0099885db36a8f06556efe1faf552518852cb1e0 (2025-20-27) contains an insecure deserialization vulnerability (CWE-502). The script uses torch.load() to process PyTorch checkpoint files (.pt) without enabling the security-restrictive weights_only=True parameter. This oversight allows the deserialization of arbitrary Python objects via the pickle module. A remote attacker can exploit this by providing a maliciously crafted checkpoint file, leading to arbitrary code execution in the context of the user running the script.","affected":[],"references":[{"url":"https://github.com/stas00/ml-engineering/blob/master/training/checkpoints/torch-checkpoint-shrink.py#L57","tags":[]},{"url":"https://www.notion.so/CVE-2026-31214-35d1e1393188813fa40eef73c174cee5","tags":[]}]}}