CVE-2026-126296

MEDIUM CVSS 4.0: 6.3 EPSS 0.38%
Updated Nov 18, 2026
Python
Parameter Value
CVSS 6.3 (MEDIUM)
Affected Versions before 3.10.4
Type CWE-73 (External Control of File Name or Path)
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
Low
Partial disruption

CVSS Vector v4.0