CVE-2026-126296

GHSA-59f9-gqg8-mqpj · published 13 Nov 2026 · updated 18 Nov 2026

NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params

4.8MediumCVSS 4.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.10.4 and nltk 3.10.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nltk<3.10.43.10.4
pypi: nltk<3.10.4, <=3.10.33.10.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in nltk (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126296 severity on Zeptric[![CVE-2026-126296](https://zeptric.io/badge/cve/CVE-2026-126296.svg)](https://zeptric.io/cve/CVE-2026-126296)