CVE-2026-138029

Wazuh MCP webshell checks could reach private destinations through hostnames

INFOKOM-KI · Wazuh-MCP-Server webshell checker

First documented disclosure · Review checkpoint

Summary

A URL taken from untrusted investigation material could cause the MCP server to request an internal service.

Severity and exploitation evidence

Medium · 5.3/10 · CVSS 4.0. Severity source.

Exploitation not established: The reviewed sources describe a reported weakness or controlled demonstration. They do not establish malicious exploitation or affected victims; no payload or product was executed in this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

The validator rejected non-public literal IP addresses but allowed DNS names without resolving them; curl could also follow redirects without destination checks.

Conditions required

A caller or analyst invokes blueteam_check_webshell on an attacker-controlled hostname or redirect, and the server can reach the internal destination.

Potential impact

Internal-service probing and limited response disclosure. Status and sizes are returned; up to 1,500 characters of matching login-page HTML can be included, not every response body.

Affected versions and configurations

CNA lists commits from a585b2d537d5d9137aede09ca8540d5dfc7cecdf before 2bbfe12bf90ffd0a0c1299b5ed080740b09f4de4. Advisory marks prior versions generally affected.

Fix and mitigation status

Commit 2bbfe12bf90ffd0a0c1299b5ed080740b09f4de4 adds hostname resolution, curl --resolve pinning and manually checked redirect hops.

Practical next steps

Adopt the correction, restrict outbound reachability and review ALLOWED_INTERNAL_DOMAINS; entries deliberately permit their internal destinations.

Operating lesson

Forensic URLs are untrusted inputs even inside a defensive security tool.

Evidence and limits

The September 3 maintainer advisory predates the November CNA. Its referenced security commit is dated September 2; first public push time was not established, so the advisory date is used for disclosure. The patch was read statically and includes pinned connections for this checker; no claim of complete network isolation or testing of every other Wazuh tool is made. The advisory labels High without a numeric score; the CNA’s narrower Medium 5.3 assessment is shown. Severity is attributed to VulnCheck CNA CVSS 4.0. CNA publication 2026-11-27T19:15:17.818Z is separate from the original disclosure.

Sources