Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 84%

CVE-2026-31254: n/a

0
High
VulnerabilityCVE-2026-31254cvecve-2026-31254
Published: 05/11/2026 (05/11/2026, 00:00:00 UTC)
Source: CVE Database V5

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.

CVSS v3.1

Score 7.3high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/19/2026, 10:29:16 UTC

Technical Analysis

The flash-attention project contains a code injection vulnerability (CWE-95) in its training script due to the registration of Python's eval() function as a Hydra configuration resolver named '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, resulting in arbitrary code execution when the training script processes that configuration. The vulnerability has a CVSS 3.1 base score of 7.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L), indicating network exploitable with low attack complexity and no privileges or user interaction required. No patch or official remediation is currently documented.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary Python code on the system running the flash-attention training script by supplying a malicious configuration file. This can lead to partial confidentiality, integrity, and availability impacts as indicated by the CVSS vector. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running the training script with untrusted or unaudited configuration files that could contain malicious ${eval:...} expressions. Restrict access to configuration files and validate their contents before use.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-03-09T00:00:00.000Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a028781cbff5d86108b8f78

Added to database: 05/12/2026, 01:50:57 UTC

Last enriched: 05/19/2026, 10:29:16 UTC

Last updated: 07/03/2026, 20:51:27 UTC

Views: 95

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses