# CVE-2026-126304: NLTK 3.10.0 before 3.10.4 Symlink Escape in YCOECorpusReader

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/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.62%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-13T09:36:23.105Z
- Modified: 2026-11-18T16:18:07.833Z
- Also known as: GHSA-qg35-44qx-7vrr
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

NLTK from 3.10.0 before 3.10.4 contains a symlink escape vulnerability in YCOECorpusReader that allows attackers to read files outside the corpus root by planting psd or pos directory symlinks. Attackers controlling a YCOE corpus can make parsed_sents() and tagged_words() return file content from other corpora or temporary files within the NLTK data sandbox.

(As written by CVE List.)

## Affected

- nltk nltk: from 3.10.0 before 3.10.4 (not affected: 3.10.4)
- nltk (PyPI): from 3.10.0 before 3.10.4

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-qg35-44qx-7vrr> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-3.10.0-before-3.10.4-symlink-escape-in-ycoecorpusreader> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126304> (advisory)
- <https://github.com/nltk/nltk/pull/3888> (web)
- <https://github.com/nltk/nltk/commit/2c563b13f9dce7c15eefd4b03463e1b69b64f1f3> (web)
- <https://github.com/nltk/nltk/commit/68434c0427f8d296f3adfddb518525038d1f7bfa> (web)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/nltk/nltk/releases/tag/v3.10.4> (web)

## Sources

- CVE List: [CVE-2026-126304](https://www.cve.org/CVERecord?id=CVE-2026-126304), CVE Terms of Use, modified 2026-11-18
- GitHub Advisory Database: [GHSA-qg35-44qx-7vrr](https://github.com/advisories/GHSA-qg35-44qx-7vrr), CC-BY-4.0, modified 2026-11-13
- NVD: [CVE-2026-126304](https://nvd.nist.gov/vuln/detail/CVE-2026-126304), Public domain, modified 2026-11-18

---

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