CVE-2026-51996

Remote Code Execution via getServerUrlHash in MCP‑Remote

Published Sep 24, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
An issue in geelen mcp-remote 0.1.16 through 0.1.38 allows a remote attacker to execute arbitrary code via the src/lib/utils.ts and the getServerUrlHash function

Analysis

AI-generated

Technical impact

An undocumented flaw in geelen/mcp-remote between versions 0.1.16 and 0.1.38 permits a remote attacker to run arbitrary code by tampering with the getServerUrlHash function located in src/lib/utils.ts. This function processes data from the server URL to produce a hash, and the implementation is vulnerable to improper validation, allowing crafted input to trigger code execution. The weakness is an example of CWE‑328.

Affected Systems

The vulnerability affects Geelen’s MCP‑Remote, a lightweight server communication library, in all releases from 0.1.16 through 0.1.38. Users running any of these versions are exposed unless they upgrade.

Risk and Exploitability

Remote code execution is a severe outcome, permitting full control of the host system. The CVSS score is 9.8 and the EPSS score is < 1%; KEV contains no entry, so the exact exploitation probability is unknown; however, given the nature of the flaw and the lack of mitigations, the risk is considered high. The likely attack vector is a remote invocation of the vulnerable function, possibly via crafted URLs to the MCP‑Remote server. Based on the description, it is inferred that sending specially formed server URLs initiates the malicious code path.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MCP‑Remote to the latest patched release (e.g., 0.1.39 or newer).
  • Review and restrict any input that is passed to the getServerUrlHash function to ensure it originates from trusted sources.
  • Implement monitoring and filtering mechanisms to detect and block malformed server URLs that could exploit the vulnerability.

Generated by OpenCVE AI on October 1, 2026 at 21:18 UTC.

Tracking

Sign in to view the affected projects.

Exploits

Explore public exploit intelligence with OpenCVE Pro.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Remote Code Execution via getServerUrlHash in MCP‑Remote
Type Values Removed Values Added
Weaknesses CWE-94
Type Values Removed Values Added
Weaknesses CWE-328
Type Values Removed Values Added
Title Arbitrary Code Execution via URL Hash Extraction in MCP-Remote
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Geelen
Geelen mcp-remote
Vendors & Products Geelen
Geelen mcp-remote
Type Values Removed Values Added
Title Arbitrary Code Execution via URL Hash Extraction in MCP-Remote
Weaknesses CWE-94
Type Values Removed Values Added
Description An issue in geelen mcp-remote 0.1.16 through 0.1.38 allows a remote attacker to execute arbitrary code via the src/lib/utils.ts and the getServerUrlHash function
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 29, 2026, 4:01 PM
Reserved
Jun 8, 2026, 12:00 AM
Status
Deferred
Published
Sep 24, 2026, 3:17 PM
Modified
Sep 29, 2026, 4:17 PM