Skip to main content

NLTK CVE-2026-129234

| EUVDEUVD-2026-130480 HIGH
Untrusted Search Path (CWE-426)
2026-11-19 security-advisories@github.com GHSA-cc5r-64rf-75hg
7.3
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain low-privileged local account on host
  2. Delivery
    Plant executable ./prover9 or ./mace4 in resolved working directory
  3. Exploit
    App configured with relative binary_location bypasses CWD guard
  4. Execution
    Victim invokes prove()/build_model()
  5. Persist
    subprocess.Popen executes planted binary
  6. Impact
    Arbitrary code runs as invoking user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
Exploitation Conditions

Exploitation requires ALL of the following: (1) the host application must call NLTK's Prover9Parent.config_prover9 or Mace/config_mace with a RELATIVE binary_location (e.g. '.', './', or a relative subdir) - the default protected path resolution is not affected; (2) a local attacker must have WRITE access to the directory the relative path resolves against in order to plant an executable named exactly prover9 or mace4; and (3) the victim must subsequently invoke prove() (Prover9) or build_model() (Mace), which triggers subprocess.Popen on the attacker-planted binary. Limiting factors that reduce realistic risk: the attack is local only (no network vector), requires a pre-existing low-privileged account, depends on a non-default relative configuration rather than NLTK's defaults, and needs the victim to actively run the theorem prover/model builder. Bare-name and absolute PROVER9/path configurations are NOT exploitable because the CWD-rejection guard still applies.

Impact

This is a genuine but conditional High (CVSS 7.3) issue, not an overblown high-CVSS score, yet several signals argue it is well below emergency priority. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H) is explicitly local: the attacker needs an existing low-privileged foothold on the host (PR:L), a non-default application configuration (a relative binary_location), and the victim must actually run the prover/model builder (UI:R). The SSVC-style vuln.today decision label is 'this_week' - notable but below act_now/emergency. No KEV listing is present and no EPSS score was supplied, so there is no evidence of active or widespread exploitation; combined with the local-only, config-dependent nature, exploitation would be targeted rather than mass. A working proof-of-concept is published in the GHSA advisory (a short Python snippet plus runtime confirmation), which raises reproducibility but is not the same as confirmed in-the-wild exploitation - treat POC availability and active exploitation as distinct. One labeling tension to flag: the input Tags include 'Information Disclosure', but every source describes local arbitrary code execution (C:H/I:H/A:H), so the category tag understates the impact. Net: patch in routine/this-week cadence, prioritize hosts where NLTK's prover9/mace4 theorem-prover integration is actually configured with a relative binary path.

Exploit ScenarioDerived

On a shared or multi-user host, a low-privileged local attacker drops an executable file named ./prover9 (or ./mace4) into the working directory that an application using NLTK will resolve against. Because the application was configured with a relative binary_location (e.g. config_prover9(binary_location='.')), NLTK's guard against current-working-directory binaries is bypassed, and the next prove() or build_model() call makes subprocess.Popen execute the planted binary with the victim user's privileges. A public PoC demonstrating this exists in the GHSA advisory; the low attack complexity is offset by the requirement for local write access, a non-default relative configuration, and the victim invoking the tool.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

Local code execution in NLTK's Prover9 and Mace inference helpers (versions through 3.10.3) lets a local attacker who can write to the directory a relative binary_location resolves against have a planted executable named prover9 or mace4 run with the invoking user's privileges when the victim next calls prove() or build_model(). The flaw exists because a truthy path_to_bin disables the current-working-directory rejection guard in find_binary, so only non-default relative configurations are exposed while bare-name and absolute PROVER9/path setups remain protected. The vendor advisory carries a runtime-confirmed proof-of-concept demonstrating the path-resolution bypass, and NLTK 3.10.4 contains the fix merged as PR #3887.

RemediationAI

Vendor-released patch: NLTK 3.10.4 (tag v3.10.4), which resolves these tool binaries through find_binary_absolute and spawns them via nltk.pathsec.spawn_trusted - see https://github.com/nltk/nltk/releases/tag/v3.10.4 and https://github.com/nltk/nltk/security/advisories/GHSA-cc5r-64rf-75hg. Applications that cannot move to 3.10.4 immediately should stop passing a relative binary_location to config_prover9/config_mace and instead configure an absolute path_to_bin or set PROVER9 to an absolute install path, because the current-working-directory rejection guard still applies to bare-name and absolute resolution; additionally ensure that the working directory from which the prover or model builder is launched is not writable by low-privileged accounts, so a decoy prover9/mace4 cannot be planted there in the first place. Note that v3.10.3 (2026-08-12) predates the fix, which landed on develop as merge commit 0ebe329ce; there is no backport for older 3.10.x releases.

Affected VersionsENISA

nltk < 3.10.4

Affected Packages

pypi nltk fix: 3.10.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NLTK shells out to external reasoning and NLP binaries through nltk.internals.find_binary, which contains a guard that refuses matches resolved against the current working directory when only a bare program name is being searched. Prover9Parent.config_prover9 and the inheriting Mace class pass binary_location straight through as path_to_bin; a truthy value flips the internal searching_bare_name flag to False, so the CWD-rejection branch is skipped and a relative result such as './prover9' or './mace4' is stored in self._prover9_bin and later handed to subprocess.Popen in the prove()/_call path. This is a textbook CWE-426 untrusted search path (the upstream advisory additionally cites CWE-427), where the executable path is influenced by an untrusted location rather than pinned. The merged fix switches these entry points to nltk.internals.find_binary_absolute, which returns only absolute candidates with no '..' component, and routes the spawn through nltk.pathsec.spawn_trusted; the same pull request extends absolute-only resolution to config_java, hunpos, megam and tadm, adds a PATH walk that no longer shells out to which, and installs a pre-commit hook keeping every NLTK subprocess spawn on the pathsec chokepoint.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.3 HIGH
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.3 HIGH

Local filesystem planting (AV:L), low-privileged write access to the resolved dir (PR:L), victim must run the tool (UI:R); configuration-dependent flaw scored assuming that config so AC:L; planted binary runs as the user (C/I/A:H).

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 19, 2026 - 19:34 EUVD
CVE Published
Nov 19, 2026 - 17:17 cve.org
HIGH 7.3

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6,309 pypi packages depend on nltk (3,111 direct, 3,281 indirect)

Ecosystem-wide dependent count for version 3.10.4.

Technical POC Analysis

CWE-426 (untrusted search path; the advisory also tags CWE-427), in NLTK's Prover9/Mace inference wrappers.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity vulnerability (CVE-2026-129234) in NLTK versions through 3.10.3 enables local attackers with write access to a specific directory to execute arbitrary code with user privileges. This impacts data integrity and confidentiality for organizations using NLTK's Prover9/Mace features in shared environments, requiring immediate patch verification and mitigation.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
High
NLTK is a very widely deployed Python NLP library, though the vulnerable prover9/mace4 path is rarely configured
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy