Skip to main content

mcp-remote EUVDEUVD-2026-86019

| CVE-2026-51996 CRITICAL
Code Injection (CWE-94)
2026-09-24 mitre GHSA-mvq8-g2rm-4rhm
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Induce victim to connect to crafted server URL
  2. Delivery
    MD5 getServerUrlHash produces colliding/predictable path
  3. Exploit
    Credential directory isolation broken
  4. Execution
    Read or overwrite another server's OAuth tokens
  5. Impact
    Hijack MCP session / access protected resources

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Applies to geelen mcp-remote versions 0.1.16 through 0.1.38, an npm bridge that connects local MCP clients to remote MCP servers. The defect is in getServerUrlHash (src/lib/utils.ts), which uses MD5 to derive the on-disk directory that isolates each server's stored OAuth credentials. Realistic exploitation requires the victim to configure or connect mcp-remote to a server URL the attacker can control or predict so that its MD5-derived path collides with or matches another server's credential store; this implies user/configuration interaction and dependence on the credential-storage feature being used, which materially limits the pure AV:N/AC:L/PR:N/UI:N profile asserted by the CVSS vector. The description's CWE-94 arbitrary-code-execution claim is not substantiated by the linked advisory and should be verified before assuming no-interaction remote RCE.

Impact

The headline signals appear alarming - CVSS 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, CWE-94 code injection) describing unauthenticated remote arbitrary code execution - but the supporting intelligence contradicts a clean RCE reading. EPSS is only 0.29% (19th percentile), the CVE is NOT in CISA KEV, and the single substantive third-party reference (playb0t/mcp-remote-oauth-security advisory 'F-04-md5-token-isolation.md') describes a WEAK-CRYPTO / TOKEN-ISOLATION weakness in getServerUrlHash, not code injection. getServerUrlHash in src/lib/utils.ts computes an MD5 of the server URL used to name the on-disk credential/config directory; an MD5-based isolation scheme is a confidentiality/isolation problem (cross-server OAuth token contamination), which is hard to reconcile with 'execute arbitrary code' and CWE-94. This strongly suggests the 9.8/RCE rating is OVERSTATED or mismapped relative to the actual defect. CONFLICT - the CVSS vector and CWE claim network, no-interaction RCE, but the only technical reference points to weak MD5 token isolation requiring the victim to connect to an attacker-influenced server; verify the true mechanism against the GitHub Security Advisory before treating this as unauthenticated RCE. Given low EPSS, no KEV, and the mismatch, this is more likely a moderate-severity isolation/credential issue than a wormable 9.8, but the exact impact cannot be confirmed from the provided data. Exploitation status: publicly available exploit/advisory material exists (third-party advisory repo) but no confirmed active exploitation.

Exploit ScenarioDerived

Per the referenced advisory, mcp-remote derives a per-server credential directory from an MD5 hash of the server URL; a remote attacker who controls or influences a server URL the victim connects to can cause a hash collision or predictable path, letting one server context read or overwrite another server's stored OAuth tokens. A third-party advisory (playb0t) documents the MD5 token-isolation weakness. Note that the NVD/description framing this as CWE-94 unauthenticated arbitrary code execution is not corroborated by that advisory and should be independently verified.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 29, 2026

A credential-isolation flaw in geelen mcp-remote 0.1.16 through 0.1.38 allows a remote attacker who controls or can predict the MCP server URL a victim configures to cause MD5-derived credential-store paths to collide or match, potentially exposing or overwriting another server's cached OAuth tokens via the getServerUrlHash function in src/lib/utils.ts. The package is an npm bridge that connects local MCP clients to remote MCP servers, so practical exploitation depends on the victim adding the attacker's server URL and on the OAuth credential-persistence feature being in use (user interaction), which is inconsistent with the no-interaction AV:N/AC:L/PR:N/UI:N profile of the 9.8 headline score. No public exploit code was identified at time of analysis and EPSS is low (0.29%, 19th percentile), so the CWE-94 arbitrary-code-execution framing should be treated as unverified rather than confirmed remote code execution.

RemediationAI

No vendor-released patch identified at time of analysis - the references point to the upstream repository and its security-advisories index, but no fixed release version is given, so do not assume 0.1.39 or any other version is remediated without confirming it there; treat the upstream advisory page as the authoritative tracking source and pin to a version explicitly listed as fixed once published. Until then, the highest-value compensating control is to avoid configuring mcp-remote to connect to any MCP server URL that is attacker-controlled or predictable by a third party, since the attack path is predicated on influencing the URL that feeds getServerUrlHash; the trade-off is reduced flexibility in multi-server setups and difficulty vetting third-party MCP endpoints. Additionally, avoid relying on mcp-remote's on-disk OAuth credential persistence for untrusted servers (run without stored credentials or clear the per-server credential cache directory between sessions), accepting the side effect that users must re-authenticate each time, and periodically inspect the credential cache for unexpected directories or tokens belonging to servers the user did not authorize. Because the CWE-94 code-execution claim is unsubstantiated by the linked advisory, prioritize this as a credential-isolation and token-exposure issue rather than an unauthenticated RCE emergency, and re-score internally using the assessed vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N until the upstream fix clarifies the true impact.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

mcp-remote is an npm package (0.1.16-0.1.38) acting as a bridge between local Model Context Protocol clients and remote MCP servers, and it persists OAuth credentials on disk in per-server directories whose names are derived by the getServerUrlHash function in src/lib/utils.ts. That function uses MD5 over the server URL, which is a weak hash for a security-relevant namespacing decision: chosen-prefix MD5 collisions are tractable for a resourceful attacker, and even simple URL normalization or predictable-URL issues can cause two distinct logical servers to map to the same credential directory. The failure class is therefore credential isolation / use of a broken hash for an authorization-relevant identifier (closer to CWE-328/CWE-330 and credential-disclosure patterns) rather than CWE-94 code injection; the linked third-party advisory (playb0t mcp-remote-oauth-security, F-04-md5-token-isolation.md) frames the issue as MD5 token isolation and does not substantiate arbitrary code execution. The affected CPE is a placeholder (n/a) and the EUVD affected-version field is likewise 'n/a n/a', so version scope rests on the 0.1.16-0.1.38 range stated in the description. The supplied CVSS vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, but PR:N/UI:N is belied by the configuration and interaction prerequisites described above.

Know when npm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.9 MEDIUM

Weak MD5 token isolation requires the victim to connect to a crafted/colliding server URL (UI:R) and a hash collision or predictable path (AC:H); primary impact is OAuth credential disclosure (C:H), with limited integrity and no availability impact, contradicting the input's RCE framing.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Sep 29, 2026 - 03:22 NVD
9.8 (CRITICAL)
CVE Published
Sep 24, 2026 - 00:00 cve.org
CRITICAL 9.8
CVE Published
Sep 24, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

Executive ViewAI

Why It Matters

A credential-isolation flaw in geelen mcp-remote versions 0.1.16 through 0.1.38 could let an attacker who controls a configured remote MCP server URL expose or overwrite cached OAuth tokens belonging to other MCP servers. This affects teams using the npm bridge to connect local MCP clients to external services, creating risk of unauthorized access to connected systems if tokens are compromised. Leadership should care because OAuth token theft can bypass normal access controls, though exploitation requires user interaction and no public exploit code has been identified.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include disabling OAuth credential-persistence in mcp-remote, restricting MCP server URLs to a trusted allowlist, running affected clients with least-privilege isolated credentials, clearing and rotating cached OAuth tokens, and monitoring for unauthorized token access or overwrites.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
popular npm bridge in the emerging MCP ecosystem, growing but not universal
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in npm

View all
CVE-2021-43616 CRITICAL POC
9.8 Nov 13

The npm ci command in npm 7.x and 8.x through 8.1.3 proceeds with an installation even if dependency information in pack

CVE-2026-61568 CRITICAL POC
9.6 Sep 15

DNS rebinding against the local Streamable HTTP MCP listener in @zereight/mcp-gitlab before 2.1.30 lets a malicious web

CVE-2026-101894 CRITICAL POC
9.1 Sep 28

Archive extraction in the Node.js decompress package allows a crafted archive containing chained symlink entries to reso

CVE-2026-91127 HIGH POC
8.2 Sep 18

The legacy DOC renderer in File Viewer emits document-controlled hyperlink targets into generated HTML after character e

CVE-2026-102826 HIGH POC
8.1 Sep 29

Untrusted git configuration includes reachable through simple-git before 4.0.0 let an attacker execute arbitrary command

CVE-2026-102281 HIGH POC
7.5 Sep 28

A remote, unauthenticated denial-of-service condition in the NestJS (Nest) microservices framework lets an attacker cras

CVE-2026-102278 HIGH POC
7.5 Sep 28

Deeply nested brace patterns cause unbounded recursion in the npm brace-expansion library, exhausting the native stack a

CVE-2026-102276 HIGH POC
7.5 Sep 28

Stack exhaustion in the npm library brace-expansion (all versions prior to 1.1.19, 2.1.5, 3.0.7, and 5.0.10) lets a craf

CVE-2026-73864 HIGH POC
7.5 Nov 18

Native-code execution at install time is achievable against npm consumers of install-artifact-from-github through 1.6.0

CVE-2026-116580 HIGH POC
7.3 Oct 26

Seroval deserialization can invoke attacker-chosen callables when an application passes untrusted input to fromJSON and

CVE-2026-101910 MEDIUM POC
6.9 Sep 28

The JavaScript library ip-address (npm) fails to treat the NAT64 local-use prefix 64:ff9b:1::/48 as private, so applicat

CVE-2026-101912 MEDIUM POC
6.3 Sep 28

Cross-family subnet comparisons in the ip-address npm library (all versions before 10.7.1) can cause isInSubnet and isHo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy