CVE-2025-6514
OS command injection in mcp-remote when connecting to untrusted MCP servers
Description
mcp-remote is exposed to OS command injection when connecting to untrusted MCP servers due to crafted input from the authorization_endpoint response URL
INFO
Published Date :
July 9, 2025, 1:15 p.m.
Last Modified :
June 17, 2026, 10:02 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2025-6514
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Sanitize all inputs from authorization_endpoint.
- Validate the URL for the authorization endpoint.
- Update the mcp-remote library to the latest version.
Public PoC/Exploit Available at Github
CVE-2025-6514 has a 128 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-6514.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-6514 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-6514
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Static linter for MCP servers and configs. Every rule is pinned to a real CVE with a biting fixture.
ai-agents cve linter mcp model-context-protocol security static-analysis supply-chain
Python
The Nx s1ngularity attack used your own AI CLI to steal credentials via a postinstall script. Offline, read-only scanner for tampered configs, MCP endpoints, credential files, and shell profiles. Zero deps.
ai-tools go mcp security supply-chain-security
Go
A curated, opinionated list of resources for securing AI agents, LLMs, and the Model Context Protocol (MCP) — attacks, defenses, tools, labs, and research. All links verified.
agent-security ai-agents ai-safety ai-security awesome awesome-list cybersecurity jailbreak llm llm-security mcp mcp-security owasp prompt-injection red-teaming
None
JavaScript HTML
Production-shaped Model Context Protocol (MCP) server exposing workflow-shaped tools to Claude/LLMs — held-out eval in CI (Node 20+22), stderr-safe logging, security-noted README.
ai-agents claude llm mcp model-context-protocol nodejs
JavaScript
Detection-engineering for MCP: working Sigma rules for the OWASP MCP Top 10 + isolated home-lab + zero-dependency validator (git clone && python3 validate.py).
ai-security detection-engineering mcp model-context-protocol owasp purple-team security sigma soc threat-detection
Python
MCP / Agent security scanner: scan for security holes before your AI agent touches company systems. Zero dependencies, static, runs locally, sends nothing out.
ai-agent governance llm-security mcp prompt-injection security sme supply-chain
Python
A lockfile and CI drift gate for MCP servers — pin servers in mcp-lock.json, generate per-client config, fail CI on drift.
ai-agents ci cli devops governance lockfile mcp model-context-protocol nodejs supply-chain
JavaScript TypeScript CSS
npm audit for your AI agent extensions: inventory installed MCP servers/skills and flag known-vulnerable (OSV), abandoned, and unpinned ones in CI.
ai-agents ci developer-tools mcp osv sbom security supply-chain vulnerability
Python
Security toolkit for MCP config files - scan, test, harden, and probe tool connections. Built Apr–Jun 2026.
PowerShell JavaScript TypeScript HTML CSS
Two structural MCP-layer vulnerabilities in Claude Code allowing usage of CC without limitations (tool-result injection, tool-description poisoning).
Shell JavaScript C Makefile
None
JavaScript TypeScript CSS Solidity Dockerfile
None
TypeScript JavaScript
Open source agent security suite — intercept, scan, and test your AI agents
ai-agents devsecops llm-security mcp open-source prompt-injection security
Python HTML
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-6514 vulnerability anywhere in the article.
-
CybersecurityNews
MEDUSA Security Testing Tool With 74 Scanners and 180+ AI Agent Security Rules
MEDUSA, an AI-first Static Application Security Testing (SAST) tool boasting 74 specialized scanners and over 180 AI agent security rules. This open-source CLI scanner targets modern development chall ... Read more
-
The Hacker News
[Webinar] Securing Agentic AI: From MCPs and Tool Access to Shadow API Key Sprawl
Jan 13, 2026The Hacker NewsArtificial Intelligence / Automation Security AI agents are no longer just writing code. They are executing it. Tools like Copilot, Claude Code, and Codex can now build, t ... Read more
-
CybersecurityNews
Cloudflare Launches MCP Server Portals – A Unified Gateway to All MCP Servers
Cloudflare today launched MCP Server Portals in open beta, a groundbreaking capability designed to centralize, secure, and observe all Model Context Protocol (MCP) connections in an organization. By r ... Read more
-
The Cloudflare Blog
Securing the AI Revolution: Introducing Cloudflare MCP Server Portals
Securing the AI Revolution: Introducing Cloudflare MCP Server Portals2025-08-266 min read Securing the AI Revolution: Introducing Cloudflare MCP Server Portals Large Language Models (LLMs) are rapidly ... Read more
-
The Hacker News
Critical mcp-remote Vulnerability Enables Remote Code Execution, Impacting 437,000+ Downloads
Cybersecurity researchers have discovered a critical vulnerability in the open-source mcp-remote project that could result in the execution of arbitrary operating system (OS) commands. The vulnerabili ... Read more
-
CybersecurityNews
Critical mcp-remote Vulnerability Exposes LLM Clients to Remote Code Execution Attacks
A critical vulnerability CVE-2025-6514 with a CVSS score of 9.6 affecting the mcp-remote project allows attackers to achieve arbitrary operating system command execution on machines running mcp-remote ... Read more
The following table lists the changes that have been made to the
CVE-2025-6514 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'versions': [{'status': 'affected', 'version': '0.0.5', 'versionType': 'semver', 'lessThanOrEqual': '0.1.15'}], 'packageName': 'mcp-remote', 'collectionURL': 'https://registry.npmjs.org', 'defaultStatus': 'unaffected'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-6514', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2025-07-09T13:05:52.266929Z'} -
New CVE Received by [email protected]
Jul. 09, 2025
Action Type Old Value New Value Added Description mcp-remote is exposed to OS command injection when connecting to untrusted MCP servers due to crafted input from the authorization_endpoint response URL Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H Added CWE CWE-78 Added Reference https://github.com/geelen/mcp-remote/commit/607b226a356cb61a239ffaba2fb3db1c9dea4bac Added Reference https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability Added Reference https://research.jfrog.com/vulnerabilities/mcp-remote-command-injection-rce-jfsa-2025-001290844/