← Back to CVE search

CVE-2026-78680

NLTK

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.

CVSS 7.8EPSS 0.12%Risk 0.79
View source
Published
2026-08-25 02:16:52
Affected versions
<3.10.3
Type
Library
Last modified
2026-08-25 13:19:31
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H