{"id":"CVE-2026-78680","published":"2026-08-25T01:30:37Z","modified":"2026-08-25T12:43:04Z","title":"NLTK before 3.10.3 Arbitrary Code Execution via Graphviz dot Binary","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00155,"percentile":0.04705,"provenance":"source"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-6hwm-xvph-95vm","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/nltk-before-arbitrary-code-execution-via-graphviz-dot-binary","tags":["third-party-advisory"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":0.94},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":["< 3.10.3"]}],"fixedVersions":[{"vendor":"nltk","product":"nltk","versions":["3.10.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-25T12:29:42.041878Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.10.3"],"patched":["3.10.3"],"from":["GHSA-6hwm-xvph-95vm","PYSEC-2026-3868"],"provenance":"source"}],"summary":{"text":"The flaw is an untrusted search path weakness in NLTK before version 3.10.3, where the dependencygraph.dot2img and AlignedSent._repr_svg_ functions invoke the Graphviz dot binary by bare name instead of a validated absolute path. An attacker who can place a malicious binary named dot in the search path or current working directory can have it run instead of the legitimate Graphviz tool, which on Windows means via the current working directory and on Unix-like systems means via relative PATH entries. The attacker needs local access and low privileges, and no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:15Z"},"euvd":{"id":"EUVD-2026-65226","exploited":false,"provenance":"source"}}