CVE Catalog

CVE-2026-78680

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.12%

2th percentile - higher than 2% of all known CVEs

Summary

NLTK before 3.10.3 fails 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.

Risk Assessment

The risk includes remote or local arbitrary code execution in the context of the user running NLTK, potentially leading to full system compromise or data breach.

Recommendation

It is recommended to upgrade NLTK to version 3.10.3 or later and avoid running NLTK in directories where unknown files could be placed in the search path.

Other vulnerabilities in NLTK

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS