CVE Explorer
CVE-2026-31253
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 pro
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:61dc0f8ef306243bf31a6c0a52b5ed7351024ab96661fd5c2d8ce30b86cb6b10 · sha256:110401c68ac27b0f… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-502","description":"CWE-502 Deserialization of Untrusted Data","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:61dc0f8ef306243bf31a6c0a52b5ed7351024ab96661fd5c2d8ce30b86cb6b10 · sha256:110401c68ac27b0f… · /containers/adp/0/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:61dc0f8ef306243bf31a6c0a52b5ed7351024ab96661fd5c2d8ce30b86cb6b10 · sha256:110401c68ac27b0f… · /containers/adp/0/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:61dc0f8ef306243bf31a6c0a52b5ed7351024ab96661fd5c2d8ce30b86cb6b10 · sha256:110401c68ac27b0f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:61dc0f8ef306243bf31a6c0a52b5ed7351024ab96661fd5c2d8ce30b86cb6b10 · sha256:110401c68ac27b0f… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:61dc0f8ef306243bf31a6c0a52b5ed7351024ab96661fd5c2d8ce30b86cb6b10 · sha256:110401c68ac27b0f… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-502","description":"CWE-502 Deserialization of Untrusted Data","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:61dc0f8ef306243bf31a6c0a52b5ed7351024ab96661fd5c2d8ce30b86cb6b10 · sha256:110401c68ac27b0f… · /containers/adp/0/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:61dc0f8ef306243bf31a6c0a52b5ed7351024ab96661fd5c2d8ce30b86cb6b10 · sha256:110401c68ac27b0f… · /containers/adp/0/problemTypes/1/descriptions/0
Source references
2 source assertions{"url":"https://github.com/Dao-AILab/flash-attention"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:61dc0f8ef306243bf31a6c0a52b5ed7351024ab96661fd5c2d8ce30b86cb6b10 · sha256:110401c68ac27b0f… · /containers/cna/references/0
{"url":"https://www.notion.so/CVE-2026-31253-35d1e1393188813f9e77e2038104bc49"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:61dc0f8ef306243bf31a6c0a52b5ed7351024ab96661fd5c2d8ce30b86cb6b10 · sha256:110401c68ac27b0f… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.