ADVISORIES

Vulnerability

CVE-2026-78680

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.

6 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • CGA-f5w5-qf43-6mw3
    CVE-2026-78680 ChainguardWolfi Updated 5 November 2026
  • CGA-hjph-2rmg-9x5g
    CVE-2026-78680 ChainguardWolfi Updated 5 November 2026
  • CGA-w27r-wcx2-mx2q
    CVE-2026-78680 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-78680

    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…

    CVE-2026-78680 Debian Updated 13 October 2026
  • GHSA-6hwm-xvph-95vm

    NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binary

    High CVE-2026-78680 PyPI Updated 10 September 2026
  • PYSEC-2026-3868

    NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binary

    CVE-2026-78680 PyPI Updated 10 September 2026

References