Browse / MCP and Tool Server Flaws / CVE-2025-6514
mcp-remote exposed to OS command injection via untrusted MCP server connections
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2025-6514
- https://github.com/geelen/mcp-remote/commit/607b226a356cb61a239ffaba2fb3db1c9dea4bac
- https://github.com/geelen/mcp-remote
- https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability
- https://research.jfrog.com/vulnerabilities/mcp-remote-command-injection-rce-jfsa-2025-001290844
Source: GitHub Advisory Database, used under CC BY 4.0.