Untrusted search path in Natural Language Toolkit - #VU141417
Published: August 11, 2026 / Updated: August 15, 2026
Vulnerability details
The vulnerability allows a local user to execute arbitrary code.
The vulnerability exists due to an untrusted search path in the Graphviz \'dot\' binary invocation in nltk.parse.dependencygraph.dot2img and nltk.translate.api.AlignedSent._repr_svg_ when invoking the Graphviz program by bare name. A local user can place a crafted file named dot in a searched location to execute arbitrary code.
On Windows, resolution may include the current working directory.