# CVE-2026-78680: NLTK before 3.10.3 Arbitrary Code Execution via Graphviz dot Binary

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-25T01:30:37.044Z
- Modified: 2026-10-12T21:10:00.227Z
- Also known as: GHSA-6hwm-xvph-95vm, PYSEC-2026-3868
- Weaknesses: CWE-426, CWE-427
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- nltk nltk: before 3.10.3 (not affected: 3.10.3)
- nltk (PyPI): before 3.10.3

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-6hwm-xvph-95vm> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-before-arbitrary-code-execution-via-graphviz-dot-binary> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-78680> (advisory)
- <https://github.com/nltk/nltk/commit/1a3cd1764ab3deb084fb66d0ffb4873717659538> (web)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/nltk/nltk/releases/tag/v3.10.3> (web)
- <https://pypi.org/project/nltk> (package)
- <https://github.com/advisories/GHSA-6hwm-xvph-95vm> (advisory)

## Sources

- CVE List: [CVE-2026-78680](https://www.cve.org/CVERecord?id=CVE-2026-78680), CVE Terms of Use, modified 2026-08-25
- GitHub Advisory Database: [GHSA-6hwm-xvph-95vm](https://github.com/advisories/GHSA-6hwm-xvph-95vm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-78680](https://nvd.nist.gov/vuln/detail/CVE-2026-78680), Public domain, modified 2026-10-12
- PyPA Advisory Database: [PYSEC-2026-3868](https://osv.dev/vulnerability/PYSEC-2026-3868), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-78680 · Whole record: https://cve.day/CVE-2026-78680.json · Rebuilt by cve.day 2026-11-25T22:59:35.102Z
