mcp-searxng: DNS-resolved Private Hostname SSRF in `web_url_read`
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-918 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ihor-sokoliuk | mcp-searxng | before 1.7.1 | 1.7.1 | Patch available | CNA |
- mcp-searxng Vendorihor-sokoliuk Affected before 1.7.1 Fixed in 1.7.1 Patch available CNA
Remediation
- Fix · CNA mcp-searxng (ihor-sokoliuk) Fixed in 1.7.1
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58485
References
Other 4
More ihor-sokoliuk vulnerabilities
- TI-2026-42087 mcp-searxng: Unbounded Response Body Read Bypasses URL Size Limit in `web_url_read` CVSS 3.1HIGH 7.5
- TI-2026-39509 mcp-searxng: SSRF in web_url_read: the internal-address guard is disabled by default (MCP_HTTP_HARDEN off) CVSS 3.1MEDIUM 6.5
- TI-2026-39510 mcp-searxng hardened-mode SSRF bypasses permit internal URL access CVSS 3.1MEDIUM 6.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences