Skip to main content

mcp-searxng EUVDEUVD-2026-78924

| CVE-2026-58485 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-09-15 GitHub_M
7.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach unhardened HTTP MCP endpoint (no auth)
  2. Delivery
    Supply public hostname resolving to private IP
  3. Exploit
    Bypass lexical hostname allowlist check
  4. Execution
    undiciFetch resolves DNS to internal address
  5. Impact
    Read internal services and exfiltrate credentials/tokens

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Primary condition: the server runs the HTTP transport with MCP_HTTP_HARDEN unset, so requireAuth is false and web_url_read is invokable by an unauthenticated network client. The attacker must control a public-looking hostname that DNS-resolves to a private, loopback, link-local, or cloud-metadata address (e.g., a wildcard service like nip.io or a custom DNS record) - direct private IP literals are already blocked, and MCP_HTTP_ALLOW_PRIVATE_URLS defaults to false. Limiting factors: internal targets must be reachable from the server host; if the HTTP transport is not exposed or is hardened with auth, network exploitation is prevented; in STDIO deployments there is no network vector and exploitation instead requires prompt-influenced tool selection to feed the malicious URL. Affects mcp-searxng < 1.7.1.

Impact

Signals are mixed and lean toward a real-but-conditional priority rather than a mass-exploitation emergency. The mechanism is a genuine, well-understood SSRF via DNS-rebinding bypass (CWE-918) with vendor source-code confirmation, a merged fix (PR #120, commit 14575ea, v1.7.1), and SSVC rating Exploitation:poc / Automatable:no / Technical Impact:partial - so proof-of-concept-grade exploitability exists but it is not flagged as trivially automatable at scale. EPSS is very low (0.14%, 3rd percentile) and there is no CISA KEV listing, indicating no observed widespread exploitation. The most important conflict is the attack vector: the vendor CVSS is AV:L (7.1), yet the description and GHSA advisory explicitly state that in the default HTTP configuration an UNAUTHENTICATED NETWORK client (requireAuth=false when MCP_HTTP_HARDEN is unset) can invoke web_url_read - which supports AV:N and a materially higher score. This AV:L-vs-network-reachable discrepancy should be verified against your actual transport mode: if you run the HTTP transport unhardened, treat this as network-reachable and higher-risk; if you run STDIO only, exploitation requires prompt-influenced tool selection and the local vector is more accurate. Net: prioritize patching where the HTTP transport is exposed, but this is not a drop-everything internet-wide threat.

Exploit ScenarioDerived

An attacker registers or uses a wildcard-DNS domain (e.g. via nip.io) whose public-looking hostname resolves to a private/loopback/link-local or cloud-metadata address such as 169.254.169.254, then calls the web_url_read tool on an unhardened HTTP-transport mcp-searxng instance with that URL. The lexical assertUrlAllowed() check passes because the hostname string is not a private literal, and undiciFetch() then performs OS DNS resolution and connects to the internal target, returning internal service responses, credentials, or tokens. Proof-of-concept-grade exploit detail is documented in the GHSA advisory, though no weaponized in-the-wild exploit is confirmed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 17, 2026

Server-side request forgery in mcp-searxng before 1.7.1 lets an unauthenticated network client coerce the MCP server into fetching internal-only resources. The web_url_read tool validates only the literal hostname string before handing the URL to undici's fetch, so an attacker-controlled hostname that DNS-resolves to a loopback, private, link-local, or cloud-metadata address passes the lexical check and is connected to by the OS resolver. Successful abuse can read internal HTTP services, leak credentials or service tokens, and enumerate reachable internal hosts; publicly available exploit code exists and EPSS remains low (0.14%, 3rd percentile), so this is a real but conditional risk concentrated in deployments that expose the default HTTP transport without the MCP_HTTP_HARDEN authorization layer.

RemediationAI

Vendor-released patch: mcp-searxng 1.7.1, published at https://github.com/ihor-sokoliuk/mcp-searxng/releases/tag/v1.7.1 and accompanied by the advisory at https://github.com/ihor-sokoliuk/mcp-searxng/security/advisories/GHSA-mrvx-jmjw-vggc; upgrade from any version below 1.7.1 immediately, since the fix (PR https://github.com/ihor-sokoliuk/mcp-searxng/pull/120, commit 14575eaaa46a21391477d2b68673858ba6b52bd6) resolves hostnames via node:dns/promises inside the URL validation step, rejects names that resolve to private, loopback, link-local, or unspecified addresses, and pins the connection to the validated DNS answer to prevent rebinding between check and connect. Where upgrading is not immediately possible, the highest-value compensating control is to enable the HTTP hardening layer so requireAuth becomes true - this removes the unauthenticated network vector entirely but forces every MCP client to supply credentials and will break clients that rely on the current open default. Alternatively, avoid exposing the HTTP transport on any network reachable by untrusted clients (bind to loopback or front it with an authenticating proxy) and treat STDIO deployments as trusted-input only, since there a malicious URL arrives via prompt-influenced tool selection rather than the network, so restricting which clients and prompts can invoke web_url_read is the practical mitigation. Keep MCP_HTTP_ALLOW_PRIVATE_URLS=false; setting it to true re-enables private and DNS-resolved private targets and should only be used for deliberately internal deployments. Note the documented trade-off for proxied environments: when URL_READER_HTTP_PROXY, URL_READER_HTTPS_PROXY, HTTP_PROXY, or HTTPS_PROXY is configured the proxy performs DNS resolution and the client-side DNS validation cannot inspect the final IP, so those deployments must enforce egress controls, firewall rules, and proxy-side deny lists instead of relying on the application check. Redirects (up to five hops) are validated at every hop on the direct no-proxy path in 1.7.1, but hardening the tool's output handling does not fix the transport-level exposure.

Affected VersionsENISA

mcp-searxng < 1.7.1

Affected Packages

npm mcp-searxng fix: 1.7.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is a Model Context Protocol (MCP) server written in TypeScript that provides AI assistants with web search and URL-reading capabilities via SearXNG. The root-cause class is CWE-918 (Server-Side Request Forgery): in src/url-reader.ts, assertUrlAllowed() compares url.hostname against private hostname and IPv4/IPv6 patterns as plain strings and never performs DNS resolution; operating-system resolution happens later inside undiciFetch() at src/url-reader.ts:367, after the security gate has already passed. Because the caller-controlled URL flows unchecked from src/index.ts (isWebUrlReadArgs accepts any string) through fetchAndConvertToMarkdown() into that fetch call, a public-looking attacker-controlled hostname - for example a wildcard DNS service like nip.io or a custom A record - resolves to a blocked destination and bypasses the policy. Direct private IP literals are already rejected and MCP_HTTP_ALLOW_PRIVATE_URLS defaults to false, so the bypass specifically targets the gap between lexical validation and DNS resolution, the same gap that enables classic DNS rebinding. In the default HTTP configuration (MCP_HTTP_HARDEN unset, requireAuth false per src/http-security.ts), the tool is reachable without authentication; assessments rate this as network-reachable with PR:N, scope-changed, high confidentiality impact and no integrity or availability impact. The CPE cpe:2.3:a:ihor-sokoliuk:mcp-searxng:*:*:*:*:*:*:*:* captures all released versions prior to the fix.

Know when Mcp Searxng gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.1 HIGH
AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 8.6 HIGH

Advisory states unauthenticated network clients invoke web_url_read in default HTTP mode (AV:N/PR:N); DNS-rebinding via wildcard DNS is low-complexity; server pivots to internal systems (S:C, C:H); no integrity/availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Sep 15, 2026 - 18:18 EUVD
CVE Published
Sep 15, 2026 - 17:47 cve.org
HIGH 7.1

DescriptionCVE.org

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.

Technical POC Analysis

CWE-918.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

mcp-searxng deployments that expose the default HTTP transport without the MCP_HTTP_HARDEN authorization layer are at risk from CVE-2026-58485, a server-side request forgery flaw that lets remote attackers coerce the server into fetching internal-only resources. Successful exploitation could expose internal HTTP services, leak credentials or service tokens, and enable internal host enumeration, making this a significant concern for organizations using this tool in sensitive network environments. Although publicly available exploit code exists, current exploitation likelihood is low (EPSS 0.14%), but the potential for credential compromise and internal reconnaissance justifies immediate action.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche open-source MCP server for SearXNG, small emerging-ecosystem footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy