Untrusted Search Path Affecting nltk package, versions [,3.10.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-NLTK-19256864
  • published25 Aug 2026
  • disclosed25 Aug 2026
  • creditUnknown

Introduced: 25 Aug 2026

NewCVE-2026-78680  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade nltk to version 3.10.3 or higher.

Overview

nltk is a Natural Language Toolkit (NLTK) is a Python package for natural language processing.

Affected versions of this package are vulnerable to Untrusted Search Path through the dot2img function in nltk/parse/dependencygraph.py and the AlignedSent._repr_svg_ method in nltk/translate/api.py. An attacker can execute an arbitrary planted dot binary by supplying a malicious dot on the process search path or in the current working directory when these Graphviz rendering paths invoke dot by bare name. This can lead to arbitrary code execution in the context of the process that renders dependency graphs or SVG output, causing user systems to run attacker-controlled code instead of the intended Graphviz binary.

CVSS Base Scores

version 4.0
version 3.1