CVE-2026-126296

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.

Severity
MEDIUM
CVSS v3
4.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L · source cna
CVSS v4
6.3
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · source cna
Exploit chance (EPSS)
0.272%
chance of exploitation in the next 30 days
higher than 19.8% of scored CVEs · 2026-11-18
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impactpartial
Scored2026-11-18

Timeline

  1. 2026-11-13Published by the CNA09:36 UTC
  2. 2026-11-13Published in NVD10:17 UTC · 41 minutes after the CNA
  3. 2026-11-16GitHub advisory published (GHSA-59f9-gqg8-mqpj)3 days after publication
  4. 2026-11-18CISA SSVC decision recorded5 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-59f9-gqg8-mqpj, affected packages:

PackageVulnerable versionsFixed in
PyPI nltkbefore 3.10.43.10.4

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
nltk nltkfrom 0 before 3.10.4fixed in 3.10.4before 3.10.4fixed in 3.10.43.10.43.10.4

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources