CVE-2026-62239
MEDIUMFlashAttention Symlink Attack via tarfile.extractall in hopper/setup.py
Title source: cnaDescription
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.
References (4)
Core 4
Core References
Exploit technical-description
exploit
Researcher Disclosure
https://github.com/Dao-AILab/flash-attention/issues/2637
Patch patch
Patch Commit
https://github.com/Dao-AILab/flash-attention/commit/0816ef12f424c6ec94b057a72c275b14f6e6edb2
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/flashattention-symlink-attack-via-tarfile-extractall-in-hopper-setup-py
Scores
CVSS v3
6.6
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Details
CWE
CWE-59
Status
published
Products (2)
Dao-AILab/flash-attention
< 2.8.3.post1
Dao-AILab/flash-attention
0816ef12f424c6ec94b057a72c275b14f6e6edb2
Published
Jul 13, 2026
Tracked Since
Jul 14, 2026