CVE-2026-31254

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.
Configurations

No configuration.

History

12 May 2026, 20:16

Type Values Removed Values Added
CWE CWE-95
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.3

11 May 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-11 17:16

Updated : 2026-05-12 20:16


NVD link : CVE-2026-31254

Mitre link : CVE-2026-31254

CVE.ORG link : CVE-2026-31254


JSON object : View

Products Affected

No product.

CWE
CWE-95

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')