Skip to content

CVE-2026-62239 FlashAttention Symlink Attack via tarfile.extractall in hopper/setup.py

MediumCVSS 5.3 EPSS 0.16%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

FlashAttention through 2.8.3.post1, fixed in commit 0816ef1, contains a symlink attack vulnerability in the download_and_copy() function within hopper/setup.py that extracts NVIDIA toolchain archives without validating symlinks or filtering tar members. A local attacker can pre-plant a symlink in the predictable cache directory to redirect extracted binaries to an attacker-chosen location, enabling arbitrary file write with victim privileges during build time.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi flash-attn <= 2.8.3.post1 after 2.8.3.post1 Fixed

Affected products

ProductAffected versionsFixed in
pypi flash-attn <= 2.8.3.post1 No fix listed

References