NLTK: Untrusted search path in prover9/mace4 config allows local code execution via relative binary_location
CVE-2026-129234Published 19 Nov 2026, 17:12 UTC
Real-world risk
3.0/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.3
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| NLTKWidespread | < 3.10.4 | 3.10.4 |
What to do
Update to a fixed version: 3.10.4.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 14), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.350
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.35 × threat 0.852.975
- Rounded to one decimal between 0.1 and 103.0
Exploitation and evidence timeline
- 19 Nov 2026 Published
- 3 Dec 2026 Risk 3.0 (cvss fallback)
Weakness
CWE-426, CWE-427
References
- https://github.com/nltk/nltk/security/advisories/GHSA-cc5r-64rf-75hgvendor-advisory
- https://github.com/nltk/nltk/pull/3887misc
- https://github.com/nltk/nltk/commit/4ca190b744ec72500c4c8a8259aece7792a46877misc
- https://github.com/nltk/nltk/commit/992884a02f6fb5180a992ed12d20103b4b5cb8a0misc
- https://github.com/nltk/nltk/commit/d4f0309bb8649f77e88c2c435e5fa31e6c5ab225misc
- https://github.com/nltk/nltk/commit/f0a75c66506977c0f683281c0f5275dbfbaee3b2misc
- https://github.com/nltk/nltk/releases/tag/v3.10.4misc
- CVE-2026-129234 on CVE.org