NLTK dot2img runs Graphviz 'dot' without the trusted-exec chokepoint, enabling local code execution via a writable
Affects nltkSource GCVE Database
Not known to be exploited · CVSS 7.8 High : upgrade to 3.10.4 soon.
Data as of 16 Nov 2026, 20:25 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.8 |
|---|
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.10.4
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Nov 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 16 Nov 2026.
What to do
Upgrade nltk to 3.10.4.
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 fixed version of NLTK (3.10.4) is available that properly applies the trusted-execution checks to the dot2img function. Users should upgrade to NLTK version 3.10.4 or later. Until upgraded, ensure that no group or world-writable directories appear in the PATH environment variable to prevent attackers from planting malicious executables. No other mitigations are specified by the vendor advisory.
Description
NLTK's dot2img function calls the Graphviz 'dot' executable without applying the trusted-execution security checks that NLTK uses elsewhere. This allows a local unprivileged user on a POSIX system to place a malicious 'dot' binary in a writable directory on the victim's PATH, leading to arbitrary code execution when dot2img is invoked. The vulnerability affects NLTK versions prior to 3.10.4 and was fixed in version 3.10.4.
References
- github.com/nltk/nltk/security/advisories/GHSA-7mxv-7h3q-9324 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-128134 (opens in a new tab)
- github.com/nltk/nltk/pull/3887 (opens in a new tab)
- github.com/nltk/nltk/commit/b002a7288c22db86fd6ca2d9526e3f91d6fda797 (opens in a new tab)
- github.com/nltk/nltk (opens in a new tab)
- github.com/nltk/nltk/releases/tag/v3.10.4 (opens in a new tab)