What happened
Wazuh-MCP-Server before commit 2bbfe12 has a server-side request forgery vulnerability in the blueteam_check_webshell tool because WebshellCheckInput.validate_url accepts DNS hostnames without resolving them. An attacker can supply URLs whose hostnames resolve or redirect to loopback, private, or cloud metadata addresses. Published 2026-11-27.
Why it matters
A SOC/defensive MCP tool that fetches a URL to check for webshells can be tricked by a prompt-injected URL into probing internal services or cloud metadata, since the validation does not pin the resolved address.
Attack vector
Prompt-injected URL with a DNS name resolving to loopback/private/metadata address is fetched by the webshell-check tool (SSRF).
Affected systems
INFOKOM-KI Wazuh-MCP-Server < commit 2bbfe12
Mitigation
Update Wazuh-MCP-Server to commit 2bbfe12 or later and pin resolved addresses.