mcp-cve-project

CVE-2025-58176 | Dive MCP Host Desktop App custom URL RCE | High |

CVE Information

Field Value
CVE / NVD CVE-2025-58176
EPSS score 0.077020000 (FIRST EPSS, 2026-06-30)
Date (index) 2025-09-03
Affected product (index) Dive MCP Host Desktop Application
GHSA ID GHSA-2r34-7pgx-vvrc
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2025-09-03
Ecosystem Desktop application
Component Dive custom URL handler (dive:) / MCP transport configuration
CVSS score High — 8.8 CVSS v3.1 (NVD/GHSA)
CWE CWE-94
Affected versions >= 0.9.0, <= 0.9.3
Fixed versions 0.9.4
Fix status Patched
Exploit status Public CVE record and GitHub advisory
Notes Added during the 2026-05-29 missing-CVE review. Re-check NVD before using this entry for compliance reporting.

CVE Breakdown


What is the vulnerability?

Dive is an open-source MCP Host Desktop Application. CVE-2025-58176 is a one-click remote code execution issue triggered through a crafted dive: custom URL containing attacker-controlled MCP transport configuration, including a transport value in the JSON object.

Attack prerequisites / exposure

The victim must have an affected Dive version installed and be induced to visit a malicious site, follow a crafted link, or interact with user-generated content that invokes the dive: URL handler. The browser then launches Dive, which processes the crafted URL.

CVE is because of what bug?

Improper processing of custom URLs and MCP transport configuration allows attacker-controlled configuration to reach command execution behavior.

MCP-specific impact / why it matters

MCP hosts can start local stdio servers and pass command/argument configuration into tool runtimes. Unsafe URL-driven registration turns a browser click into local MCP server execution in the user’s desktop context.

Where was the bug? (source + snippet)

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

Fix / Remediation

Upgrade Dive to 0.9.4 or later. Treat custom protocol handlers that install or launch MCP servers as sensitive entry points requiring validation and user confirmation.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

The public advisory describes exploit scenarios involving crafted links; do not mirror weaponized URLs or payloads in this repository.

Detection / verification

Patch

Upgrade to Dive 0.9.4 or later.