4.8Medium

CVE-2026-126296NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params

nltk nltk Published: (6 days ago)

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.

Weakness (CWE): CWE-73

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
nltk nltk < 3.10.4, fixed 3.10.4

References and patches