mcp-cve-project

CVE-2026-75858 | CodeWhale (packages codewhale / codewhale-tui) versions >= 0.8.41 and < 0.8.64 contain a remote code execution vulnerability in the rlm_eval tool | Severity: see NVD

CVE Information

Field Value
CVE / NVD CVE-2026-75858
Date (index) 2026-08-18
Affected product (index) CodeWhale (packages codewhale / codewhale-tui) versions >= 0.8.41 and < 0.8.64 contain a remote code execution vulnerability in the rlm_eval tool
GHSA ID GHSA-WRJ3-VJ8C-784F
OWASP MCP Top 10 (2025) MCP04 — Software Supply Chain Attacks & Dependency Tampering
Published / disclosed 2026-08-18
Ecosystem Application / upstream project
Component CodeWhale (packages codewhale / codewhale-tui) versions >= 0.8.41 and < 0.8.64 contain a remote code
EPSS score 0.003640000 (FIRST EPSS, 2026-09-26)
CVSS score HIGH — 8.5 CVSS v4.0
CWE CWE-94
Affected versions 0.8.33, 0.8.41, v0.8.60, v0.8.40, v0.8.63, v0.8.62, v0.8.61, v0.8.59, v0.8.58, v0.8.57, v0.8.56, v0.8.55, v0.8.53, v0.8.54, v0.8.52, v0.8.51, v0.8.50, v0.8.49, v0.8.48, v0.8.46, v0.8.45, v0.8.44, v0.8.43, v0.8.42, v0.8.41, v0.8.39, v0.8.38, v0.8.37, v0.8.36, v0.8.35, v0.8.33
Fixed versions 0.8.41, 0.8.64
Fix status Patched
Exploit status Public CVE record; do not mirror weaponized payloads
Notes Added as a separate CVE note during the 2026-08-25 missing-CVE follow-up. Re-check NVD before using this entry for compliance reporting.

CVE Breakdown


What is the vulnerability?

CodeWhale (packages codewhale / codewhale-tui) versions >= 0.8.41 and < 0.8.64 contain a remote code execution vulnerability in the rlm_eval tool. The tool’s approval_requirement() returns ApprovalRequirement::Auto, which the engine treats as ‘never prompt,’ causing arbitrary model-supplied Python code to run in a python3 interpreter without consulting the user’s configured –approval-policy and without any approval prompt or audit step. An attacker can induce the agent to execute arbitrary code via prompt injection in untrusted content the agent reads (a web page, fetched URL, repository file, or MCP tool result); the companion rlm_open tool can stage such content. Code runs on the user’s machine at the user’s privilege level. Fixed in 0.8.64.

Attack prerequisites / exposure

Exposure depends on how the affected MCP server, client, gateway, plugin, extension, or adjacent AI workflow is deployed. Prioritize network-reachable MCP transports, desktop apps with MCP extensions enabled, CI or agent environments, and systems with access to browsers, repositories, credentials, cloud resources, databases, or local files.

CVE is because of what bug?

Primary mapped weakness: MCP04 — Software Supply Chain Attacks & Dependency Tampering. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.

MCP-specific impact / why it matters

MCP components bridge model output to privileged tools. Vulnerabilities in authorization, path validation, OAuth handling, command execution, SSRF validation, prompt/tool trust, or tool access can turn prompt/tool input into host compromise, credential disclosure, unauthorized browser/cloud/database access, or persistent malicious tool execution.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.

Fix / Remediation

Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification

Patch

Track NVD references for CVE-2026-75858 and apply the upstream patched release or commit recommended by the vendor/CNA.