
CVE catalog
CVE-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 WordListCorpusReader, TaggedCorpusReader, and Brack
- Severity
- High · CVSS 8.6
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.94% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nltk | sid | 3.10.3-1 | fixed |
| Debian | nltk | forky | 3.10.3-1 | fixed |
| Debian | nltk | trixie | 3.9.1-2 | vulnerable |
| Debian | nltk | bookworm | 3.8-1 | vulnerable |
| Cpe | nltk | Not reported | Not reported | vulnerable |
| Cpe | nltk | Not reported | 3.8.1-1ubuntu0.1~esm2 | fixed |
| Cpe | python3-nltk | Not reported | 3.8.1-1ubuntu0.1~esm2 | fixed |
| Opensuse | python-nltk | tumbleweed | 3.9.3-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nltk | source | sid | 3.9.3-1 | not yet assigned | Not reported | Not reported |
| Debian | nltk | source | forky | 3.9.3-1 | not yet assigned | Not reported | Not reported |
| Debian | nltk | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | nltk | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | nltk | cpe | Not reported | 3.8.1-1ubuntu0.1~esm2 | Not reported | Not reported | Not reported |
| Cpe | python3-nltk | cpe | Not reported | 3.8.1-1ubuntu0.1~esm2 | Not reported | Not reported | Not reported |
| Opensuse | python-nltk | rpm | tumbleweed | 3.9.3-1.1 | Not reported | OPENSUSE-SU-2026:10304-1 | Not reported |
Notes
[trixie] nltk: Minor issue [bookworm] nltk: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-nltk]Affected
Source package: [nltk]
Details (2)
3.8-1· all · bookwormAffected
nvd · nltk · debian · bookworm; nvd · nltk · debian · 12
3.8-1· all · bookwormAffected
nvd · nltk · debian · bookworm; nvd · nltk · debian · 12
[Debian 13 (Trixie)]
- [python3-nltk]Affected
Source package: [nltk]
Details (2)
3.9.1-2· all · trixieAffected
nvd · nltk · debian · 13
3.9.1-2· all · trixieAffected
nvd · nltk · debian · 13
[openSUSE Tumbleweed]
- [python313-nltk]Unknown
Source package: [python-nltk]
Details (1)
3.10.3-1.1· noarch · tumbleweedUnknown · Fixed:
3.9.3-1.1Version impact unknown
nvd · python-nltk · opensuse · tumbleweed
- [python314-nltk]Unknown
Source package: [python-nltk]
Details (1)
3.10.3-1.1· noarch · tumbleweedUnknown · Fixed:
3.9.3-1.1Version impact unknown
nvd · python-nltk · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10304-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-0847]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-0847]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10304-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-0847]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0847.json]
- [https://ubuntu.com/security/notices/USN-8302-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]