Skip to content

[GHSA-7g5w-pq96-8c5w] flash-attention contains an insecure deserialization vulnerability in its checkpoint loading mechanism#7803

Open
warsang wants to merge 1 commit into
warsang/advisory-improvement-7803from
warsang-GHSA-7g5w-pq96-8c5w
Open

[GHSA-7g5w-pq96-8c5w] flash-attention contains an insecure deserialization vulnerability in its checkpoint loading mechanism#7803
warsang wants to merge 1 commit into
warsang/advisory-improvement-7803from
warsang-GHSA-7g5w-pq96-8c5w

Conversation

@warsang
Copy link
Copy Markdown

@warsang warsang commented May 22, 2026

Updates

  • Affected products
  • CVSS v3
  • CWEs
  • Description
  • Severity

Comments
The original advisory covers only training/src/utils/checkpoint.py and training/src/eval.py, both in the source repo. The same unsafe-deserialization pattern (CWE-502) is present at three additional sites in the current tree, including flash_attn/utils/pretrained.py and flash_attn/models/llama.py, which are installed as part of the flash_attn wheel and therefore reachable by every package consumer, not just users running the training scripts. Also proposing a CWE correction (502 vs. 94) and a CVSS revision to reflect arbitrary RCE impact.

@github-actions github-actions Bot changed the base branch from main to warsang/advisory-improvement-7803 May 22, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant