Skip to main content
CVE-2026-0847VulnerabilityPublished Updated

NLTK

Affects nltkSource GCVE Database

0
Compare
Authoritative record:CVE-2026-0847· High 8.6

Not known to be exploited · CVSS 8.6 High · fixed in 2.0~b9-0ubuntu4.1~esm6 : patch nltk soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.0% chance of exploitation in 30 days – higher than 63% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.0~b9-0ubuntu4.1~esm6, 3.1-1ubuntu0.1+esm4, 3.2.5-1ubuntu0.1+esm4 +4
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.10nltkpkg:deb/ubuntu/nltk?arch=source&distro=stonkingOther threatsAffected
  • 3.9.2-1 – 3.10.3-1
5 affected builds
Fixed in–
Ubuntu Pro 26.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • <3.9.2-1ubuntu0.1~esm2
Fixed in
  • 3.9.2-1ubuntu0.1~esm2
Ubuntu 25.10nltkpkg:deb/ubuntu/nltk?arch=source&distro=questingOther threatsAffected
  • =3.9.1-2
Fixed in–
Ubuntu Pro 24.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <3.8.1-1ubuntu0.1~esm2
Fixed in
  • 3.8.1-1ubuntu0.1~esm2
Ubuntu Pro 22.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <3.7-1ubuntu0.1~esm2
Fixed in
  • 3.7-1ubuntu0.1~esm2
Ubuntu Pro 20.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/focalOther threatsAffected
  • <3.4.5-2ubuntu0.1~esm4
Fixed in
  • 3.4.5-2ubuntu0.1~esm4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…