> CVE-2026-31253

« BACK_TO_HOME
PUBLISHED
2026-05-11 17:16
MODIFIED
2026-05-11 17:16
EPSS (Prob. Exploit)
0.37%
Top 70.3%
DATA SOURCES:
NVD 🔗 2026-05-11 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-05

> DESCRIPTION

The flash-attention training framework thru commit e724e2588cbe754beb97cf7c011b5e7e34119e62 (2025-13-04) contains an insecure deserialization vulnerability (CWE-502) in its checkpoint loading mechanism. The load_checkpoint() function in checkpoint.py and the checkpoint loading code in eval.py use torch.load() without enabling the security-restrictive weights_only=True parameter. This allows the deserialization of arbitrary Python objects via the pickle module. An attacker can exploit this by providing a maliciously crafted checkpoint file. When a victim loads this checkpoint during model warmstarting or evaluation, arbitrary code is executed on the victim's system.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> GITHUB SECURITY ADVISORY

GHSA-7g5w-pq96-8c5w HIGH

flash-attention contains an insecure deserialization vulnerability in its checkpoint loading mechanism

AFFECTED PACKAGES:
PIP / flash_attn
<= 2.8.3

> HISTORIQUE DES MODIFICATIONS

Première apparition
11/05/2026 17:16
Source: NVD
Total des modifications: 0 Dernière mise à jour: 5 months ago

> REFERENCES

https://github.com/Dao-AILab/flash-attention
https://www.notion.so/CVE-2026-31253-35d1e1393188813f9e77e2038104bc49
« BACK_TO_HOME