high7.0
CVE-2026-126295
NLTK from 3.10.0 before 3.10.4 contains an arbitrary file read vulnerability in BllipParser that allows attackers to open files outside NLTK data roots by supp…
Impact
NLTK from 3.10.0 before 3.10.4 contains an arbitrary file read vulnerability in BllipParser that allows attackers to open files outside NLTK data roots by supplying unvalidated model paths. Attackers controlling parser_model, reranker_features, reranker_weights, or from_unified_model_dir() input can make the bllipparser C extension read sensitive files or block on FIFOs and devices.
An attacker can exploit this with local access to the system, without logging in, without any action by a user. If it succeeds: high risk of data being read, low risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | nltk | < 3.10.4 | none recorded |
Affected products · Nltk
| Product | Affected versions |
|---|---|
| Nltk | from 3.10.0 before 3.10.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-f7j6-hf97-9v99
- https://github.com/nltk/nltk/security/advisories/GHSA-fg9w-wfp5-j933
- https://nvd.nist.gov/vuln/detail/CVE-2026-126295
- https://www.vulncheck.com/advisories/nltk-3.10.0-before-3.10.4-arbitrary-file-read-via-bllipparser-model-paths
- https://github.com/advisories/GHSA-fg9w-wfp5-j933
- https://github.com/nltk/nltk/commit/fdde6d9ebf5fd612e817b49ec7fecd752802c268
- https://github.com/nltk/nltk/releases/tag/v3.10.4