Skip to content

CVE-2026-54688 mcp-searxng: SSRF in web_url_read: the internal-address guard is disabled by default (MCP_HTTP_HARDEN off)

MediumCVSS 6.5 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

mcp-searxng is a Model Context Protocol server that gives AI assistants web search and URL-reading capabilities through SearXNG. Prior to 1.2.0, web_url_read passes a caller-supplied URL to the server-side fetch path while assertUrlAllowed() in src/url-reader.ts runs only when MCP_HTTP_HARDEN is enabled, even though MCP_HTTP_HARDEN is disabled by default in src/http-security.ts. In the default configuration, an attacker who influences the URL selected by a user or AI agent can make the server fetch loopback, private-network, or cloud metadata endpoint resources and return their contents into the model context. file:// URLs remain rejected, and the separate DNS-resolution and redirect-validation bypasses are outside this record. This issue is fixed in version 1.2.0.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm mcp-searxng(npm) < 1.2.1 1.2.1 Fixed
ihor-sokoliuk mcp-searxng = < 1.2.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ihor-sokoliuk mcp-searxng = < 1.2.0 No fix listed
npm mcp-searxng(npm) < 1.2.1 1.2.1

References