Arbitrary file read in NLTK BllipParser via model paths
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- High · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
NLTK from 3.10.0 before 3.10.4 contains an arbitrary file read flaw in BllipParser that accepts unvalidated model paths. An attacker who controls parser_model, reranker_features, reranker_weights, or from_unified_model_dir() input can make the bllipparser C extension read files outside NLTK data roots, including sensitive files, or block on FIFOs and devices (CWE-22). The CVSS 4.0 vector requires local access with low complexity and no privileges or user interaction, and the source reports a proof-of-concept exploit assessment.
Written with Claude Haiku 5.5 from the sources below · 2026-11-14
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nltk | nltk | 3.10.0 to before 3.10.4 | 3.10.4 | Patch available | CNA |
| — | nltk (PyPI) | 3.10.0 to before 3.10.4 | 3.10.4 | Patch available | GHSA-fg9w-wfp5-j933 |
- nltk Vendornltk Affected 3.10.0 to before 3.10.4 Fixed in 3.10.4 Patch available CNA
- nltk (PyPI) Vendor— Affected 3.10.0 to before 3.10.4 Fixed in 3.10.4 Patch available GHSA-fg9w-wfp5-j933
Remediation
Upgrade NLTK to version 3.10.4 or later, which is the fixed version listed for both the nltk and PyPI nltk packages.
Written with Claude Haiku 5.5 from the sources below · 2026-11-14
- Fix · CNA nltk (nltk) Fixed in 3.10.4
- Fix · GHSA-fg9w-wfp5-j933 nltk (PyPI) Fixed in 3.10.4 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
nltk 3.10.4
10 records Highest priority Priority HIGH 2 HIGH, 2 MEDIUM, 6 LOW
Other records, highest priority first
- TI-2026-91241 NLTK denial of service in SteppingRecursiveDescentParser.parse()Priority HIGH 77
- TI-2026-91237 NLTK Quadratic-Time Denial of Service via CCG Lexicon fromstringPriority HIGH 77
- TI-2026-91236 Quadratic CPU denial of service in NLTK Tree.chomsky_normal_formPriority MEDIUM 44
Timeline
- 2026-11-13 Threatist record created from CVE-2026-126295
- 2026-11-13 Alias added: GHSA-f7j6-hf97-9v99
- 2026-11-13 CISA SSVC decision points changed
- 2026-11-13 Alias added: GHSA-fg9w-wfp5-j933
- 2026-11-13 Fix available: PyPI/[email protected] · GHSA-fg9w-wfp5-j933
- 2026-11-13 CVSS score added · GHSA-fg9w-wfp5-j933
- 2026-11-13 Weakness changed · GHSA-fg9w-wfp5-j933
- 2026-11-13 5 new references · GHSA-fg9w-wfp5-j933
References
More nltk vulnerabilities
- TI-2026-00629 Arbitrary Code Execution in NLTK StanfordSegmenter via Untrusted JAR Loading CVSS 3.0CRITICAL 10.0
- TI-2025-12800 Zip Slip Vulnerability in nltk/nltk Leading to Remote Code Execution CVSS 3.0CRITICAL 10.0
- TI-2026-55173 NLTK before 3.10.3 JVM Argument Injection via Per-Call Options CVSS 4.0CRITICAL 9.3
- TI-2026-55155 NLTK before 3.10.3 Remote Code Execution via Unsafe Pickle Deserialization CVSS 4.0CRITICAL 9.3
- TI-2026-91241 NLTK denial of service in SteppingRecursiveDescentParser.parse() CVSS 4.0HIGH 8.7
- TI-2026-91237 NLTK Quadratic-Time Denial of Service via CCG Lexicon fromstring CVSS 4.0HIGH 8.7
Sources
- CVE-2026-126295 · CVE Program
- CVE-2026-126295 · NVD
- FIRST EPSS
- GHSA-f7j6-hf97-9v99 · GitHub Advisory Database · CC BY 4.0
- GHSA-fg9w-wfp5-j933 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences