Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInduce victim to connect to crafted server URL
-
DeliveryMD5 getServerUrlHash produces colliding/predictable path
-
ExploitCredential directory isolation broken
-
ExecutionRead or overwrite another server's OAuth tokens
-
ImpactHijack 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
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
DNS rebinding against the local Streamable HTTP MCP listener in @zereight/mcp-gitlab before 2.1.30 lets a malicious web
Archive extraction in the Node.js decompress package allows a crafted archive containing chained symlink entries to reso
The legacy DOC renderer in File Viewer emits document-controlled hyperlink targets into generated HTML after character e
Untrusted git configuration includes reachable through simple-git before 4.0.0 let an attacker execute arbitrary command
A remote, unauthenticated denial-of-service condition in the NestJS (Nest) microservices framework lets an attacker cras
Deeply nested brace patterns cause unbounded recursion in the npm brace-expansion library, exhausting the native stack a
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
Native-code execution at install time is achievable against npm consumers of install-artifact-from-github through 1.6.0
Seroval deserialization can invoke attacker-chosen callables when an application passes untrusted input to fromJSON and
The JavaScript library ip-address (npm) fails to treat the NAT64 local-use prefix 64:ff9b:1::/48 as private, so applicat
Cross-family subnet comparisons in the ip-address npm library (all versions before 10.7.1) can cause isInSubnet and isHo
EUVD-2026-86019
GHSA-mvq8-g2rm-4rhm
NVD
CVE.org
EPSS
Exploit-DB