CVE-2026-58485 Details
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.
A Server-Side Request Forgery (SSRF) vulnerability has been identified in the mcp-searxng Model Context Protocol server, specifically in the web_url_read function. This vulnerability allows an attacker to bypass security measures and access internal services via URLs that resolve to private or loopback addresses. The issue arises because the URL validation process only checks the hostname string without performing DNS resolution. As a result, an attacker can exploit this flaw to read sensitive internal data or services. The vulnerability affects mcp-searxng versions through 1.6.0 and is present in the default HTTP configuration, where no authentication is required.
Users can update to mcp-searxng version 1.7.1 or later, where this vulnerability has been patched. In addition, users can set the MCP_HTTP_ALLOW_PRIVATE_URLS environment variable to false to disable the insecure opt-in for private URL reads.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 15, 2026CISA-ADP
Assessed Sep 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ihor-sokoliuk/mcp-searxng/commit/14575eaaa46a21391477d2b68673858ba6b52bd6 | [email protected] | Source CodeVendor |
| https://github.com/ihor-sokoliuk/mcp-searxng/pull/120 | [email protected] | Issue TrackingVendor |
| https://github.com/ihor-sokoliuk/mcp-searxng/releases/tag/v1.7.1 | [email protected] | Release NotesVendor |
| https://github.com/ihor-sokoliuk/mcp-searxng/security/advisories/GHSA-mrvx-jmjw-vggc | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mcp-searxng | <= 1.6.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 15, 2026 | CVE Modified | CISA-ADP |
| Sep 15, 2026 | New CVE Received | [email protected] |
Volerion