Path Traversal in Nltk Nltk/nltk

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 sanitiza…

EPSS: 0.001 (25.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.6 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-0846?
CVE-2026-0846 is a high-severity vulnerability in Nltk Nltk/nltk, classified under Absolute Path Traversal. CVSS score: 8.6/10. Published 2026-03-09.
How severe is CVE-2026-0846?
High severity. CVSS v3 base score is 8.6 out of 10.