{"id":"CVE-2026-31254","aliases":["CVE-2026-31254"],"related":[],"kind":"vulnerability","state":"published","title":"The flash-attention project thru commit e724e2588cbe754beb97cf7c011b5e7e34119e62 (2025-13-04) contains a code injection vulnerability (CWE-…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-05-11T00:00:00.000Z","modified":"2026-06-17T10:33:32.970Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"}],"cwes":["CWE-95"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"}],"references":[{"url":"https://www.notion.so/CVE-2026-31254-35d1e139318881a19003f0d635ff00df","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-12T18:58:10.856Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31254","url":"https://www.cve.org/CVERecord?id=CVE-2026-31254","licence":"CVE Terms of Use","modified":"2026-05-12T18:59:01.836Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31254","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31254","licence":"Public domain","modified":"2026-06-17T10:33:32.970Z"}],"updatedAt":"2026-11-25T22:59:21.212Z","epss":{"score":0.00247,"percentile":0.17059,"date":"2026-12-01T12:00:22.000Z"}}