The flash-attention training framework thru commit e724e2588cbe754beb97cf7c011b5e7e34119e62 (2025-13-04) contains an insecure deserialization vulnerability (CWE-502) in its checkpoint loading mechanism. The load_checkpoint() function in checkpoint.py and the checkpoint loading code in eval.py use torch.load() without enabling the security-restrictive weights_only=True parameter. This allows the deserialization of arbitrary Python objects via the pickle module. An attacker can exploit this by providing a maliciously crafted checkpoint file. When a victim loads this checkpoint during model warmstarting or evaluation, arbitrary code is executed on the victim's system.
CVE-2026-31253
Score 7.3 from GitHub Security Advisory (severity: HIGH) published 2026-05-11. NVD baseline CVSS 7.3; 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
- 7.3
- EG Score
- 7.3(medium)
- EPSS
- 12.2%
- KEV
- Not listed
Published
May 11, 2026
Last Modified
May 12, 2026
Advisory Details (2)
Auto-updated Jun 11, 2026GitHub - Dao-AILab/flash-attention: Fast and memory-efficient exact attention · GitHub
https://github.com/Dao-AILab/flash-attentionVendor Advisories for CVE-2026-31253(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| pip | flash_attn | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| flash-attn | 0.2.0 ... 2.8.3 (75 versions) | — | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 55× 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 163 total refreshes for this CVE.
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 03:25 UTCEG score recompute
- 2026-06-28 03:25 UTCGHSA enrichment
- 2026-06-27 09:54 UTCEG score recompute
- 2026-06-27 09:54 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 21:06 UTCEG score recompute
- 2026-06-26 21:06 UTCGHSA enrichment
- 2026-06-26 05:08 UTCEG score recompute
- 2026-06-26 05:08 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 01:03 UTCEG score recompute
- 2026-06-17 01:03 UTCGHSA enrichment
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 07:27 UTCEG score recompute
- 2026-06-16 07:27 UTCGHSA enrichment
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 03:01 UTCEG score recompute
- 2026-06-15 03:01 UTCGHSA enrichment
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-14 14:35 UTCEG score recompute
- 2026-06-14 14:34 UTCGHSA enrichment
- 2026-06-14 01:57 UTCEG score recompute
- 2026-06-14 01:57 UTCGHSA enrichment
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 08:22 UTCEG score recompute
- 2026-06-13 08:22 UTCGHSA enrichment
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 17:58 UTCEG score recompute
- 2026-06-12 17:57 UTCGHSA enrichment
- 2026-06-12 05:27 UTCEG score recompute
- 2026-06-12 05:27 UTCGHSA enrichment
- 2026-06-11 17:01 UTCEG score recompute
- 2026-06-11 17:01 UTCGHSA enrichment
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 04:05 UTCEG score recompute
- 2026-06-11 04:05 UTCGHSA enrichment
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 15:25 UTCEG score recompute
- 2026-06-10 15:25 UTCGHSA enrichment
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 02:59 UTCEG score recompute
- 2026-06-10 02:59 UTCGHSA enrichment
- 2026-06-09 14:34 UTCEG score recompute
- 2026-06-09 14:34 UTCGHSA enrichment
- 2026-06-09 02:08 UTCEG score recompute
- 2026-06-09 02:08 UTCGHSA enrichment
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 13:07 UTCEG score recompute
- 2026-06-08 13:07 UTCGHSA enrichment
- 2026-06-08 00:41 UTCEG score recompute
- 2026-06-08 00:41 UTCGHSA enrichment
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 12:15 UTCEG score recompute
- 2026-06-07 12:15 UTCGHSA enrichment
- 2026-06-06 23:50 UTCEG score recompute
- 2026-06-06 23:50 UTCGHSA enrichment
Related CVEs(same CWE)
Same CWE
10 shownCWE-502 · CWE-94
Frequently asked(5)
What is CVE-2026-31253?
When was CVE-2026-31253 disclosed?
Is CVE-2026-31253 actively exploited?
What is the CVSS score of CVE-2026-31253?
How do I remediate CVE-2026-31253?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-31253
Is Your Infrastructure Affected by CVE-2026-31253?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.