mcp-cve-project

CVE-2026-75857 | CodeWhale versions >= 0.8.41 and < 0.8.64 contain a vulnerability in the exec_shell_interact (alias exec_interact) tool, whose approval_requirement re | Severity: see NVD

CVE Information

Field Value
CVE / NVD CVE-2026-75857
Date (index) 2026-08-18
Affected product (index) CodeWhale versions >= 0.8.41 and < 0.8.64 contain a vulnerability in the exec_shell_interact (alias exec_interact) tool, whose approval_requirement re
GHSA ID GHSA-G29H-PFMP-QP9R
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-08-18
Ecosystem Application / upstream project
Component CodeWhale versions >= 0.8.41 and < 0.8.64 contain a vulnerability in the exec_shell_interact (alias
EPSS score 0.001550000 (FIRST EPSS, 2026-09-26)
CVSS score HIGH — 7.3 CVSS v4.0
CWE CWE-269
Affected versions 0.3.10, 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, v0.8.32, v0.8.31, v0.8.30, v0.8.28, v0.8.29, v0.8.27, v0.8.26, v0.8.25, v0.8.24, v0.8.23, v0.8.22, v0.8.21, v0.8.20, v0.8.19, v0.8.18, v0.8.17, v0.8.15, v0.8.14, v0.8.13, v0.8.12, v0.8.11, v0.8.10, v0.8.9, v0.8.8, v0.8.7, v0.8.6, v0.8.5, v0.8.4, v0.8.3, v0.8.2, v0.8.1, v0.8.0, v0.7.9, v0.7.8, v0.7.7, v0.7.6, v0.7.5, v0.7.4, v0.7.2, v0.7.1, v0.7.0, v0.6.7, v0.6.6, v0.6.5, v0.6.4, v0.6.3, v0.6.2, v0.6.1, v0.5.2, v0.5.1, v0.5.0, v0.4.9, v0.4.8, v0.4.7, v0.4.6, v0.4.5, v0.4.4, v0.4.3, v0.4.2, v0.4.1, v0.4.0, v0.3.33, v0.3.32, v0.3.31, v0.3.28, v0.3.27, v0.3.26, v0.3.25, v0.3.24, v0.3.23, v0.3.22, v0.3.21, v0.3.20, v0.3.19, v0.3.18, v0.3.17, v0.3.16, v0.3.14, v0.3.13, v0.3.12, v0.3.11, v0.3.10
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 versions >= 0.8.41 and < 0.8.64 contain a vulnerability in the exec_shell_interact (alias exec_interact) tool, whose approval_requirement returns ApprovalRequirement::Auto. This overrides the default Required approval for code-executing tools, so LLM-controlled stdin is written into an already-approved long-running interactive shell (e.g., a python3 -i REPL, mysql, ssh, or sudo -i session) without any approval prompt. An attacker who can inject instructions via untrusted content the agent ingests (a fetched page, MCP result, or repo file) can cause commands to run at the privilege level of that approved process. 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: MCP05 — Command Injection & Execution. 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-75857 and apply the upstream patched release or commit recommended by the vendor/CNA.