Documented Incident · INC-2025-6514 · Critical severity

mcp-remote OS Command Injection When Connecting to Untrusted Remote MCP Servers

CVE-2025-6514 (CVSS 9.6, published July 9, 2025, disclosed by JFrog Security Research) affected `mcp-remote` versions `0.0.5` through `0.1.15`, the widely adopted OAuth bridge connecting desktop AI clients like Claude Desktop and Cursor to remote MCP servers. When an MCP client initiated authentication against an untrusted or compromised remote MCP server, a malicious `authorization_endpoint` URL returned in OAuth metadata was passed directly into OS URL-opener shell calls, triggering arbitrary OS command execution on Windows and other hosts. Attackers could fully compromise developer workstations merely by convincing a user to connect an AI host to a malicious MCP URL. Maintainers patched URL scheme validation in `mcp-remote` v0.1.16.

Incident dossier metadata

Case ID
INC-2025-6514
Classification
Incident
Date
Severity
Critical
Sector
Software Development & AI Tooling
Attack vector
Tool/MCP Abuse
System type
Model Context Protocol (MCP) Client Bridges
CVE / reference
CVE-2025-6514
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2025-6514

Inspect INC-2025-6514 in Interactive Incidents & Cases Hub

Defensive takeaway

Validate remote OAuth metadata URLs strictly against HTTPS allowlists without shell expansion and vet external MCP servers before client registration.

Mapped AI security techniques

Mapped defensive controls

Source citation records