# CVE-2026-31254: The flash-attention project thru commit e724e2588cbe754beb97cf7c011b5e7e34119e62 (2025-13-04) contains a code injection vulnerability (CWE-…

- Severity: High 7.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-05-11T00:00:00.000Z
- Modified: 2026-06-17T10:33:32.970Z
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

The flash-attention project thru commit e724e2588cbe754beb97cf7c011b5e7e34119e62 (2025-13-04) contains a code injection vulnerability (CWE-94) in its training script. The script registers the Python eval() function as a Hydra configuration resolver under the name eval. This allows configuration files to execute arbitrary Python code via the ${eval:...} syntax. An attacker can exploit this by providing a malicious configuration file, leading to arbitrary code execution when the training script is run with that configuration.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://www.notion.so/CVE-2026-31254-35d1e139318881a19003f0d635ff00df>

## Sources

- CVE List: [CVE-2026-31254](https://www.cve.org/CVERecord?id=CVE-2026-31254), CVE Terms of Use, modified 2026-05-12
- NVD: [CVE-2026-31254](https://nvd.nist.gov/vuln/detail/CVE-2026-31254), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31254 · Whole record: https://cve.day/CVE-2026-31254.json · Rebuilt by cve.day 2026-11-25T22:59:21.212Z
