// Security Advisory Triage

NLTK dot2img enables local code execution via PATH manipulation

GitHub advisories — pip · published 2026-11-16 22:02 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDCVE-2026-128134 published 16 November 2026. NLTK's dot2img function runs Graphviz 'dot' without the trusted-exec chokepoint, allowing local code execution when an attacker controls a writable PATH element. First patched version: 3.10.4.
WHY IT MATTERSAn attacker with write access to any directory in PATH can place a malicious 'dot' executable that NLTK will run with the application's privileges when dot2img is called. This bypasses the intended security boundary for external tool invocation.
WHAT TO DOUpgrade nltk to 3.10.4 or later. If you cannot upgrade immediately, audit PATH for writable directories and remove write permissions for untrusted users.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-7mxv-7h3q-9324
+summary: NLTK dot2img runs Graphviz 'dot' without the trusted-exec chokepoint, enabling local code execution via a writable PATH element
+severity: high
+published_at: 2026-11-16T18:45:51Z
+cve_id: CVE-2026-128134
+vulnerabilities[].package.name: nltk
+vulnerabilities[].first_patched_version: 3.10.4
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningNLTK is a widely-used Python NLP library in data science and ML pipelines. Local code execution via PATH is actionable.
signalsknown exploitation vector: local code execution via PATH manipulation · high severity rating · affects Python package in typical dependency trees · first patched version specified (3.10.4) · new advisory with published date
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)