CVE-2025-6514: mcp-remote · OS Command Injection
Affects mcp-remoteSource CVE Database V5
Not known to be exploited · 77% EPSS · CVSS 9.6 Critical.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 77.0% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubgeelen/mcp-remotepkg:github/geelen/mcp-remoteOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-6514, European organizations should immediately implement the following measures: 1) Avoid connecting mcp-remote 0.0.5 clients to untrusted or unknown MCP servers to reduce exposure to malicious authorization_endpoint URLs. 2) Employ network segmentation and firewall rules to restrict mcp-remote’s network access only to trusted MCP servers. 3) Implement strict input validation and sanitization for all data received from MCP servers, especially the authorization_endpoint URL, to prevent command injection payloads from being executed. 4) Run mcp-remote with the least privileges possible, ideally within a sandboxed or containerized environment, to limit the impact of any successful exploitation. 5) Monitor logs and network traffic for unusual activity related to mcp-remote connections and command execution attempts. 6) Educate users about the risks of interacting with untrusted MCP servers and the importance of verifying server authenticity. 7) Stay alert for official patches or updates from the mcp-remote maintainers and apply them promptly once available. 8) Consider deploying host-based intrusion detection systems (HIDS) to detect anomalous command executions. 9) Review and update incident response plans to include scenarios involving OS command injection attacks. These targeted actions go beyond generic advice by focusing on controlling the attack surface, hardening the client environment, and enhancing detection capabilities.
Description
CVE-2025-6514 is a critical OS command injection vulnerability in mcp-remote version 0.0.5. It arises when mcp-remote connects to untrusted MCP servers and processes crafted input from the authorization_endpoint response URL without proper sanitization. This flaw allows remote attackers to execute arbitrary OS commands with the privileges of the mcp-remote process. The vulnerability has a CVSS score of 9.6, indicating high impact on confidentiality, integrity, and availability. Exploitation requires user interaction but no privileges or authentication. No known exploits are currently reported in the wild. European organizations using mcp-remote 0.