pypi package report

Is flash-attn safe?

1 known vulnerability, worst severity HIGH.

// reach

2 direct dependencies

1 carry known advisories, worst CRITICAL

23 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai models

127 published models carry an advisory from this package

1 pin a version the advisory is confirmed against; the rest declare it without a version.

tencent/Hunyuan-7B-InstructHIGH
Alibaba-NLP/gte-Qwen2-1.5B-instructHIGHnot pinned

127 published models

2 declared · 125 observed · 0 inferred

ModelEvidence
tencent/Hunyuan-7B-Instructdeclared
vidore/colqwen2-v1.0declared
Create a free accountto see all 125 models and per-model risk

127 published AI models are associated with this package: 2 name it in a requirements or pyproject file, 125 load it or import it directly, and 0 are inferred from the runtime stack their declared library pulls in. Only 1 state a version requirement, so this is not a count of affected models.


cvss
0.0
high

severity out of 10

epss
0.00%
low

chance of exploitation in 30 days, 30th percentile of all CVEs

xyz score
0.0
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-7g5w-pq96-8c5w, the advisory selected below

// 1 advisories

GHSA-7g5w-pq96-8c5w

HIGHCVE-2026-31253

The flash-attention training framework thru commit e724e2588cbe (2025-13-04) contains an insecure deserialization vulnerability (CWE-502) in its checkpoint loading mechanism. The loadcheckpoint() function in checkpoint.py and the checkpoint loading code in eval.py use torch.load() without enabling the security-restrictive weightsonly=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.

// cvss v3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Checked 2026-10-23 at 18:51 UTC. The most recent advisory here was published 2026-05-11. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.