CVE-2026-0846: nltk/nltk · Absolute Path Traversal
Affects nltk/nltkSource CVE Database V5
Not known to be exploited · CVSS 8.6 High.
Data as of 28 Oct 2026, 05:11 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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 9 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| nltknltk/nltk | Affected
| Fixed in– |
PyPInltkpkg:pypi/nltkOther threats | 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
The Red Hat advisories linked do not explicitly mention a fixed version or patch for nltk 3.9.2. Until an official fix is available, avoid exposing the filestring() function to untrusted input or implement input validation and sanitization to prevent absolute path or directory traversal inputs.
Description
A vulnerability in the `filestring()` function of the `nltk.util` module in nltk version 3.9.2 allows arbitrary file read due to improper validation of input paths. The function directly opens files specified by user input without sanitization, enabling attackers to access sensitive system files by providing absolute paths or traversal paths. This vulnerability can be exploited locally or remotely, particularly in scenarios where the function is used in web APIs or other interfaces that accept user-supplied input.
References
- huntr.com/bounties/007b84f8-418e-4300-99d0-bf504c2f97eb (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-0846 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2445826 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0846.json (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)