Friday, September 11, 2026

Critical mcp‑remote Vulnerability Enables LLM Clients to Remote Code Execution

The JFrog Security Research team has discovered a critical security vulnerability in mcp-remote, a widely used tool that enables Large Language Model clients to communicate with remote servers, potentially allowing attackers to achieve full system compromise through remote code execution.

Severe Security Flaw Affects Popular AI Tool

CVE-2025-6514, rated with a critical CVSS score of 9.6, affects mcp-remote versions 0.0.5 to 0.1.15. The vulnerability allows attackers to trigger arbitrary operating system command execution on machines running mcp-remote when it connects to untrusted Model Context Protocol (MCP) servers.

This represents the first documented case of achieving full remote code execution in a real-world scenario involving MCP client-server communications.

MCP client uses mcp-remote to connect to an untrusted MCP server.
MCP client uses mcp-remote to connect to an untrusted MCP server.

The mcp-remote tool serves as a proxy enabling LLM hosts like Claude Desktop, Cursor, and Windsurf to communicate with remote MCP servers, even when they natively only support local server connections.

As remote MCP implementations have gained popularity in the AI community, mcp-remote has become widely adopted, with documentation appearing in Cloudflare’s official guides, Auth0 integration materials, and Hugging Face tutorials.

Attack Vectors and Impact

Security researchers identified two primary attack scenarios. First, malicious actors can directly compromise MCP clients that connect to untrusted or hijacked MCP servers.

Second, attackers positioned within local networks can perform man-in-the-middle attacks against clients connecting insecurely to MCP servers using HTTP rather than HTTPS protocols.

The vulnerability exploits mcp-remote’s OAuth authorization flow. When establishing connections, the tool requests server metadata including authorization endpoints.

Malicious servers can respond with specially crafted authorization endpoint URLs that trigger command injection when mcp-remote attempts to open them in a browser.

On Windows systems, researchers demonstrated complete arbitrary command execution with full parameter control.

On macOS and Linux platforms, the vulnerability enables execution of arbitrary executables with limited parameter control, though further research may reveal paths to complete command execution on these systems as well.

Security warning that shows as a result of trying to execute a UNC path
Security warning that shows as a result of trying to execute a UNC path

Glen Maddern, mcp-remote’s primary maintainer, promptly addressed the vulnerability following responsible disclosure.

Users can protect themselves by updating to version 0.1.16, which includes comprehensive fixes for the security flaw.

Additional protective measures include exclusively connecting to trusted MCP servers using secure HTTPS connections and avoiding HTTP-based communications that could be intercepted or manipulated by attackers.

The Model Context Protocol emerged in November 2024 as an open standard enabling AI assistants to securely access external data sources, tools, and services in real-time.

Initially designed for local server deployments, the protocol has rapidly evolved to support remote implementations, reducing operational complexity for organizations managing multiple LLM applications.

Recent developments show major LLM providers adding native remote MCP support, with Cursor and Windsurf implementing direct remote connectivity, and Anthropic extending this capability to paid Claude Desktop subscribers.

Stay Updated on Daily Cybersecurity News . Follow us on Google NewsLinkedIn, and X.

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Researchers Uncover 10,000+ Malware Loaders Behind YouTube and SEO Poisoning Campaign

A long-running pay-per-install (PPI) operation that used YouTube gaming...

VLC Media Player Flaws Let Attackers Corrupt Memory and Leak Sensitive Data

Two security vulnerabilities in VLC media player versions 3.0.0...

CISA Adds Exploited MikroTik RouterOS Flaws to Security Alert

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has...

cPanel Urges Users to Patch ConfigServer Firewall Remote Code Execution Flaw

A recently disclosed vulnerability in ConfigServer Security & Firewall...

Hackers Weaponize AI Safety Guardrails to Hide Malware From LLM-Powered Security Scanners

Threat actors are adapting malware not only for conventional...

Hackers Exploit JFrog Artifactory Flaws to Bypass Authentication and Gain Admin Access

Threat actors are actively exploiting three vulnerabilities in JFrog...

Related Articles

Recent News