mcp-cve-project

CVE-2026-42260 | Open-WebSearch MCP SSRF (IPv6 / DNS gaps in URL safety checks) | High |

CVE Information

Field Value
CVE / NVD CVE-2026-42260
EPSS score 0.002150000 (FIRST EPSS, 2026-06-30)
Date (index) 2026-05-12
Affected product (index) Open-WebSearch MCP server
GHSA ID GHSA-v228-72c7-fx8j
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-05-12
Ecosystem npm
Component Open-WebSearch
CVSS score High — 8.2 — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N (NVD CVSS 3.1)
CWE CWE-918
Affected versions Open-WebSearch MCP prior to 2.1.7 (per NVD)
Fixed versions 2.1.7 and later (per NVD)
Fix status Patched (per NVD description)
Exploit status Public CVE record
Notes Details below are aligned to the English NVD description at indexing time; re-check NVD for CNA updates.

CVE Breakdown


What is the vulnerability?

Open-WebSearch is a multi-engine MCP server, CLI, and local daemon for agent web search and content retrieval. Prior to 2.1.7, isPublicHttpUrl / assertPublicHttpUrl in src/utils/urlSafety.ts do not recognize bracketed IPv6 literals and do not resolve DNS, which combine to allow non-blind SSRF with the response body returned to the caller. This vulnerability is fixed in 2.1.7.

Attack prerequisites / exposure

Depends on deployment: many MCP issues require a reachable HTTP/SSE listener, a malicious remote MCP server, a poisoned project/workspace config, or a victim opening attacker-influenced content. Treat developer workstations and shared CI runners as high-value targets when MCP servers run with host access.

CVE is because of what bug?

See the NVD description and linked references for the upstream root cause; CWE rows above summarize the weakness mapping published by NVD.

MCP-specific impact / why it matters

MCP extends an agent’s reach into tools, hosts, and cloud APIs. Failures in transport authentication, logging, URL validation, session binding, or local config loading frequently become RCE, credential theft, SSRF, or session hijacking in MCP-shaped deployments.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here after reviewing the linked upstream commit / tag diff (do not paste weaponized payloads).

Fix / Remediation

Upgrade to vendor-fixed versions where available, reduce network exposure (bind to localhost, require auth on HTTP transports), and apply standard MCP deployment hygiene (tool allowlists, egress controls, separate secrets from logs).

Upstream fix (open source)