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.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.5
- CVSS vector
- CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS probability
- 0.12%
- CWE
- CWE-426
- Published
- 2026-08-25
- Last modified
- 2026-08-25
Affected products
- nltk nltk
- nltk nltk
Weakness type
Related vulnerabilities
- CVE-2026-0307 — GlobalProtect App: Local Privilege Escalation Vulnerabilities
- CVE-2026-80159 — Acrobat Reader | Untrusted Search Path (CWE-426)
- CVE-2026-81192 — OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS
- CVE-2026-78574 — Improper Assembly Resolution in Okta Hyperdrive Integration Plugin Registry Handling
- CVE-2026-69785 — Windows Smart Card Elevation of Privilege Vulnerability
- CVE-2026-69328 — Windows Storage Elevation of Privilege Vulnerability
- CVE-2026-84226 — OpenVPN version 2.5.0 through 2.6.22 and 2.7_alpha1 through 2.7.6 on Windows allows local...
- CVE-2026-82862 — Hulumi before v1.3.2 Helper Script Shadowing via Workspace Files