Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver prompt injection via indexed content
-
DeliveryLLM invokes web_url_read with attacker-controlled URL
-
ExploitServer fetches internal or metadata endpoint (no IP filtering in default config)
-
ExecutionResponse returned as markdown into model context
-
ImpactAttacker extracts secrets or internal service data
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 | The primary condition enabling exploitation is that MCP_HTTP_HARDEN is not set to true - this is the default out-of-the-box state, so all default deployments are vulnerable without any configuration change required. The attacker must be able to influence the URL argument passed to the web_url_read tool; in LLM agentic contexts this is achievable via prompt injection in content the LLM processes, making the attack surface broad. In non-agentic contexts, the attacker must be an authenticated MCP client with permission to call the web_url_read tool. The attack is limited to HTTP/HTTPS - file:// URLs are rejected unconditionally. Impact is limited to read-only access to internal HTTP services reachable from the server's network interface (including 127.0.0.1 and 169.254.169.254 on cloud hosts); no write or delete capability is implied. Environments running the server without cloud metadata services or internal HTTP APIs on loopback have reduced exposure but are not immune if other internal services are reachable. |
| Impact | The assigned CVSS 3.1 score of 6.5 with vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N reflects the core risk accurately but arguably underscores the real-world danger in two ways: UI:R implies user interaction, yet in LLM agentic pipelines the tool invocation can be triggered automatically via prompt injection with no meaningful human gate, and S:U does not capture that the server uses its privileged internal network position to access resources the attacker could not reach directly. The AC:L and PR:N ratings are correct - the default configuration requires no special setup or credentials to exploit. No EPSS data was provided and no CISA KEV listing was found at time of analysis, but a confirmed PoC exists and the vulnerability is trivially reproducible in default installations, meaning any team running mcp-searxng in a cloud environment - including smaller operators who may not have reviewed default security settings - should treat this as urgent given that the guard simply ships off and cloud metadata credential exfiltration is one HTTP request away. |
| Exploit ScenarioDerived | An attacker delivers a prompt injection payload into content indexed by SearXNG or fetched during a browsing session, causing the LLM agent to call web_url_read with a URL targeting http://169.254.169.254/latest/meta-data/iam/security-credentials/ (or a local internal API on 127.0.0.1). Because MCP_HTTP_HARDEN is off by default, the server fetches the target without any IP filtering, converts the response to markdown, and returns IAM temporary credentials or internal service data directly into the model context where the attacker can observe or exfiltrate them. A PoC confirming this exact flow on v1.1.0 is publicly documented in the GitHub advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
Server-Side Request Forgery in mcp-searxng's web_url_read tool allows any caller - including an LLM steered via prompt injection - to make the server fetch internal HTTP services and cloud metadata endpoints (e.g., http://169.254.169.254/) and return their contents into the model context. The SSRF guard function assertUrlAllowed exists in the codebase but ships disabled because MCP_HTTP_HARDEN defaults to false, meaning all default deployments of versions prior to 1.2.1 are unprotected. Publicly available exploit code exists, validated on v1.1.0; no CISA KEV listing was present at time of analysis.
RemediationAI
Upgrade to mcp-searxng v1.2.1, which is the vendor-released patch per https://github.com/ihor-sokoliuk/mcp-searxng/releases/tag/v1.2.1 and the hotfix referenced in issue #91. If an immediate upgrade is not possible, set the environment variable MCP_HTTP_HARDEN=true before starting the MCP server - this activates the existing assertUrlAllowed guard and blocks loopback and private-range requests, though note that even with this flag enabled the guard uses literal hostname matching and does not re-validate on HTTP redirects, so DNS rebinding and redirect-based bypasses remain possible until the code is patched. As an additional compensating control in cloud environments, restrict the MCP server process's network egress at the infrastructure level (firewall, security groups, or host-based rules) to block outbound connections to 169.254.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, and 127.0.0.0/8; this is host-independent and not bypassable by application-layer redirect tricks, but does require infrastructure access to configure. The vendor's own remediation guidance recommends making assertUrlAllowed unconditional and adding per-redirect-hop IP re-validation.
Affected VersionsENISA
Affected Packages
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
mcp-searxng (pkg:npm/mcp-searxng) is a Node.js Model Context Protocol server that wraps SearXNG, a self-hosted meta-search engine. The vulnerable component is the web_url_read tool implemented in dist/index.js (lines 90-101), which calls fetchAndConvertToMarkdown with a caller-supplied URL and no unconditional input validation. The guard function assertUrlAllowed in dist/url-reader.js (lines 44-52) would block private/loopback/RFC-1918 and link-local metadata addresses (169.254.0.0/16), but it is only invoked when the environment variable MCP_HTTP_HARDEN is set to true - and dist/http-security.js (line 11) defaults this flag to off. The root cause class is CWE-918 (Server-Side Request Forgery): user-controlled URLs are passed directly to a server-side HTTP client without unconditional sanitization. Secondary weaknesses include: the guard uses literal hostname matching with no DNS-rebinding protection, and the HTTP fetch follows redirects without re-validating the resolved destination. file:// URLs are rejected, constraining the attack surface to HTTP/HTTPS.
Know when the next one hits your stack
- 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
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
No user interaction required in agentic/prompt-injection scenarios; Scope:Changed because server leverages its privileged network position to reach resources beyond the attacker's direct access.
Primary rating from Vendor (https://github.com/ihor-sokoliuk/mcp-searxng).
CVSS VectorVendor: https://github.com/ihor-sokoliuk/mcp-searxng
DescriptionCVE.org
Ref: https://github.com/ihor-sokoliuk/mcp-searxng/issues/87#issuecomment-4645453694
Summary
The web_url_read tool fetches a caller-supplied URL server-side and converts it to markdown. An SSRF guard (assertUrlAllowed, which blocks private/loopback/metadata addresses) exists but runs only when MCP_HTTP_HARDEN=true, which is off by default. So in the default configuration there is no internal-address filtering, and an attacker who can influence the URL can make the server fetch internal services and cloud metadata and return their content. Confirmed on 1.1.0 (default config): web_url_read fetched a local internal sentinel and returned its content.
Details
dist/index.js (around lines 90-101): web_url_read calls fetchAndConvertToMarkdown on the caller URL. dist/url-reader.js (around lines 44-52): assertUrlAllowed performs the private-IP/loopback check, but only when the hardening flag is set; dist/http-security.js (around line 11) defaults MCP_HTTP_HARDEN to off. With the default config the check is skipped entirely. Even when enabled, the check is literal-hostname based with no DNS-rebinding or redirect re-check (the fetch follows redirects). file:// is rejected, so this is HTTP/HTTPS SSRF.
PoC
Re-validated on mcp-searxng 1.1.0 over MCP stdio in the default configuration (MCP_HTTP_HARDEN not set):
tools: searxng_web_search, web_url_read
web_url_read({ url: "http://127.0.0.1:<port>/internal" }) -> server fetched the internal sentinel; SSRF: CONFIRMEDThe server fetched the loopback sentinel and returned its content. With MCP_HTTP_HARDEN=true the same request is blocked (policy error), confirming the guard exists but ships off. The same reaches http://169.254.169.254/... on cloud hosts.
Impact
In the default configuration an attacker who can influence the URL (LLM-produced and steerable via prompt injection) can make the server fetch internal-only HTTP services and the cloud metadata endpoint, returning their contents into the model context for exfiltration. The protection that would prevent it is not enabled by default.
Remediation
Enable the internal-address filtering by default (fail safe): make assertUrlAllowed run unconditionally and require an explicit opt-out only for trusted environments. Strengthen the check to resolve the host and reject loopback, link-local/metadata (169.254.0.0/16), 0.0.0.0/8, and private ranges, and re-validate on every redirect hop (or pin to the validated IP).
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-78923
GHSA-q87f-qc2r-2gw4
NVD
CVE.org
EPSS
Exploit-DB