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
Published: 2026-09-24
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

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

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.

Advisories

No advisories yet.

History

Thu, 01 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
Title Remote Code Execution via getServerUrlHash in MCP‑Remote

Thu, 01 Oct 2026 07:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94

Tue, 29 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-328

Tue, 29 Sep 2026 05:15:00 +0000

Type Values Removed Values Added
Title Arbitrary Code Execution via URL Hash Extraction in MCP-Remote

Tue, 29 Sep 2026 03:30:00 +0000

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'}


Sun, 27 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Geelen
Geelen mcp-remote
Vendors & Products Geelen
Geelen mcp-remote

Sat, 26 Sep 2026 03:45:00 +0000

Type Values Removed Values Added
Title Arbitrary Code Execution via URL Hash Extraction in MCP-Remote
Weaknesses CWE-94

Thu, 24 Sep 2026 14:45:00 +0000

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

Subscriptions

Geelen Mcp-remote
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-29T16:01:46.395Z

Reserved: 2026-06-08T00:00:00.000Z

Link: CVE-2026-51996

cve-icon Vulnrichment

Updated: 2026-09-29T02:22:55.130Z

cve-icon NVD

Status : Deferred

Published: 2026-09-24T15:17:23.280

Modified: 2026-09-29T16:17:08.197

Link: CVE-2026-51996

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T21:30:13Z

Weaknesses