Duplicate Advisory: Uncontrolled search path when invoking the Graphviz 'dot' binary (CWE-426/CWE-427)
High severity
GitHub Reviewed
Published
Aug 25, 2026
to the GitHub Advisory Database
•
Updated Sep 1, 2026
Withdrawn
This advisory was withdrawn on Sep 1, 2026
Description
Published by the National Vulnerability Database
Aug 25, 2026
Published to the GitHub Advisory Database
Aug 25, 2026
Reviewed
Sep 1, 2026
Withdrawn
Sep 1, 2026
Last updated
Sep 1, 2026
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-6hwm-xvph-95vm. This link is maintained to preserve external references.
Original 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.
References