CVE-2026-126296
published medium CVSS 4.0 · 6.3NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nltk | — | nltk0 to < 3.10.4 (affected · semver) · 3.10.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.8 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nltk | nltk | 0 to < 3.10.4 (affected · semver)3.10.4 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-73 External Control of File Name or Path
References
2- GitHub Security Advisory (GHSA-59f9-gqg8-mqpj) https://github.com/nltk/nltk/security/advisories/GHSA-59f9-gqg8-mqpj
- VulnCheck Advisory: NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params https://www.vulncheck.com/advisories/nltk-before-3.10.4-path-traversal-via-save-maxent-params-and-load-maxent-params
Provider assertions
2VulnCheck · cna
NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7efbb040e057b1ab905aad01e2627cc69a3c952ad142a15e10eaabd0cee11f5f
- Ingested
- 18 Nov 2026, 15:59:56 UTC
- Source record
- Official CVE record