{"id":"CVE-2026-62239","published":"2026-07-13T21:03:32Z","modified":"2026-09-17T17:54:31Z","title":"FlashAttention Symlink Attack via tarfile.extractall in hopper/setup.py","vendor":"Dao-AILab","product":"flash-attention","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00164,"percentile":0.05698,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/Dao-AILab/flash-attention/issues/2637","tags":["technical-description","exploit","issue-tracking"]},{"url":"https://github.com/Dao-AILab/flash-attention/pull/2702","tags":["issue-tracking","patch"]},{"url":"https://github.com/Dao-AILab/flash-attention/commit/0816ef12f424c6ec94b057a72c275b14f6e6edb2","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/flashattention-symlink-attack-via-tarfile-extractall-in-hopper-setup-py","tags":["third-party-advisory"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":1.14},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"dao-ailab","affectedVersions":[{"vendor":"Dao-AILab","product":"flash-attention","versions":["<= 2.8.3.post1"]}],"fixedVersions":[{"vendor":"Dao-AILab","product":"flash-attention","versions":["0816ef12f424c6ec94b057a72c275b14f6e6edb2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-14T12:53:41.369813Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-43554","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/Dao-AILab/flash-attention/issues/2637"]}