F-08 · CWE-20 · CISA-ADP 8.8 High
CVE-2026-51997: Internal-address validation before browser launch in mcp-remote
The 0.1.16 fix for CVE-2025-6514 added URL sanitization before invoking the user's browser. In the reviewed 0.1.38 dependency set, the validation accepted HTTP(S) URLs but did not reject loopback, private, link-local, or cloud metadata destinations.
- CISA-ADP CVSS 3.1
- 8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/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.1.16–0.1.38
- Evidence
- Source review
- Record published
- 24 September 2026updated 25 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 open() functions
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-08
Summary
The 0.1.16 fix for CVE-2025-6514 added URL sanitization before invoking the user's browser. In the reviewed 0.1.38 dependency set, the validation accepted HTTP(S) URLs but did not reject loopback, private, link-local, or cloud metadata destinations.
Security impact
An attacker-selected OAuth authorization endpoint can open an internal URL in the user's browser, potentially enabling internal-service interaction, reconnaissance, or browser-mediated CSRF where the target service itself lacks appropriate protections.
Evidence and limitations
- Confirmed by source and dependency review.
- No internal or cloud service was contacted.
- Browser security controls and the behavior of the destination service affect practical impact.
Classification
- CWE-20: Improper Input Validation
- Related class: CWE-918
- Evidence: source review
- CVSS: not assigned by the researcher; CISA's assessment is on the CVE line
- CVE: CVE-2026-51997 (published 2026-09-24; CISA-ADP CVSS 3.1 8.8 High)
- Impact record: playb0t.com
Remediation
Apply explicit destination classification before browser launch. Reject loopback, private, link-local, multicast, reserved, and metadata-service destinations after DNS resolution, and surface the final origin to the user before navigation.
F-08-browser-url-validation.md at bbadb81
In the public record
Acted on: 17 · Copies: 33 · Reply to the author: 4 · Divergences: 12 · Registries and databases: 19. 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)Release v0.6.11 ships the rule covering four records; v0.6.17 (6 Oct) is current and leaves CVE-2026-52001 out
- 30 September 2026agent-audit-kit (Sattyam Jain)Rule extended to CVE-2026-51995 and CVE-2026-51997
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 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.
- first seen 1 OctPositive Technologies (dbugs)The entry for CVE-2026-51997 is headed 'Pypi · Mcp-Remote'.The record names geelen mcp-remote, and the package is published on npm.
- 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.