CVE-2026-0847: NLTK has a Path Traversal issue
Affects nltkSource GCVE Database
Not known to be exploited · CVSS 8.6 High : upgrade to 3.9.3 soon.
Data as of 4 Nov 2026, 04:28 UTC
- Patch
- Available – fixed in 3.9.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 4 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 3 Nov 2026.
What to do
Upgrade nltk to 3.9.3.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPInltk | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in NLTK version 3.9.3. Users and administrators should upgrade to this version to remediate the vulnerability. The Red Hat advisory confirms the availability of fixes and provides guidance for updating affected products. No additional mitigation steps are indicated beyond applying the official fix.
Description
NLTK versions up to and including 3.9.2 contain a path traversal vulnerability in multiple CorpusReader classes, allowing attackers to read arbitrary files on the server. This occurs due to improper sanitization of file paths in classes such as WordListCorpusReader, TaggedCorpusReader, and BracketParseCorpusReader. Exploitation can lead to unauthorized access to sensitive files and potentially escalate to remote code execution when combined with other vulnerabilities. A fix is available in version 3.9.3.
References
- nvd.nist.gov/vuln/detail/CVE-2026-0847 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:10184 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19712 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-0847 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2444608 (opens in a new tab)
- github.com/nltk/nltk (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-98.yaml (opens in a new tab)
- huntr.com/bounties/fc69914f-36a9-4c18-8503-10013b39f966 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0847.json (opens in a new tab)