CVE-2026-126304
HIGH 8.7 UPDATED SOURCE DATASource catalogue and publisher evidence; linked resources have not been executed or independently validated by Vulnpedia.
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.
Severe if exploited (CVSS 8.7); current sources show no confirmed exploitation. Consider exposure and affected versions when prioritizing remediation.
Exploitation likelihood
0.6%chance of exploitation in 30 days · 50th percentile
Impact if exploited
8.7CVSS 4.0 · HIGH · CNA
- ConfidentialityHigh
- IntegrityNone
- AvailabilityNone
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
- ✓Requirements: No special attack requirements
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
CVSS vector
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
References and research data (JSON) · Change history
Packages and version ranges
Each advisory describes its own package and affected ranges. A boundary applies to that range; it is not a universal upgrade recommendation.
nltk PyPI
pkg:pypi/nltk
ECOSYSTEM range- Introduced version (included): 3.10.0
- Fixed boundary (excluded): 3.10.4
4 explicitly listed affected versions
3.10.0, 3.10.1, 3.10.2, 3.10.3
GitHub Advisory Database · GHSA-qg35-44qx-7vrr · Updated 2026-11-13T21:15:14.544338378ZAdditional upstream package constraints
{ "database": { "last_known_affected_version_range": "<= 3.10.3", "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-qg35-44qx-7vrr/GHSA-qg35-44qx-7vrr.json" } }
All CVSS metrics
- HIGH 8.7 v4.0 · CNA Primary
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 - HIGH 7.5 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - HIGH 8.7 v4.0 · NVD Secondary
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/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 - HIGH 7.5 v3.1 · NVD Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
Advisories
- https://github.com/nltk/nltk/security/advisories/GHSA-qg35-44qx-7vrr CVE record · VulnCheck · Updated 2026-11-13T09:36:23.105Z
NVD · CVE-2026-126304 · Updated 2026-11-13T10:17:35.760
GitHub Advisory Database · GHSA-qg35-44qx-7vrr
GitHub Advisory Database · GHSA-qg35-44qx-7vrr · Updated 2026-11-13T21:15:14.544338378Z - https://www.vulncheck.com/advisories/nltk-3.10.0-before-3.10.4-symlink-escape-in-ycoecorpusreader CVE record · VulnCheck · Updated 2026-11-13T09:36:23.105Z
NVD · CVE-2026-126304 · Updated 2026-11-13T10:17:35.760
GitHub Advisory Database · GHSA-qg35-44qx-7vrr
GitHub Advisory Database · GHSA-qg35-44qx-7vrr · Updated 2026-11-13T21:15:14.544338378Z - https://nvd.nist.gov/vuln/detail/CVE-2026-126304 GitHub Advisory Database · GHSA-qg35-44qx-7vrr
GitHub Advisory Database · GHSA-qg35-44qx-7vrr · Updated 2026-11-13T21:15:14.544338378Z - https://osv.dev/vulnerability/GHSA-qg35-44qx-7vrr GitHub Advisory Database · GHSA-qg35-44qx-7vrr
GitHub Advisory Database · GHSA-qg35-44qx-7vrr · Updated 2026-11-13T21:15:14.544338378Z - https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-125216 EUVD · EUVD-2026-125216
Technical & other
- https://github.com/nltk/nltk GitHub Advisory Database · GHSA-qg35-44qx-7vrr
GitHub Advisory Database · GHSA-qg35-44qx-7vrr · Updated 2026-11-13T21:15:14.544338378Z - https://github.com/nltk/nltk/commit/2c563b13f9dce7c15eefd4b03463e1b69b64f1f3 GitHub Advisory Database · GHSA-qg35-44qx-7vrr
GitHub Advisory Database · GHSA-qg35-44qx-7vrr · Updated 2026-11-13T21:15:14.544338378Z - https://github.com/nltk/nltk/commit/68434c0427f8d296f3adfddb518525038d1f7bfa GitHub Advisory Database · GHSA-qg35-44qx-7vrr
GitHub Advisory Database · GHSA-qg35-44qx-7vrr · Updated 2026-11-13T21:15:14.544338378Z - https://github.com/nltk/nltk/pull/3888 GitHub Advisory Database · GHSA-qg35-44qx-7vrr
GitHub Advisory Database · GHSA-qg35-44qx-7vrr · Updated 2026-11-13T21:15:14.544338378Z - https://github.com/nltk/nltk/releases/tag/v3.10.4 GitHub Advisory Database · GHSA-qg35-44qx-7vrr
GitHub Advisory Database · GHSA-qg35-44qx-7vrr · Updated 2026-11-13T21:15:14.544338378Z
Sources: NVD · CVE.org · All sources and attribution · EPSS