CVE Hunter
›
CVE-2026-126296

CWE-22

MEDIUM CVSS 6.3 ⚡ EPSS 0.3% GitHub

### Summary Path traversal in NLTK's save_maxent_params() and load_maxent_params() allows arbitrary file write and arbitrary file read outside the directories permitted by NLTK's pathsec security mechanism. This vulnerability was previously reported through Huntr, accepted by the NLTK project, and assigned CVE-2026-15367. A $750 bounty was paid through Huntr (i didnt get the fix bounty). Huntr subsequently shut down its OSS vulnerability program, so I am submitting this report through GitHub to continue the existing disclosure process and preserve the original CVE assignment and researcher credit. ### Details The affected functions are: - nltk.classify.maxent.load_maxent_params() - nltk.classify.maxent.save_maxent_params() Both functions construct filesystem paths from the caller-controlled tab_dir argument and access them using Python's built-in open() without passing the paths through NLTK's pathsec validation. For example, load_maxent_params() constructs and opens: - <tab_dir>/weights.txt - <tab_dir>/mapping.tab - <tab_dir>/labels.txt - <tab_dir>/alwayson.tab Similarly, save_maxent_params() creates/writes files under the supplied tab_dir. This bypasses the security boundary provided by nltk.pathsec. NLTK documents pathsec as the mechanism for restricting filesystem access to permitted roots, with strict enforcement intended to prevent unauthorized filesystem access. The relevant implementation is in: nltk/classify/maxent.py The affected functions can be found in

Yayınlanma 16.11.2026
ISO Tarih 2026-11-16
CVSS Sürüm v4.0
Kaynak GitHub
CVSS v4.0 Metrikleri
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
Attack Vector Network AV:N
Attack Complexity High AC:H
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. None VC:N
Vuln. Integrity Low VI:L
Vuln. Avail. Low VA:L
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
EPSS — Exploit Olasılık Skoru
0.3%
30 günlük olasılık
Tüm CVElerin 20. yüzdeliğinde — Bu açığın istismar edilme ihtimali çoğu CVEden yüksek.
AI Güvenlik Analizi
🤖 Yapay Zeka Güvenlik Analizi Hazırlanıyor…
CVSS vektörü ve CWE zayıflık yapısı inceleniyor…
Hedef Keşif Sorguları
CVSS Skoru
6.3 / 10 · CVSS MEDIUM
Zayıflık Türleri (CWE)
CWE-22
Etkilenen Ürünler (1)
nltk
Referanslar (4)
İlgili CVE'ler
9.8
CVE-2026-63189
Dialoqbase is an application for creating chatbots. Prior to 1.11.5, the unauthenticated GET /api/v1/view/* ro
9.4
CVE-2026-130156
Bazarr is a companion application to Sonarr and Radarr. Prior to 1.6.3-beta.11, the /api/subtitles/subtitles-i
9.3
CVE-2026-130683
SiYuan before 3.8.10 uses an incomplete deny-list in IsSensitivePath that omits shell-initialization files suc
9.1
CVE-2026-130154
Zyrabit Platform provides sovereign AI infrastructure for enterprise retrieval-augmented generation. Prior to
8.8
CVE-2026-87790
Latvijas Valsts radio un televīzijas centrs (LVRTC) eParakstītājs 3.0 version 1.10.0-resolute allows an una
8.8
CVE-2026-126967
SmarterTools SmarterMail File Edit API Directory Traversal Remote Code Execution Vulnerability. This vulnerabi