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

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-13T21:03:32.262Z
- Modified: 2026-10-24T22:10:00.210Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Dao-AILab flash-attention: up to 2.8.3.post1 (not affected: 0816ef12f424c6ec94b057a72c275b14f6e6edb2)

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/Dao-AILab/flash-attention/issues/2637> (exploit, issue-tracking, technical-description)
- <https://github.com/Dao-AILab/flash-attention/pull/2702> (issue-tracking, patch)
- <https://github.com/Dao-AILab/flash-attention/commit/0816ef12f424c6ec94b057a72c275b14f6e6edb2> (patch)
- <https://www.vulncheck.com/advisories/flashattention-symlink-attack-via-tarfile-extractall-in-hopper-setup-py> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-62239](https://www.cve.org/CVERecord?id=CVE-2026-62239), CVE Terms of Use, modified 2026-09-17
- NVD: [CVE-2026-62239](https://nvd.nist.gov/vuln/detail/CVE-2026-62239), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-62239 · Whole record: https://cve.day/CVE-2026-62239.json · Rebuilt by cve.day 2026-11-25T22:59:27.860Z
