CVE-2026-0847
published 2026-03-04CVE-2026-0847: A vulnerability in NLTK versions up to and including 3.9.2 allows arbitrary file read via path traversal in multiple CorpusReader classes, including…
PriorityP355high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
0.92%
56.4th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | nltk | < nltk 3.9.3-1 (forky) | nltk 3.9.3-1 (forky) |
| nltk | nltk | <= 3.9.2 | — |
| nltk | nltk | >= 0 < 3.9.3-1 | 3.9.3-1 |
| nltk | nltk | 0 – 3.9.2 | — |
| nltk | nltk_nltk | unspecified – latest | — |
| ubuntu | nltk | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv3.08.6HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
osv8.6HIGH
vendor_debian8.6HIGH
vendor_redhat8.6HIGH
vendor_ubuntu8.6HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
NLTK vulnerabilities
vendor_ubuntu·2026-05-25·CVSS 8.6
CVE-2026-33230 [HIGH] NLTK vulnerabilities
Title: NLTK vulnerabilities
Summary: Several security issues were fixed in NLTK.
It was discovered that NLTK incorrectly validated file paths when
opening files using the nltk.util module. An attacker could possibly
use this issue to obtain sensitive information. (CVE-2026-0846)
It was discovered that NLTK incorrectly validated file paths in
multiple CorpusReader classes. An attacker could possibly use
this issue to obtain sensitive information. (CVE-2026-0847)
It was discovered that NLTK did not properly validate external
Java archive files loaded by StanfordSegmenter. An attacker
could possibly use this issue to execute arbitrary code. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu
22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS.
(CVE-2026-0848)
It was discove
Red Hat
nltk: NLTK: Arbitrary file read via path traversal vulnerability
vendor_redhat·2026-03-04·CVSS 8.6
CVE-2026-0847 [HIGH] CWE-22 nltk: NLTK: Arbitrary file read via path traversal vulnerability
nltk: NLTK: Arbitrary file read via path traversal vulnerability
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
Debian
CVE-2026-0847: nltk - A vulnerability in NLTK versions up to and including 3.9.2 allows arbitrary file...
vendor_debian·2026·CVSS 8.6
CVE-2026-0847 [HIGH] CVE-2026-0847: nltk - A vulnerability in NLTK versions up to and including 3.9.2 allows arbitrary file...
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.
Scope: local
bookworm: open
b
OSV
CVE-2026-0847: A vulnerability in NLTK versions up to and including 3
osv·2026-03-04·CVSS 8.6
CVE-2026-0847 [HIGH] CVE-2026-0847: A vulnerability in NLTK versions up to and including 3
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.
GHSA
NLTK has a Path Traversal issue
ghsa·2026-03-04
CVE-2026-0847 [HIGH] CWE-22 NLTK has a Path Traversal issue
NLTK has a Path Traversal issue
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 vulnerabiliti
GHSA
GHSA-68j8-pq59-fqgm: A vulnerability in NLTK versions up to and including 3
ghsa_unreviewed·2026-03-04
CVE-2026-0847 [HIGH] CWE-22 GHSA-68j8-pq59-fqgm: A vulnerability in NLTK versions up to and including 3
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.
No detection rules found.
No public exploits indexed.
https://huntr.com/bounties/fc69914f-36a9-4c18-8503-10013b39f966https://access.redhat.com/errata/RHSA-2026:10184https://access.redhat.com/errata/RHSA-2026:19712https://access.redhat.com/security/cve/CVE-2026-0847https://bugzilla.redhat.com/show_bug.cgi?id=2444608https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0847.json
2026-03-04
Published