CVE-2026-0847
Path Traversal in nltk/nltk
CVSS v3
7.5
HIGH
EPSS Score
0.9 %
exploit probability, as of 2026-10-16
CISA KEV
No
known exploited
Exploitation
poc
SSVC status
Get an alert for each new CVE published for nltk. Watch nltk in CVE Watch Free account · no credit card
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- nltkPyPIall versions · fixed in 3.9.3
Vendor advisories
nltk: NLTK: Arbitrary file read via path traversal vulnerability
lightspeed-core/lightspeed-stack-rhel9 as a component of Lightspeed Core · openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 as a component of OpenShift Lightspeed · openshift-lightspeed/lightspeed-service-api-rhel9 as a component of OpenShift Lightspeed
Red Hat Security Advisory: RHOAI 3.3.3 - Red Hat OpenShift AI
Red Hat Security Advisory: RHOAI 2.25.5 - Red Hat OpenShift AI
Description
A vulnerability in NLTK versions up to and including 3.9.2 allows arbitrary file read via path traversal in multiple CorpusReader classes, including WordListCorpusReader, TaggedCorpusReader, and BracketParseCorpusReader. These classes fail to properly sanitize or validate file paths, enabling attackers to traverse directories and access sensitive files on the server. This issue is particularly critical in scenarios where user-controlled file inputs are processed, such as in machine learning APIs, chatbots, or NLP pipelines. Exploitation of this vulnerability can lead to unauthorized access to sensitive files, including system files, SSH private keys, and API tokens, and may potentially escalate to remote code execution when combined with other vulnerabilities.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2026-03-04
- Last Modified
- 2026-04-28
Frequently asked questions
What is CVE-2026-0847?
Is CVE-2026-0847 actively exploited?
What is the CVSS score for CVE-2026-0847?
Running nltk? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.