CVE-2026-58485
mcp-searxng: DNS-resolved Private Hostname SSRF in `web_url_read`
Check your servers for CVE-2026-58485
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-58485 affects mcp-searxng, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.87% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 15 Sep 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-918 Server-Side Request Forgery
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| mcp-searxng |
affected < 1.7.1
|
Is my server affected?
Find the installed version of mcp-searxng and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i mcp-searxng
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-58485 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-58485RHEL, Rocky, Alma, Fedora
rpm -q mcp-searxng
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-58485Alpine
apk list --installed | grep -i mcp-searxngWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-58485
trivy image --scanners vuln IMAGE | grep CVE-2026-58485
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/ihor-sokoliuk/mcp-searxng/pull/120 github.com
- https://github.com/ihor-sokoliuk/mcp-searxng/commit/14575eaaa46a21391477d2b68673858ba6b52bd6 github.com
- https://github.com/ihor-sokoliuk/mcp-searxng/releases/tag/v1.7.1 github.com
Source: the record CVE-2026-58485 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse