Back

HIGH

NLTK before 3.10.3 Arbitrary Code Execution via Graphviz dot Binary

Published Aug 25, 2026

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

Remediation

No remediation recorded yet.

Weaknesses (2)

References (7)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner VulnCheck
Published Aug 25, 2026
Updated Aug 25, 2026
Reserved Aug 25, 2026
CISA Vulnrichment
Updated Aug 25, 2026
NVD
Status Received
Modified Aug 25, 2026
Red Hat
Severity n/a
Public date n/a
ENISA EUVD
Assigner VulnCheck
Published Aug 25, 2026
Updated Aug 25, 2026
Exploited since n/a
EUVD-2026-65226 GHSA-6HWM-XVPH-95VM