CVE-2026-126296
Medium 6.3No known exploitationFix availableNLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params
Vendor advisory: GHSA-59f9-gqg8-mqpj
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 20% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-73
Patching and mitigation
- Patch status
- Fix available (source: CVE record (VulnCheck))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| nltk | nltk | all versions before 3.10.4 | 3.10.4 | CVE Program |
| pip | nltk | all versions up to and including 3.10.3 | 3.10.4 | GitHub Advisory Database |
| nltk | nltk (unaffected) | 3.10.4 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by VulnCheck
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (VulnCheck)