Skip to main content
CVE-2026-128134VulnerabilityPublished

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

Affects safetySource GCVE Database

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

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

Data as of 17 Nov 2026, 19:33 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
Patch
Available – fixed in 3.8.1_3
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 safety to 3.8.1_3.

Affected software

ProductAffectedFixed in
Homebrewsafetypkg:brew/safetyOther threatsAffected
  • >=3.3.1 <3.8.1_3
Fixed in
  • 3.8.1_3

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.8.1_3 that fixes this vulnerability by applying the trusted-execution checks to dot2img. Users should upgrade to version 3.8.1_3 or later to remediate this issue. Until patched, avoid running NLTK dot2img or rendering DependencyGraph visualizations on systems where untrusted users have write access to directories on your PATH. There are no vendor advisories stating no action is required or that the issue is already mitigated.

Description

The NLTK library's dot2img function executes the Graphviz 'dot' binary without applying the trusted-execution security checks that NLTK uses elsewhere. This allows a local unprivileged attacker on a POSIX system to place a malicious 'dot' executable in a writable directory on the victim's PATH, leading to arbitrary code execution when dot2img is invoked. The vulnerability arises because dot2img only performs a basic binary search without ownership or environment scrubbing, unlike other NLTK wrappers. This flaw enables local code execution in the victim's user context without requiring control over NLTK inputs.

References

Community reviews

Loading reviews…