NLTK: Untrusted search path in prover9/mace4 config allows local code execution via relative binary_location
- State
- Published
- Severity
- 7.3 High
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 13, 2026
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, Prover9Parent.config_prover9 and Mace accept a relative binary_location and pass it to find_binary as path_to_bin, disabling the bare-name absolute-path guard. A local attacker who can plant prover9 or mace4 in the resolved working directory can cause subprocess.Popen to execute that binary with the invoking user's privileges. This issue is fixed in version 3.10.4.
| Product | Versions |
|---|---|
| nltk nltk | < 3.10.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.3 High | GitHub_M |
Weaknesses
References
- https://github.com/nltk/nltk/security/advisories/GHSA-cc5r-64rf-75hg
- https://github.com/nltk/nltk/pull/3887
- https://github.com/nltk/nltk/commit/4ca190b744ec72500c4c8a8259aece7792a46877
- https://github.com/nltk/nltk/commit/992884a02f6fb5180a992ed12d20103b4b5cb8a0
- https://github.com/nltk/nltk/commit/d4f0309bb8649f77e88c2c435e5fa31e6c5ab225
- https://github.com/nltk/nltk/commit/f0a75c66506977c0f683281c0f5275dbfbaee3b2
- https://github.com/nltk/nltk/releases/tag/v3.10.4
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.