Unrated severityNVD Advisory· Published Jul 13, 2026· Updated Jul 14, 2026
FlashAttention Symlink Attack via tarfile.extractall in hopper/setup.py
CVE-2026-62239
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.
Affected products
1- Range: <=2.8.3.post1
Patches
Vulnerability mechanics
References
4- github.com/Dao-AILab/flash-attention/commit/0816ef12f424c6ec94b057a72c275b14f6e6edb2mitrepatch
- github.com/Dao-AILab/flash-attention/pull/2702mitreissue-trackingpatch
- github.com/Dao-AILab/flash-attention/issues/2637mitretechnical-descriptionexploitissue-tracking
- www.vulncheck.com/advisories/flashattention-symlink-attack-via-tarfile-extractall-in-hopper-setup-pymitrethird-party-advisory
News mentions
0No linked articles in our index yet.