Skip to content
OpenAdvisories
High · 7.8 CVE-2026-78680 EUVD-2026-65226GHSA-54xp-3ww7-6wjgGHSA-6hwm-xvph-95vmPYSEC-2026-3868

NLTK before 3.10.3 Arbitrary Code Execution via Graphviz dot Binary

Published Aug 25, 2026 · Updated Aug 25, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
nltk nltk < 3.10.3 3.10.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nltk 3.10.3-1 —
Debian 13 nltk No fix yet —
Debian 12 nltk No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling open-webui 0.11.3-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI nltk < 3.10.3 3.10.3 GHSA-6hwm-xvph-95vm

References