Skip to main content
Menu
CVEs

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.

CVE-2026-138029EUVD-2026-137491Published November 27, 2026, updated

5.3MediumCNA
Exploited
No known exploitation
Fix
Fix or patch referenced
Who is exposed
Specific setups only

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

Original 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.

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.

“Affecting Wazuh-MCP-Server >= a585b2d537d5d9137aede09ca8540d5dfc7cecdf, < 2bbfe12bf90ffd0a0c1299b5ed080740b09f4de4”

vulncheck.com

What to do

  1. Check whether your setup matches what the bug needs.

    Wazuh-MCP-Server versions before commit 2bbfe12 (affected range from commit a585b2d onward). 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.
  2. Apply the patch listed under Evidence.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

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"}.

Affected versions

cve.now Index

17Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure12/25Specific setups only, reachable over the network without a login
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity5.3/10CVSS 5.3
  • No patch0/5No signal

What would change the score

  • Would score about 67 if added to CISA KEV
  • Would score about 62 if CISA's SSVC rates exploitation active

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 6

Questions about CVE-2026-138029

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: cve.now feed data

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: vulncheck.com, github.com

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: vulncheck.com, github.com

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: vulncheck.com, github.com

No corrections so far. Something wrong on this page? Report an error.