NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 13, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 10, 2026
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.
| Product | Versions |
|---|---|
| nltk nltk | before 3.10.4 Affected3.10.4 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | VulnCheck | |
| 3.1 | 4.8 Medium | VulnCheck |
Weaknesses
- CWE-73 External Control of File Name or Path
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.