CVE-2026-126296
Medium
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.
SeverityMedium
CVSS4.8
Exploit probability—
ProductNltk
PublishedNov 13, 2026
First seenNov 13, 2026
Weakness typeCWE-73CWE-73
How to fix
Update
- nltk nltk3.10.4 or later
- nltk3.10.4 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nltk nltk | v < 3.10.4 | 3.10.4 |
| nltkPyPI | v ≤ 3.10.3 | 3.10.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.