NLTK: Untrusted search path in prover9/mace4 config allows local code execution via relative binary_location (nltk nltk)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 14 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- Affected products
- nltk · nltk
- NVD status
- Awaiting Analysis
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.
Weaknesses (CWE)
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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-cc5r-64rf-75hg — NLTK: Untrusted search path in prover9/mace4 config allows local code execution via relative binary_location
European references
- ENISA EUVD · EUVD-2026-130480
- GCVE · GCVE-0-2026-129234
Affected products
| Product | Affected versions |
|---|---|
| nltk · nltk | affected : < 3.10.4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |