CVE-2026-126296: NLTK - Path Traversal
- Cve: CVE-2026-126296
- Name: NLTK - Path Traversal
- Description: NLTK before 3.10.4 contains a path traversal vulnerability in save_maxent_params() and load_maxent_params() that bypasses the pathsec filesystem restriction mechanism. Attackers who control the tab_dir argument can read or overwrite model parameter files outside permitted data roots, because the functions call Python's built-in open() directly.
- Impact: Attackers can read or overwrite arbitrary model parameter files outside permitted data roots, potentially leading to data tampering or information disclosure.
- Remediation: Upgrade to NLTK 3.10.4 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: data_tampering, file_system_read, file_system_write, information_disclosure
- Requirements: Attacker must control the tab_dir argument
- Labels source: securitycontext
- Severity: medium
- Cvss score: 4.8
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- Epss score: 0.00376
- Epss percentile: 0.31993
- Assignee: [email protected]
- Published at: 2026-11-13T10:17:34Z
- Age in days: 11
- Modified at: 2026-11-18T16:18:07Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-126296
- Nvd status: awaiting_analysis
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-73 | External Control of File Name or Path |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nltk:nltk | < 3.10.4 | no | cna | /v1/products/nltk/nltk |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nltk/nltk | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/nltk/nltk |
Index
- Repositories: 826
- Repositories high signal: 419
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts