INCIDENT MAP

Browse / MCP and Tool Server Flaws / CVE-2025-6514

mcp-remote exposed to OS command injection via untrusted MCP server connections

CVE-2025-6514 ยท 2025-07-09 critical

Class
MCP and Tool Server Flaws (filed by a model that read the advisory)
Technique
Code and command execution
Affected
mcp-remote (npm)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS
77.0% chance of exploitation in 30 days

How it works, in short

A malicious MCP server returns a crafted authorization endpoint URL that mcp-remote passes into an OS command, executing commands on the client. (Our summary, written by a model. The source text is below.)

Details

mcp-remote is exposed to OS command injection when connecting to untrusted MCP servers due to crafted input from the authorization_endpoint response URL

References

Source: GitHub Advisory Database, used under CC BY 4.0.