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.
CVE-2026-31214
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-05-12. NVD baseline CVSS 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 59(Track)EG Risk 59/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 40%
- KEV
- Not listed
Published
May 12, 2026
Last Modified
May 13, 2026
Advisory Details (2)
Auto-updated Sep 9, 2026ml-engineering/training/checkpoints/torch-checkpoint-shrink.py at master · stas00/ml-engineering · GitHub
https://github.com/stas00/ml-engineering/blob/master/training/checkpoints/torch-checkpoint-shrink.py#L57Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 33× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 326 total refreshes for this CVE.
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 15:01 UTCEPSS rescore
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 14:17 UTCEPSS rescore
- 2026-08-23 18:25 UTCEG score recompute
- 2026-08-23 18:25 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 10:55 UTCEG score recompute
- 2026-08-17 10:55 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 08:32 UTCGHSA enrichment
- 2026-08-16 04:17 UTCEG score recompute
- 2026-08-16 04:17 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-15 00:04 UTCGHSA enrichment
- 2026-08-14 19:50 UTCGHSA enrichment
- 2026-08-14 15:35 UTCGHSA enrichment
- 2026-08-14 11:21 UTCGHSA enrichment
- 2026-08-14 07:03 UTCGHSA enrichment
- 2026-08-14 02:48 UTCEG score recompute
- 2026-08-14 02:48 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 09:17 UTCGHSA enrichment
- 2026-08-13 05:03 UTCGHSA enrichment
- 2026-08-13 00:46 UTCGHSA enrichment
- 2026-08-12 20:32 UTCGHSA enrichment
- 2026-08-12 16:17 UTCEG score recompute
- 2026-08-12 16:17 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 00:28 UTCGHSA enrichment
- 2026-08-11 20:07 UTCGHSA enrichment
- 2026-08-11 15:43 UTCEG score recompute
- 2026-08-11 15:43 UTCGHSA enrichment
- 2026-08-11 09:50 UTCGHSA enrichment
- 2026-08-11 05:19 UTCGHSA enrichment
- 2026-08-11 01:05 UTCGHSA enrichment
- 2026-08-10 12:41 UTCGHSA enrichment
- 2026-08-10 08:03 UTCGHSA enrichment
- 2026-08-10 03:48 UTCGHSA enrichment
- 2026-08-09 23:33 UTCGHSA enrichment
- 2026-08-09 19:19 UTCGHSA enrichment
- 2026-08-09 15:04 UTCEG score recompute
- 2026-08-09 15:04 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 10:50 UTCGHSA enrichment
- 2026-08-09 06:22 UTCGHSA enrichment
- 2026-08-09 02:08 UTCEG score recompute
- 2026-08-09 02:08 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 13:41 UTCGHSA enrichment
- 2026-08-08 09:26 UTCGHSA enrichment
- 2026-08-08 05:11 UTCGHSA enrichment
- 2026-08-08 00:57 UTCGHSA enrichment
- 2026-08-07 20:42 UTCEG score recompute
- 2026-08-07 20:42 UTCGHSA enrichment
- 2026-08-07 16:28 UTCGHSA enrichment
- 2026-08-07 12:13 UTCGHSA enrichment
- 2026-08-07 07:58 UTCGHSA enrichment
- 2026-08-07 01:32 UTCGHSA enrichment
- 2026-08-06 19:15 UTCGHSA enrichment
- 2026-08-06 15:01 UTCEG score recompute
- 2026-08-06 15:01 UTCGHSA enrichment
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 10:42 UTCGHSA enrichment
- 2026-08-06 06:20 UTCGHSA enrichment
- 2026-08-06 02:05 UTCGHSA enrichment
- 2026-08-05 21:51 UTCEG score recompute
- 2026-08-05 21:51 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:38 UTCEPSS rescore
- 2026-08-04 03:51 UTCGHSA enrichment
- 2026-08-03 23:36 UTCGHSA enrichment
- 2026-08-03 19:18 UTCEG score recompute
- 2026-08-03 19:18 UTCGHSA enrichment
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-03 02:31 UTCGHSA enrichment
Frequently asked(5)
What is CVE-2026-31214?
When was CVE-2026-31214 disclosed?
Is CVE-2026-31214 actively exploited?
What is the CVSS score of CVE-2026-31214?
How do I remediate CVE-2026-31214?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-31214
Is Your Infrastructure Affected by CVE-2026-31214?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.