NLTKのdot2imgに、書き込み可能なPATH上のdotを実行される脆弱性
Summary
NLTKのdot2imgで、PATHに書き込み可能なディレクトリがあると、ローカルの低権限ユーザーが置き換えたdotを被害者の権限で実行される脆弱性です。CVSSは7.8で、CVE-2026-78680の修正後に残った経路とされています。修正版は3.10.4なので、NLTKを3.10.4以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
NLTKのdot2imgで、PATHに書き込み可能なディレクトリがあると、ローカルの低権限ユーザーが置き換えたdotを被害者の権限で実行される脆弱性です。CVSSは7.8で、CVE-2026-78680の修正後に残った経路とされています。修正版は3.10.4なので、NLTKを3.10.4以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| nltknltk | — | Not listed |
| pipnltk |
< 3.10.4→ 3.10.4 |
3.10.4 |
| PyPInltk |
< 3.10.4→ 3.10.4 |
3.10.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-128134 nltk No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-128134 nltk No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com