Skip to main content
← All vulnerabilities
CVE-2026-78680PYSEC-2026-3868GHSA-6HWM-XVPH-95VM

NLTK before 3.10.3 Arbitrary Code Execution via Graphviz dot Binary

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.10.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • nltk nltk

    fixed in 3.10.3

  • nltkPyPI

    fixed in 3.10.3

References 2

GitHub · nltk/nltk

vulncheck.com