Skip to main content
CVE-2026-128134VulnerabilityPublished

NLTK dot2img runs Graphviz 'dot' without the trusted-exec chokepoint, enabling local code execution via a writable

Affects nltkSource GCVE Database

0
Compare
Authoritative record:CVE-2026-128134· High 7.8

Not known to be exploited · CVSS 7.8 High : upgrade to 3.10.4 soon.

Data as of 16 Nov 2026, 20:25 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 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 16 Nov 2026.

What to do

Upgrade nltk to 3.10.4.

Affected software

ProductAffectedFixed in
PyPInltkAffected
  • <3.10.4
Fixed in
  • 3.10.4

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

Community reviews

Loading reviews…