FlashAttention CVE-2026-62239
MEDIUMSeverity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Local attack (AV:L) requiring low-privilege write access to cache dir (PR:L) and victim-initiated build (UI:R); high C and I for arbitrary file read/write; no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
3DescriptionCVE.org
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.
AnalysisAI
Arbitrary file write via symlink attack in FlashAttention's build toolchain (through 2.8.3.post1) allows a local low-privileged attacker to redirect NVIDIA archive extraction to attacker-controlled paths by pre-planting a symlink in the predictable cache directory before a victim initiates a build. The hopper/setup.py download_and_copy() function called tarfile.extractall() without symlink validation or path confinement, meaning extracted NVIDIA toolchain binaries could be written anywhere accessible to the victim's process. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Exploitation requires two specific conditions: (1) the attacker must have local write access to the flashattn_cache_path directory - the predictable cache location used by FlashAttention's hopper/setup.py - in order to pre-plant a symlink before the build runs; and (2) a victim user with higher or more sensitive filesystem privileges must subsequently trigger a FlashAttention build or installation that invokes download_and_copy() for NVIDIA Hopper GPU support. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | The CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N) accurately characterizes this as a local, low-privilege attack constrained by two conditions: AT:P (the attacker must successfully pre-plant a symlink before the build runs) and UI:P (a victim must passively initiate the build). … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | On a shared GPU build server, a low-privileged attacker identifies the predictable FlashAttention cache directory and places a symlink at the expected extraction subdirectory path, redirecting it to a sensitive writable location such as a cron directory or an authorized SSH key file. When a developer or CI/CD job subsequently runs a FlashAttention build targeting NVIDIA Hopper GPUs, download_and_copy() extracts the NVIDIA toolchain archive through the attacker's symlink, writing extracted binaries to the redirected path with the victim's privileges. … |
| Remediation | The primary fix is to update FlashAttention to a version incorporating upstream commit 0816ef12f424c6ec94b057a72c275b14f6e6edb2 (pull request #2702: https://github.com/Dao-AILab/flash-attention/pull/2702); a tagged release version incorporating this fix was not independently confirmed from available data, so verify the specific release against the commit. … Detailed patch versions, workarounds, and compensating controls in full report. |
Threat intelligence, references, and detailed analysis are available after sign-in.
Same weakness CWE-59 – Improper Link Resolution Before File Access
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today