CVE-2026-58485 json
mcp-searxng: DNS-resolved Private Hostname SSRF in `web_url_read`
published 2026-06-19 4 mo ago modified 2026-09-30 39 d ago also GHSA-mrvx-jmjw-vggc , EUVD-2026-78924
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
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.
Patch / fix
- npm mcp-searxng 1.7.1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 54 d ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | mcp-searxng | <1.7.1 |
1.7.1 |
Affected products
- ihor-sokoliuk mcp-searxng
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
- github.com /ihor-sokoliuk/mcp-searxng/pull/120
- github.com /ihor-sokoliuk/mcp-searxng/commit/14575eaaa46a21391477d2b68673858ba6b52bd6
-
github.com
/ihor-sokoliuk/mcp-searxng/security/advisories/GHSA-mrvx-jmjw-vggc
web
- github.com /ihor-sokoliuk/mcp-searxng/releases/tag/v1.7.1
-
github.com
/ihor-sokoliuk/mcp-searxng
package
Sources
- CVE List CVE-2026-58485
- GitHub Advisory GHSA-mrvx-jmjw-vggc
- NVD CVE-2026-58485
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.