# CVE-2026-81727: NLTK before 3.10.3 Hardlink File Overwrite via downloader

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/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.18%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-27T14:51:19.564Z
- Modified: 2026-09-10T03:51:15.298Z
- Also known as: GHSA-f794-5jv7-7672, PYSEC-2026-3741
- Weaknesses: CWE-59, CWE-61, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

NLTK versions before 3.10.3 contain a filesystem containment bypass vulnerability in the Downloader.download and Downloader.incr_download methods that allows attackers to overwrite files outside the install root through pre-existing hardlinks. Attackers with write access to a shared downloader directory can create hardlinks pointing to outside-root files that are then overwritten during normal package extraction, mutating files outside the intended install tree.

(As written by CVE List.)

## Affected

- nltk nltk: before 3.10.3 (not affected: 3.10.3)
- nltk (PyPI): before 3.10.3

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 7.1 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/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`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-f794-5jv7-7672> (exploit, evidence, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-before-3.10.3-hardlink-file-overwrite-via-downloader> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-81727> (advisory)
- <https://github.com/nltk/nltk/pull/3797> (web)
- <https://github.com/nltk/nltk/commit/9e6d5f05902b9aaa1221a0a565448d17a9c9b3e8> (web)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/nltk/nltk/releases/tag/v3.10.3> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3741.yaml> (web)

## Sources

- CVE List: [CVE-2026-81727](https://www.cve.org/CVERecord?id=CVE-2026-81727), CVE Terms of Use, modified 2026-08-27
- GitHub Advisory Database: [GHSA-f794-5jv7-7672](https://github.com/advisories/GHSA-f794-5jv7-7672), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-81727](https://nvd.nist.gov/vuln/detail/CVE-2026-81727), Public domain, modified 2026-08-31
- PyPA Advisory Database: [PYSEC-2026-3741](https://osv.dev/vulnerability/PYSEC-2026-3741), CC-BY-4.0, modified 2026-09-01

---

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