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…
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | nltk | <= 3.10.3 | 3.10.4 |
Betroffene Produkte · Nltk
| Produkt | Betroffene Versionen |
|---|---|
| Nltk | vor 3.10.4 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- 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/advisories/GHSA-g5wx-957h-f4wj
- https://nvd.nist.gov/vuln/detail/CVE-2026-126296
- https://github.com/advisories/GHSA-59f9-gqg8-mqpj
- https://github.com/nltk/nltk/pull/3759
- https://github.com/nltk/nltk/commit/2a92b71827d754ae8920261e7ed0c4bb283ab2d7
- https://github.com/nltk/nltk/releases/tag/v3.10.4