4.8Mittel

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

nltk nltk Veröffentlicht: (vor 7 Stunden)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-73

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
nltk nltk < 3.10.4, fixed 3.10.4

Referenzen und Patches