Arbitrary Code Execution Vulnerability in NLTK by The NLTK Project
CVE-2026-78680

8.5HIGH

Key Information:

Vendor

Nltk

Status
Vendor
CVE Published:
25 August 2026

What is CVE-2026-78680?

NLTK prior to version 3.10.3 is susceptible to an arbitrary code execution vulnerability due to improper validation of absolute paths when calling the Graphviz dot binary in certain functions like dependencygraph.dot2img and AlignedSent.repr_svg. This flaw enables attackers to place a malicious dot binary in the search path or the current working directory. Consequently, when the NLTK library is invoked, it could inadvertently execute this malicious binary instead of the intended Graphviz tool, granting unauthorized access and control over the system.

Affected Version(s)

nltk 0 < 3.10.3

nltk 3.10.3

References

CVSS V4

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.