NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| nltknltk |
< 3.10.4→ 3.10.4 |
3.10.4 |
| pipnltk |
< 3.10.4→ 3.10.4 |
3.10.4 |
| PyPInltk |
< 3.10.4→ 3.10.4 |
3.10.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-126296 nltk No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web disclosure@vulncheck.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com