VulnWatch by ve1ve2
medium 6.3 EPSS 0.38%

CVE-2026-126296: NLTK before 3.10.4 contains a path traversal vulnerability in save_maxent_params() and load_maxent_params() that bypasses the pathsec filesystem restriction me…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:

https://nvd.nist.gov/vuln/detail/CVE-2026-126296 ↗

CWE-73

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. References: https://github.com/nltk/nltk/security/advisories/GHSA-59f9-gqg8-mqpj https://www.vulncheck.com/advisories/nltk-before-3.10.4-path-traversal-via-save-maxent-params-and-load-maxent-params https://github.com/nltk/nltk/security/advisories/GHSA-59f9-gqg8-mqpj

Linked vulnerabilities (2)

CVE-2026-126296 medium 6.3 EPSS 0.38% (p32) NVDCVE.orgGHSA
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

nltk: nltk: Arbitrary file overwrite via path traversal in model parameter functions

CWE: CWE-22, CWE-73Aliases: GHSA-59f9-gqg8-mqpj, CVE-2026-15367NVD: Awaiting Analysis
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

NLTK: Path Traversal in save_maxent_params / load_maxent_params Allow Arbitrary File READ/WRITE

CWE: CWE-22Aliases: CVE-2026-126296, CVE-2026-15367

Also reported by (1)