Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/nltk/nltk/security/advisories/GHSA-6hwm-xvph-95vm
- https://www.vulncheck.com/advisories/nltk-before-arbitrary-code-execution-via-gr
- https://github.com/nltk/nltk/security/advisories/GHSA-6hwm-xvph-95vm
FAQ
What is CVE-2026-78680?
CVE-2026-78680 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 co...
How severe is CVE-2026-78680?
CVE-2026-78680 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-78680?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.