CVE-2026-128134
HIGH 7.8CVSS 3.1NLTK dot2img runs Graphviz 'dot' without the trusted-exec chokepoint, enabling local code execution via a writable PATH element
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.
- Published
- 13 Nov 2026
- Last modified
- 16 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-426CWE-427
- Also known as
- GHSA-7mxv-7h3q-9324
- Sources
- NVDJSONOSV GHSA-7mxv-7h3q-9324JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | nltk | < 3.10.4 | 3.10.4 |
References
- https://github.com/nltk/nltk/commit/b002a7288c22db86fd6ca2d9526e3f91d6fda797 · WEB
- https://github.com/nltk/nltk/pull/3887 · WEB
- https://github.com/nltk/nltk/releases/tag/v3.10.4 · WEB
- https://github.com/nltk/nltk/security/advisories/GHSA-7mxv-7h3q-9324 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-128134 · ADVISORY
- https://github.com/nltk/nltk · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 13 Nov 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Nov 2026)