# CVE-2026-58485: mcp-searxng: DNS-resolved Private Hostname SSRF in `web_url_read`

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-06-19T21:42:46.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-mrvx-jmjw-vggc
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ihor-sokoliuk mcp-searxng: < 1.7.1
- mcp-searxng (npm): before 1.7.1

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.1 High `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> (web)
- <https://github.com/ihor-sokoliuk/mcp-searxng/pull/120>
- <https://github.com/ihor-sokoliuk/mcp-searxng/commit/14575eaaa46a21391477d2b68673858ba6b52bd6>
- <https://github.com/ihor-sokoliuk/mcp-searxng/releases/tag/v1.7.1>
- <https://github.com/ihor-sokoliuk/mcp-searxng> (package)

## Sources

- CVE List: [CVE-2026-58485](https://www.cve.org/CVERecord?id=CVE-2026-58485), CVE Terms of Use, modified 2026-09-15
- GitHub Advisory Database: [GHSA-mrvx-jmjw-vggc](https://github.com/advisories/GHSA-mrvx-jmjw-vggc), CC-BY-4.0, modified 2026-09-16
- NVD: [CVE-2026-58485](https://nvd.nist.gov/vuln/detail/CVE-2026-58485), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-58485 · Whole record: https://cve.day/CVE-2026-58485.json · Rebuilt by cve.day 2026-11-25T22:59:38.628Z
