CVE-2026-0846
A vulnerability in the `filestring()` function of the `nltk.util` module in nltk version 3.9.2 allows arbitrary file read due to improper validation of input paths. The function directly opens files specified by user input without sanitization, enabling attackers to access sensitive system files by providing absolute paths or traversal paths. This vulnerability can be exploited locally or remotely, particularly in scenarios where the function is used in web APIs or other interfaces that accept user-supplied input.
- Nltk
- = 3.9.2
- CVSS 3.0
- 8.6 HIGH
- EPSS
- 0.4% (35th percentile)
- Weakness
- CWE-36, CWE-22
- NVD status
- Modified
- Published
- 2026-03-09
No indexed exploits for CVE-2026-0846 yet
Our index is partial: it proves presence, never absence
No exploit for CVE-2026-0846 has been indexed yet. Our index is built from live traffic and upstream syncs, so this page can only say what it knows — not that no exploit exists.