CVE-2026-78680
NLTK versions before 3.10.3 fail to use validated absolute paths …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nltk/nltk/security/advisories/GHSA-6hwm-xvph-95vm
- www.vulncheck.com/advisories/nltk-before-arbitrary-code-execution-via-graphviz-dot-binary
- nvd.nist.gov/vuln/detail/CVE-2026-78680
- github.com/nltk/nltk/commit/1a3cd1764ab3deb084fb66d0ffb4873717659538
- github.com/nltk/nltk/releases/tag/v3.10.3
- github.com/advisories/GHSA-6hwm-xvph-95vm
- nvd.nist.gov/vuln/detail/CVE-2026-78680
- cve.org/CVERecord?id=CVE-2026-78680
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.