4.8Mittel
CVE-2026-126296NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params
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
Referenzen und Patches
- GitHub Security Advisory (GHSA-59f9-gqg8-mqpj) vendor-advisory
- VulnCheck Advisory: NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params third-party-advisory