CVE-2026-128134
NLTK (Natural Language Toolkit) is a suite of open source Python …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nltk/nltk/commit/b002a7288c22db86fd6ca2d9526e3f91d6fda797
- github.com/nltk/nltk/pull/3887
- github.com/nltk/nltk/releases/tag/v3.10.4
- github.com/nltk/nltk/security/advisories/GHSA-7mxv-7h3q-9324
- nvd.nist.gov/vuln/detail/CVE-2026-128134
- github.com/advisories/GHSA-7mxv-7h3q-9324
- nvd.nist.gov/vuln/detail/CVE-2026-128134
- cve.org/CVERecord?id=CVE-2026-128134
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.