Code Injection Vulnerability in Flash-Attention Project by Unknown Vendor
CVE-2026-31254
7.3HIGH
What is CVE-2026-31254?
The Flash-Attention project is vulnerable due to a code injection flaw in its training script. This vulnerability arises from the Python eval() function being registered as a configuration resolver, enabling the execution of arbitrary Python code through specially crafted configuration files. Attackers can exploit this vulnerability by providing a malicious configuration file, which when processed by the training script, will execute the arbitrary code, potentially compromising the system's security.
