CVE-2026-78680

High

Description

NLTK versions before 3.10.3 fail to use validated absolute paths when invoking the Graphviz dot binary in dependencygraph.dot2img and AlignedSent._repr_svg_, allowing attackers to execute arbitrary code by placing a malicious dot binary in the search path or current working directory. Attackers can exploit bare-name binary resolution on Windows via the current working directory or on Unix-like systems via relative PATH entries to execute their binary instead of the legitimate Graphviz tool.

SeverityHigh
CVSS7.8
Exploit probability—
ProductNltk
PublishedAug 25, 2026
First seenAug 25, 2026
Weakness typeCWE-426CWE-426

How to fix

Update
  • nltk3.10.3 or later

Affected products

ProductAffected versionsFixed in
nltkPyPIv < 3.10.33.10.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.