Advisory record · GHSA-7g5w-pq96-8c5w

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

CVSS 7.3 HighEPSS 0.0022 · 12th percentile

Published by the GitHub Advisory Database at 11 May 2026, 18:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
flash-attnPyPI<=2.8.3No fixed version yet
Identifiers
GHSA-7g5w-pq96-8c5w · CVE-2026-31253 · PYSEC-2026-2477
Weakness (CWE)
CWE-94 · CWE-502
Published
11 May 2026
Updated
14 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of flash-attn up to and including 2.8.3 are affected. The load_checkpoint() function and the checkpoint loading code in eval.py call torch.load() without weights_only=True, so a maliciously crafted checkpoint file can execute arbitrary code when a user loads it for warmstarting or evaluation. No fixed version is listed.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.3 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0022, the 12th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:43 UTC First seen by agentprime
  2. 31 Oct 2026, 14:43 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.