CVE-2026-126296

Medium

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.

SeverityMedium
CVSS4.8
Exploit probability—
ProductNltk
PublishedNov 13, 2026
First seenNov 13, 2026
Weakness typeCWE-73CWE-73

How to fix

Update
  • nltk nltk3.10.4 or later
  • nltk3.10.4 or later

Affected products

ProductAffected versionsFixed in
nltk nltkv < 3.10.43.10.4
nltkPyPIv ≤ 3.10.33.10.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.