CVE-2026-126304 json
NLTK 3.10.0 before 3.10.4 Symlink Escape in YCOECorpusReader
published 18d ago modified 8h ago also EUVD-2026-125216 , GHSA-qg35-44qx-7vrr
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi nltk 3.10.4
- nltk nltk 3.10.4
- github.com/nltk/nltk@2c563b1 commit
- github.com/nltk/nltk@68434c0 commit
- github.com/nltk/nltk#3888 pull request
- github.com/nltk/nltk/releases/tag/v3.10.4 release
Is CVE-2026-126304 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-13).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 4.0 | 8.7 | 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 |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | nltk | >=3.10.0, <3.10.4 |
3.10.4 |
Affected products
- nltk nltk
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
github.com
/nltk/nltk/pull/3888
web
-
github.com
/nltk/nltk/commit/2c563b13f9dce7c15eefd4b03463e1b69b64f1f3
web
-
github.com
/nltk/nltk/commit/68434c0427f8d296f3adfddb518525038d1f7bfa
web
-
github.com
/nltk/nltk/security/advisories/GHSA-qg35-44qx-7vrr
vendor-advisory, web, advisory
-
vulncheck.com
/advisories/nltk-3.10.0-before-3.10.4-symlink-escape-in-ycoecorpusreader
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-126304
advisory
-
github.com
/nltk/nltk
package
-
github.com
/nltk/nltk/releases/tag/v3.10.4
web
Sources
- CVE List CVE-2026-126304
- GitHub Advisory GHSA-qg35-44qx-7vrr
- NVD CVE-2026-126304
- Maintainer advisory GHSA-qg35-44qx-7vrr
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of nltk/nltk published their own advisory on GitHub. Reviewed sources take precedence over it.