CVE-2026-129234
NLTK: Untrusted search path in prover9/mace4 config allows local code execution via relative binary_location
High · 7.3Fix available
- CVSS
- 7.3
- EPSS
- 0.22% (p14)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-20
- Product
- nltk nltk
- Aliases
- GHSA-cc5r-64rf-75hg
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
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.
Fixed in
3.10.4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| PyPI | nltk | <= 3.10.3 | 3.10.4 |
| PyPI | nltk | >=0, <3.10.4 | 3.10.4 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://github.com/nltk/nltk/security/advisories/GHSA-cc5r-64rf-75hg x_refsource_CONFIRM
- https://github.com/nltk/nltk/pull/3887 x_refsource_MISC
- https://github.com/nltk/nltk/commit/4ca190b744ec72500c4c8a8259aece7792a46877 x_refsource_MISC
- https://github.com/nltk/nltk/commit/992884a02f6fb5180a992ed12d20103b4b5cb8a0 x_refsource_MISC
- https://github.com/nltk/nltk/commit/d4f0309bb8649f77e88c2c435e5fa31e6c5ab225 x_refsource_MISC
- https://github.com/nltk/nltk/commit/f0a75c66506977c0f683281c0f5275dbfbaee3b2 x_refsource_MISC
- https://github.com/nltk/nltk/releases/tag/v3.10.4 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-129234 other
- https://github.com/advisories/GHSA-cc5r-64rf-75hg other
- https://github.com/nltk/nltk package