CVE-2026-62239
published medium CVSS 4.0 · 5.3FlashAttention Symlink Attack via tarfile.extractall in hopper/setup.py
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Dao-AILab | — | flash-attention0 through 2.8.3.post1 (affected · custom) · 0816ef12f424c6ec94b057a72c275b14f6e6edb2 (unaffected · git) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.6 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Dao-AILab | flash-attention | 0 through 2.8.3.post1 (affected · custom)0816ef12f424c6ec94b057a72c275b14f6e6edb2 (unaffected · git)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
4- Patch Commit https://github.com/Dao-AILab/flash-attention/commit/0816ef12f424c6ec94b057a72c275b14f6e6edb2
- Researcher Disclosure https://github.com/Dao-AILab/flash-attention/issues/2637
- Pull Request https://github.com/Dao-AILab/flash-attention/pull/2702
- https://www.vulncheck.com/advisories/flashattention-symlink-attack-via-tarfile-extractall-in-hopper-setup-py
Provider assertions
2VulnCheck · cna
FlashAttention Symlink Attack via tarfile.extractall in hopper/setup.py
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7946749f25818c4c6d0b042ee46ecd057edc1233197947aae7dc1d539dfd1958
- Ingested
- 23 Sep 2026, 09:24:40 UTC
- Source record
- Official CVE record