Vulnerability · Published Sep 15, 2026 · Assigned by GitHub_M
CVE-2026-58485mcp-searxng: DNS-resolved Private Hostname SSRF in `web_url_read`
High 7.1
In plain English
A high-severity server-side request forgery in mcp-searxng from ihor-sokoliuk. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
mcp-searxng is a Model Context Protocol server that gives AI assistants web search and URL-reading capabilities through SearXNG. Prior to 1.7.1, web_url_read receives its caller-controlled URL through src/index.ts and validates only the literal hostname in assertUrlAllowed() within src/url-reader.ts before undiciFetch() performs operating-system DNS resolution. A public-looking attacker-controlled hostname that resolves to a private, loopback, link-local, or cloud-metadata address therefore passes the lexical check and causes the MCP server to connect to the internal destination. In the default HTTP configuration, an unauthenticated network client can use this path to read internal services, expose credentials or service tokens, and enumerate reachable internal hosts; in STDIO deployments, prompt-influenced tool selection can provide the malicious URL. Direct private IP literals are blocked, and MCP_HTTP_ALLOW_PRIVATE_URLS remains an explicit opt-out. This issue is fixed in version 1.7.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | mcp-searxng | 1.7.1 | GHSA-mrvx-jmjw-vggc |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ihor-sokoliuk | mcp-searxng | < 1.7.1 |
Weakness: CWE-918 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/ihor-sokoliuk/mcp-searxng/security/advisories/GHSA-mrvx-jmjw-vggc x_refsource_CONFIRM
- https://github.com/ihor-sokoliuk/mcp-searxng/pull/120 x_refsource_MISC
- https://github.com/ihor-sokoliuk/mcp-searxng/commit/14575eaaa46a21391477d2b68673858ba6b52bd6 x_refsource_MISC
- https://github.com/ihor-sokoliuk/mcp-searxng/releases/tag/v1.7.1 x_refsource_MISC