# CVE-2026-128134: NLTK dot2img runs Graphviz 'dot' without the trusted-exec chokepoint, enabling local code execution via a writable PATH element

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.22%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-13T22:28:20.242Z
- Modified: 2026-11-16T19:17:36.590Z
- Also known as: GHSA-7mxv-7h3q-9324
- Weaknesses: CWE-426, CWE-427
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, nltk.parse.dependencygraph.dot2img resolves the Graphviz dot executable through PATH but invokes the resulting absolute executable without routing through spawn_trusted, so resolve_trusted_executable ownership and writability validation and safe_env loader environment scrubbing do not run. A local low-privileged attacker who can write to a directory on a POSIX victim's PATH can plant or replace dot, and code executes as the victim when dot2img is called directly or DependencyGraph.repr_svg renders a graph. The current-working-directory-only bare-name vector is blocked and is not this vulnerability; this issue is the residual writable absolute PATH element bypass after CVE-2026-78680. This issue is fixed in version 3.10.4.

(As written by CVE List.)

## Affected

- nltk nltk: < 3.10.4
- nltk (PyPI): before 3.10.4

## Every score

- GitHub_M: 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`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-7mxv-7h3q-9324> (exploit, web)
- <https://github.com/nltk/nltk/pull/3887> (web)
- <https://github.com/nltk/nltk/commit/b002a7288c22db86fd6ca2d9526e3f91d6fda797> (web)
- <https://github.com/nltk/nltk/releases/tag/v3.10.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-128134> (advisory)
- <https://github.com/nltk/nltk> (package)

## Sources

- CVE List: [CVE-2026-128134](https://www.cve.org/CVERecord?id=CVE-2026-128134), CVE Terms of Use, modified 2026-11-16
- GitHub Advisory Database: [GHSA-7mxv-7h3q-9324](https://github.com/advisories/GHSA-7mxv-7h3q-9324), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2026-128134](https://nvd.nist.gov/vuln/detail/CVE-2026-128134), Public domain, modified 2026-11-16

---

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