Skip to main content

mcp-searxng CVE-2026-58483

| EUVDEUVD-2026-79124 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-09-15 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Attacker hosts HTTP endpoint without Content-Length
  2. Delivery
    Deliver URL via unauthenticated tool call or prompt injection
  3. Exploit
    web_url_read issues HEAD preflight
  4. Install
    checkContentLength returns null, guard bypassed
  5. C2
    GET buffers entire body via response.text()
  6. Execute
    NodeHtmlMarkdown.translate amplifies CPU load
  7. Impact
    MCP server memory exhaustion and denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires that the mcp-searxng server has the web_url_read tool enabled (it is on by default) and that an attacker can influence the URL it fetches - either directly by calling the tool as an unauthenticated HTTP client when the server runs in HTTP transport mode (authentication disabled by default, giving CVSS PR:N/AV:N), or indirectly in stdio mode via prompt injection that persuades the AI model to request an attacker-controlled URL. The decisive technical condition is on the target HTTP server's response: it must omit the Content-Length header (standard practice for chunked or streamed responses), understate the length relative to the actual GET body, or otherwise produce a HEAD response whose Content-Length is null - only then does checkContentLength() return null and the guard short-circuit to false. Rate limits or timeouts on the tool invocation, an outbound proxy or egress allowlist restricting which hosts the MCP server can reach, deployment in stdio mode without an injection vector, and container memory/CPU limits all reduce or contain the impact but do not remove the underlying flaw. If the target server always returns an accurate Content-Length, the preflight rejects oversized pages and this CVE is not exploitable.

Impact

CVSS 3.1 rates this 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) - full availability impact with no confidentiality or integrity effect, low attack complexity, and no authentication or user interaction required in HTTP transport mode, which the vendor advisory confirms is the default. That aligns with the vendor's own PoC, but the practical blast radius is smaller than the score suggests: exploitation is only a resource-exhaustion DoS against the MCP server process itself (no scope change, no code execution), and it depends on the server being reachable and on it fetching an attacker-influenced URL. EPSS scoring was not supplied, and the CVE is not listed in CISA KEV, so there is no evidence of active exploitation - only published PoC material in the advisory. The absence of an EPSS value and of KEV status means real-world prioritization should be driven by whether the MCP server is exposed over HTTP transport without authentication; in stdio-only deployments the attack requires prompt injection and is meaningfully harder. DoS-only impact caps the severity ceiling even though the CVSS score is high.

Exploit ScenarioDerived

An attacker who can invoke web_url_read - directly over an unauthenticated HTTP transport, or indirectly through prompt injection that makes the AI model request an attacker-chosen URL - hosts or controls an HTTP endpoint that responds to the HEAD preflight without a Content-Length header (or with an understated one) and then streams a very large body on GET. The MCP server's guard short-circuits, response.text() buffers the entire payload, and NodeHtmlMarkdown.translate() burns CPU converting it, exhausting process memory and stalling the assistant. A ready-to-run Docker proof of concept is published in the vendor advisory, making reproduction trivial for anyone with the affected version.

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

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

Alert me

AnalysisAIv1 – Sep 15, 2026

Unbounded memory consumption in the web_url_read tool of mcp-searxng before 1.7.1 lets a remote unauthenticated client exhaust the MCP server process by pointing it at an HTTP endpoint that omits (or understates) the Content-Length header. The 5 MiB URL_READ_MAX_CONTENT_LENGTH_BYTES guard is implemented as a HEAD preflight only, so when the header is absent the check short-circuits to false and the full response body is loaded via response.text() and then converted to Markdown, driving both memory and CPU usage toward exhaustion. Exploit code and a Docker-based proof of concept are published in the vendor's GHSA advisory, and the flaw is fixed in 1.7.1; CISA KEV listing and EPSS scoring are not present in the supplied data.

RemediationAI

Upgrade to mcp-searxng 1.7.1 or later, which replaces the HEAD-only size check with an authoritative streaming byte cap applied to the decompressed body; the exact fix is the vendor release v1.7.1 (https://github.com/ihor-sokoliuk/mcp-searxng/releases/tag/v1.7.1) delivered via PR #121 and commit f5a947ed1650daed10fbdcd53c0db5a86489ffe4, with guidance in GHSA-xcqx-9jf5-w339. If immediate upgrade is not possible, compensating controls include running the server in stdio mode only rather than HTTP transport (removes the unauthenticated network vector, but leaves prompt-injection paths open and breaks HTTP-based clients); placing the server behind an authenticated reverse proxy so only trusted callers can invoke web_url_read (requires the proxy to enforce auth the server itself does not provide); and lowering URL_READ_MAX_CONTENT_LENGTH_BYTES plus constraining the container's memory with cgroup limits and CPU quotas so an unbounded read degrades to an OOM kill of a single process rather than host-wide exhaustion (side effect: legitimate large pages are rejected and the process may restart repeatedly under sustained attack). Outbound egress filtering that blocks the MCP server from reaching untrusted, attacker-controlled hosts reduces exposure but does not address redirects or compromised legitimate sites.

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

mcp-searxng is a Node.js/TypeScript Model Context Protocol server (npm package) that exposes SearXNG search plus a URL-reading tool to AI assistants. CWE-400 (Uncontrolled Resource Consumption) applies at two sinks in src/url-reader.ts: the normal path at line 414 (htmlContent = await response.text()) and the error path at line 402 (responseBody = await response.text()). Both follow a preliminary HEAD request whose Content-Length is inspected by checkContentLength() (lines 243-245); a missing header returns null, and the guard at lines 352-360 uses a !== null && > max conjunction, so null evaluates to false and the ceiling is never applied. Fetching uses undici, whose transparent Content-Encoding decompression is also uncapped, and the resulting string is passed to NodeHtmlMarkdown.translate() at line 429, making CPU cost scale with body size. The fix in PR #121 moves enforcement into the streaming path so the cap is authoritative for chunked responses, missing headers, and understated Content-Length values, measured after decompression; the GHSA advisory notes web_url_read is enabled by default and that HTTP transport mode ships with authentication disabled, meaning AV:N/PR:N applies without precondition, while stdio deployments require prompt injection to reach the vulnerable tool.

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.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-reachable unauthenticated HTTP transport gives AV:N/PR:N/UI:N; only availability is affected, and no scope change occurs.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Sep 15, 2026 - 19:04 EUVD
CVE Published
Sep 15, 2026 - 17:48 cve.org
HIGH 7.5

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 in src/index.ts passes a caller-supplied URL to readUrlContent() in src/url-reader.ts, where checkContentLength() treats a missing Content-Length header as an inconclusive preflight and the normal and error paths then consume the complete body with response.text(). A server that omits Content-Length can therefore bypass URL_READ_MAX_CONTENT_LENGTH_BYTES and force unbounded memory use. The resulting string is also processed by NodeHtmlMarkdown.translate(), increasing CPU consumption and allowing an unauthenticated HTTP client to cause denial of service. This issue is fixed in version 1.7.1.

Technical POC Analysis

CWE-400 (Uncontrolled Resource Consumption).

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

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche open-source npm MCP server with limited deployments
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.5%
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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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