CVE-2026-128134: Local Code Execution via Untrusted Search Path in NLTK dependencygraph
Vulnerability ID: CVE-2026-128134
CVSS Score: 7.8
Published: 2026-11-16
In Natural Language Toolkit (NLTK) versions prior to 3.10.4, the nltk.parse.dependencygraph.dot2img function resolves the Graphviz dot binary through the system PATH using find_binary('dot') and invokes it directly via subprocess.run() instead of routing execution through nltk.pathsec.spawn_trusted(). This omission bypasses file ownership validation, directory writability checks, and dynamic loader environment scrubbing.…