mcp-remote exposed to OS command injection via untrusted MCP server connections
CVE-2025-6514 · GHSA-6xpm-ggf7-wc3p · published 2025-07-09
- Severity
- Critical
- CVSS score
- 9.6
- Chance of exploitation (EPSS)
- 77.0%
- Fixed in
- 0.1.16
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
mcp-remote is exposed to OS command injection when connecting to untrusted MCP servers due to crafted input from the authorization_endpoint response URL
Upgrade mcp-remote to 0.1.16 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| mcp-remote | npm | >= 0.0.5, < 0.1.16 | 0.1.16 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.