F-04 · CWE-328 · CISA-ADP 9.8 Critical
CVE-2026-51996: MD5-based storage namespace hardening in mcp-remote
mcp-remote versions 0.0.14 through 0.1.38 use MD5-derived prefixes to separate per-server OAuth state and token files.
- CISA-ADP CVSS 3.1
- 9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Range in the CVE record
- 0.1.16 through 0.1.38
- Range in the advisory
- 0.0.14–0.1.38
- Evidence
- Defense-in-depth / corrected
- Record published
- 24 September 2026updated 29 September 2026
- Fix
- No fix on record.ledger of 4 December 2026
The CVE record
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
cve.org · NVD · published by MITRE as the CNA
Check your version
| Record | Range in the CVE record | Range in the advisory | Your version |
|---|---|---|---|
| CVE-2026-51994 F-01 · SSRF via unvalidated resource_metadata URL |
0.1.32 through 0.1.38 | 0.1.32–0.1.38 | — |
| CVE-2026-51995 F-02 · Blind SSRF via authorization_servers[] |
0.1.32 through 0.1.38 | 0.1.32–0.1.38 | — |
| CVE-2026-51996 F-04 · MD5-based storage namespace hardening |
0.1.16 through 0.1.38 | 0.0.14–0.1.38 | — |
| CVE-2026-51997 F-08 · Internal-address validation before browser launch |
0.1.16 through 0.1.38 | 0.1.16–0.1.38 | — |
| — F-09 · OAuth credentials stored in cleartext |
— | 0.0.11–0.1.38 | — |
| — F-10 · Redirect following bypasses one-time URL validation |
— | 0.1.32–0.1.38 | — |
| CVE-2026-52001 F-11 · Explicit token-origin binding as transport hardening |
0.1.18 through 0.1.38 | 0.0.18–0.1.38 | — |
Research update: 4 December 2026
The observations for all seven original records were retained in the repeated default scenarios on mcp-remote 0.17.4. The 0.17.3 static package assessment covers the preceding release. The cache-r4-scope series exercised proactive refresh and left the new SDK sign-in fallback unmeasured. Assessment, results and limits.
The advisory: F-04
Summary
mcp-remote versions 0.0.14 through 0.1.38 use MD5-derived prefixes to separate per-server OAuth state and token files.
Security relevance
MD5 does not provide modern collision resistance and is an unsuitable primitive for a security-sensitive namespace. Replacing it would reduce the chance of future namespace ambiguity and make the construction easier to reason about.
Correction and limitations
The original v1.0.0 text overstated the practical mechanism. A chosen-prefix collision lets an attacker construct suffixes for two attacker-chosen prefixes; it does not demonstrate a practical collision against an already fixed trusted identifier. That latter claim would require a second-preimage result. No token namespace takeover or real-token access was demonstrated.
Classification
- CWE-328: Use of Weak Hash
- Evidence: defense-in-depth / corrected claim
- CVSS: not assigned by the researcher; CISA's assessment is on the CVE line
- CVE: CVE-2026-51996 (published 2026-09-24; CISA-ADP CVSS 3.1 9.8 Critical)
- Impact record: playb0t.com
Remediation
Replace MD5 with a collision-resistant construction such as SHA-256 and include the full canonical server identity and configuration discriminator in the namespace. Treat a hash as a filename encoding, not as proof of server identity.
F-04-md5-token-isolation.md at bbadb81
In the public record
Acted on: 18 · Copies: 37 · Reply to the author: 4 · Divergences: 15 · Registries and databases: 19 · Written up: 1. The docket holds every entry with its date, source and status.
Acted on
- 23 November 2026northstar-agent-os (FNY666)PR #131 merged into main: the runtime's MCP admission warning for mcp-remote now runs through 0.16.7 and cites the 19 November research report in code
- 22 November 2026northstar-agent-os (FNY666)PR #105 merged into main: the runtime's MCP admission now blocks mcp-remote pins in the five CVE ranges and warns on 0.1.39 through 0.15.1, citing the 15 October research report in code
- 17 November 2026adudley78/mcp-auditScanner renamed to Credenzo (adudley78/credenzo, release 0.33.0); the registry entry listing the five records carries over unchanged
- 29 October 2026microsoft/vscode-docs (VS Code documentation)VS Code docs maintainer merges the author's pull request adding the client-secret note to the MCP configuration reference: PR #10542 merged 29 October by ntrogh
- 27 October 2026GIRD (aegis-mesh/blindspot)Blindspot 1.2.0 ships version-check rules for four records in data/outdated.tsv, listed as holes with no fixed version
- 26 October 2026Tencent/WeKnoraMaintainer merges the author's pull request that adds a native HTTP setup for VS Code and pins the stdio fallback: PR #4363 merged 26 October by lyingbug
- 22 October 2026CodeSpaceiiii/mcp-remote-aliyun (npm mcp-remote-alibaba-cloud)Maintainer of the Alibaba Cloud fork of mcp-remote merges upstream and origin-restriction hardening citing CVE-2026-51994/51995/51996/51997/52001, publishes mcp-remote-alibaba-cloud 0.1.39 with an in-package advisory that cites the research repository
- 22 October 2026cloudflare/cloudflare-docs (Cloudflare)Cloudflare merges its own docs change that removes the mcp-remote proxy guidance from the six pages the author's issue listed; the change names no record
- 21 October 2026quarkusio/quarkus (Red Hat, IBM)Maintainer merges the author's pull request that makes the Quarkus Dev UI generate a native Dev MCP URL for Zed instead of an npx mcp-remote line: PR #57563 merged 21 October by gastaldi, milestone 4.0 - main
- 20 October 2026aliyun/iac-code (Alibaba Cloud ROS)Maintainer merges the author's pull request that takes the npx mcp-remote wrapper out of the MCP passthrough example in the iac-code documentation: PR #390 merged 20 October by guima-why
- 19 October 2026homarr-labs/dashboard-iconsMaintainer merges the author's pull request that moves the MCP setup dialog's client tabs off the bridge to native HTTP: PR #2954 merged 19 October by ajnart, with his own fix on top
- 17 October 2026northstar-agent-os (FNY666)Within an hour of the author's data-point comment, PR #105 adds a non-blocking warning for mcp-remote 0.1.39 through 0.15.1 and cites the 15 October research report in code and in the PR body
- 17 October 2026northstar-agent-os (FNY666)Pull request adds an admission block for mcp-remote pins in the five CVE ranges and cites the author's specification issue #3437
- 13 October 2026adudley78/mcp-auditScanner registry adds an mcp-remote entry listing the five records; the offline advisory check SC-004 flags a pinned version below the recorded fix
- 3 October 2026pranava0x0/vibe-coding-securityAdvisory corrected and a CVE-mapping check added
- 2 October 2026agent-audit-kit (Sattyam Jain)Rule extended to CVE-2026-51996
- 2 October 2026agent-airlock (Sattyam Jain)CVE-2026-51996 triaged, recorded as out of scope
- 2 October 2026agent-audit-kit (Sattyam Jain)Release v0.6.11 ships the rule covering four records; v0.6.17 (6 Oct) is current and leaves CVE-2026-52001 out
Divergences
- first seen 30 SepCVE BriefFix available: Yes (OSV.dev). Seen on its page for CVE-2026-51997 on 30 September and on its pages for CVE-2026-51994 and CVE-2026-51996 on 1 October.The fix OSV points to is the 0.1.38 release, the last version the records list as affected.
- by 1 OctOpenCVERecommended Actions on the CVE-2026-51996 page: upgrade MCP-Remote to the latest patched release, e.g. 0.1.39 or newer; the page header lists the action as Immediate Patch.No fixed release has been stated by the maintainer of mcp-remote for any of the five records; the records list affected versions through 0.1.38, and 0.1.39 is the version number after that bound. Releases through 0.15.2 of 20 October 2026 state no fix. The same page's Remediation section reads 'No solution or workaround provided in the CVE record.'
- by 25 SepSonatype GuideCVE-2026-52001 page: 9.6 Critical, CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H, source given as National Vulnerability Database. CVE-2026-51994 page: 8.8 High, CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. CVE-2026-51996 and CVE-2026-51997 pages: CVSS score 0.0, rated None, vector Not available, Published: Unavailable.The CISA-ADP scores in the records, as published and as carried by EUVD on 27 October 2026: CVE-2026-52001 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N), CVE-2026-51994 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N), CVE-2026-51996 9.8, CVE-2026-51997 8.8. The affected ranges on the Sonatype pages match the records.
- by 29 SepHOL GuardcweIds CWE-94, CWE-328The record's only weakness is CISA's CWE-328; MITRE gives none, and NVD lists CWE-328 only.
- first seen 1 OctMend.ioA CVSS v4 base score on each of its four pages (9.3, 8.7, 9.3 and 8.7).The records carry CISA's scores in CVSS v3.1 only; they hold no v4 score.
- 27 OctGIRD (aegis-mesh/blindspot)The researcher's write-ups 'claim less than the advisories' text'; for GHSA-mvq8 (51996) and GHSA-v65w (51997) the lines say 'a weak hash, MD5, keeps the saved tokens of each server apart' and 'a hostile server could open an internal address in your browser', each with the aside '(its text says code execution)'.The CNA descriptions of CVE-2026-51996 and CVE-2026-51997 state that a remote attacker can execute arbitrary code; the CISA-ADP scores are 9.8 and 8.8. The official wording and scores stand as published.