PT-2026-147246
CVE-2026-128134
·
Published
2026-11-13
·
Updated
2026-11-13
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
NLTK versions prior to 3.10.4
Description
The
nltk.parse.dependencygraph.dot2img function resolves the Graphviz dot executable via the PATH environment variable but invokes the absolute executable without using spawn trusted. This bypasses the resolve trusted executable ownership and writability validation, as well as the safe env loader environment scrubbing. A local low-privileged attacker with write access to a directory on a POSIX system's PATH can replace or plant a malicious dot executable. This allows for arbitrary code execution as the victim when dot2img is called directly or when DependencyGraph.repr svg() renders a graph.Recommendations
Update to version 3.10.4.
Found an issue in the description? Have something to add? Feel free to write us 👾