{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-62239",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-07-13T16:41:09.007Z",
        "datePublished": "2026-07-13T21:03:32.262Z",
        "dateUpdated": "2026-07-14T12:53:45.093Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-07-14T12:08:53.383Z"
            },
            "title": "FlashAttention Symlink Attack via tarfile.extractall in hopper/setup.py",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "tags": [
                "x_open-source"
            ],
            "datePublic": "2026-06-09T00:00:00.000Z",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-59",
                            "description": "Improper Link Resolution Before File Access ('Link Following')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Dao-AILab",
                    "product": "flash-attention",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:pypi/flash_attn_2_cuda",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "versionType": "custom",
                            "lessThanOrEqual": "2.8.3.post1"
                        },
                        {
                            "status": "unaffected",
                            "version": "0816ef12f424c6ec94b057a72c275b14f6e6edb2",
                            "versionType": "git"
                        }
                    ],
                    "repo": "https://github.com/Dao-AILab/flash-attention"
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV4_0": {
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "HIGH",
                        "subIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "exploitMaturity": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "valueDensity": "NOT_DEFINED",
                        "vulnerabilityResponseEffort": "NOT_DEFINED",
                        "providerUrgency": "NOT_DEFINED",
                        "version": "4.0",
                        "baseSeverity": "MEDIUM",
                        "baseScore": 5.3,
                        "vectorString": "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"
                    }
                },
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV3_1": {
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "NONE",
                        "version": "3.1",
                        "baseSeverity": "MEDIUM",
                        "baseScore": 6.6,
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/Dao-AILab/flash-attention/issues/2637",
                    "name": "Researcher Disclosure",
                    "tags": [
                        "technical-description",
                        "exploit",
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://github.com/Dao-AILab/flash-attention/pull/2702",
                    "name": "Pull Request",
                    "tags": [
                        "issue-tracking",
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/Dao-AILab/flash-attention/commit/0816ef12f424c6ec94b057a72c275b14f6e6edb2",
                    "name": "Patch Commit",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://www.vulncheck.com/advisories/flashattention-symlink-attack-via-tarfile-extractall-in-hopper-setup-py",
                    "tags": [
                        "third-party-advisory"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "YU SUN",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/Dao-AILab/flash-attention/issues/2637",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-07-14T12:53:41.369813Z",
                                "id": "CVE-2026-62239",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-07-14T12:53:45.093Z"
                }
            }
        ]
    }
}