CVE-2026-0847

EUVD-2026-9475
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.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 57.17%
Affected Products (NVD)
VendorProductVersion
nltknltk
𝑥
≤ 3.9.2
𝑥
= Vulnerable software versions
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources.
VendorProductVersionSource
Red HatRed Hat OpenShift AI 2.25
1775144403 ≤
𝑥
< *
ADP
Red HatRed Hat OpenShift AI 3.3
1778262893 ≤
𝑥
< *
ADP
Red HatRed Hat OpenShift AI 3.3
1778263054 ≤
𝑥
< *
ADP
Debian logo
Debian Releases
Debian Product
Codename
nltk
bookworm
no-dsa
bullseye
postponed
forky
3.10.3-1
fixed
sid
3.10.3-1
fixed
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
nltk
bionic
Fixed 3.2.5-1ubuntu0.1+esm4
released
focal
Fixed 3.4.5-2ubuntu0.1~esm4
released
jammy
Fixed 3.7-1ubuntu0.1~esm2
released
noble
Fixed 3.8.1-1ubuntu0.1~esm2
released
questing
ignored
resolute
Fixed 3.9.2-1ubuntu0.1~esm2
released
trusty
Fixed 2.0~b9-0ubuntu4.1~esm6
released
xenial
Fixed 3.1-1ubuntu0.1+esm4
released