mcp-remote OAuth Command Injection (CVE-2025-6514)
Date: 2025-07
Affected: mcp-remote OAuth Command Injection (CVE-2025-6514)
Attack vector: rce
Category: real-world
Severity: Critical
CVE: CVE-2025-6514
CWE: CWE-78
CVSS:  (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H)

CVSS 9.6. mcp-remote (437K+ downloads), a popular OAuth proxy for MCP, achieved full RCE on the client machine when connecting to a malicious MCP server. The server sends a crafted authorization_endpoint URL triggering OS command injection via the open() function. First demonstrated real-world full RCE on an MCP client OS. Affected 0.0.5-0.1.15, fixed in 0.1.16.


Mitigations:

Architectural layers (MAESTRO):