CVE-2026-62239
JSON

5.3medium

FlashAttention Symlink Attack via tarfile.extractall in hopper/setup.py

Severity
5.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Dao-AILab flash-attentionup to 2.8.3.post1
Not affected: 0816ef12f424c6ec94b057a72c275b14f6e6edb2
CVE List

All scores

VulnCheck5.3medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck6.6medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Classification

CWE-59

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

FlashAttention hasta la versión 2.8.3.post1, corregido en el commit 0816ef1, contiene una vulnerabilidad de ataque de symlink en la función download_and_copy() dentro de hopper/setup.py que extrae archivos de la cadena de herramientas de NVIDIA sin validar symlinks ni filtrar miembros de tar. Un atacante local puede pre-plantar un symlink en el directorio de caché predecible para redirigir los binarios extraídos a una ubicación elegida por el atacante, lo que permite la escritura arbitraria de archivos con privilegios de la víctima durante el tiempo de compilación.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-62239 changed 2026-09-17CVE Terms of Use
NVDCVE-2026-62239 changed 2026-10-24Public domain