Skip to main content

Wazuh CVE-2026-61811

| EUVDEUVD-2026-86331 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-09-24 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker controls enrolled Wazuh agent
  2. Delivery
    Craft EventChannel event with excessive attributes
  3. Exploit
    Submit to analysisd worker thread
  4. Execution
    Unbounded _getattributes() recursion exhausts stack
  5. Persist
    Segmentation fault crashes worker
  6. Impact
    Log ingestion interrupted (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Requires an enrolled Wazuh agent (PR:L) that submits a Windows EventChannel event containing an XML element with a very large number of attributes; the malformed event is then parsed by the analysisd worker thread. Affects Wazuh 3.8.0 through 4.14.6 (fixed in 4.14.7). Limiting factors: the attacker must already control or compromise a legitimately enrolled agent (not a fully unauthenticated external attacker), no user interaction is needed, and the impact is confined to availability - crashing the analysisd worker and halting log ingestion, with no data read or modified. The pre-existing _ReadElem() element-depth limit does NOT mitigate it because it bounds element nesting, not attribute count on a single element.

Impact

This is a moderate-severity denial-of-service issue, not a high-priority emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, 6.5) is internally consistent with CWE-674 uncontrolled recursion: network-reachable, low complexity, but requiring low privilege (PR:L) and yielding availability impact only - no confidentiality or integrity loss. The 'low privilege' is meaningful: the attacker must control an already-enrolled Wazuh agent, so this is an insider/compromised-endpoint threat rather than a fully external one. No EPSS score, no CISA KEV listing, and no public exploit code were provided, so this is no public exploit identified at time of analysis and there is no evidence of active or widespread exploitation. The 'Information Disclosure' tag directly contradicts the CVSS vector (C:N) and the DoS-only mechanism, and the 'Microsoft' tag misattributes the vendor (Wazuh is the affected open-source product; Windows is only the source of the malicious EventChannel event). Net: a real but bounded reliability/availability risk to the SIEM pipeline itself, worth patching promptly because a downed analysisd silently stops log ingestion, but not a drop-everything scenario.

Exploit ScenarioDerived

An attacker who controls or has compromised an enrolled Wazuh agent crafts a Windows EventChannel event whose XML element carries an extremely large number of attributes. When the analysisd worker thread parses it, _getattributes() recurses once per attribute while allocating two large stack buffers per frame, exhausting the thread stack and triggering a segmentation fault that halts log ingestion. No public exploit code was identified, but the condition is straightforward to reproduce and the fix's unit test (test_too_many_attributes) demonstrates the trigger.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 24, 2026

Recursive XML attribute parsing in Wazuh (src/os_xml/os_xml.c) can exhaust the analysisd worker-thread stack, causing a segmentation fault that halts log ingestion on the affected manager. An attacker who controls a legitimately enrolled Wazuh agent (authenticated, PR:L) can trigger this by having that agent forward a Windows EventChannel event containing a single XML element with a very large number of attributes, which analysisd then parses. All Wazuh versions from 3.8.0 through 4.14.6 are affected; the issue is fixed in 4.14.7, there is no indication of confirmed active exploitation (not in CISA KEV), and no public exploit code has been identified at time of analysis. Impact is availability-only - the worker crashes and ingestion stops, but no data is read, modified, or exposed.

RemediationAI

Vendor-released patch: upgrade Wazuh Manager to 4.14.7 or later, which is the version that introduces the XML_MAX_ATTR_DEPTH limit of 48 in _getattributes() and the accompanying 'XMLERR: Too many attributes.' rejection (see GHSA-9wv5-7qwx-m9w5, PR 37147, and https://github.com/wazuh/wazuh/releases/tag/v4.14.7). Deploy the upgrade to every manager node that runs analysisd, since the vulnerable parser is in the ingestion path. If an immediate upgrade is not possible, the most effective compensating control is to treat agent enrolment as a trust boundary: audit enrolled agents, promptly remove or revoke credentials for decommissioned, abandoned, or compromised agents, and require certificate-based agent authentication so an arbitrary host cannot inject crafted Windows EventChannel events - the trade-off is added enrolment/support overhead and the need to re-key any agents using legacy auth. As a secondary measure, tightly scope which agents are permitted to forward Windows EventChannel data (disabling or filtering the eventchannel decoder on the manager for agents that do not legitimately need it) reduces the attack surface, at the cost of losing that telemetry. Finally, monitor analysisd for unexpected restarts, worker-thread crashes, or gaps in log ingestion and correlate them with agent-submitted events containing unusually large attribute counts, so that a crash-loop can be detected and the offending agent isolated quickly; this detection does not prevent the crash itself. No patch beyond 4.14.7 is required, and no exact-version backports for the 3.x/4.x maintenance lines were identified in the supplied data.

Affected VersionsENISA

wazuh 3.8.0, < 4.14.7

Affected Packages

euvd wazuh_3_8_0 fix: 4.14.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is rooted in the Wazuh XML reader used by analysisd, specifically the _getattributes() routine in src/os_xml/os_xml.c, which parses attributes belonging to an XML element. Because attribute parsing is implemented recursively and each invocation allocates two large local buffers on the stack, an element carrying an arbitrarily large attribute count produces unbounded recursion depth and linear stack growth - a classic CWE-674 (Uncontrolled Recursion) resource-exhaustion pattern. The existing _ReadElem() element-depth guard bounds element nesting only, not the number of attributes on a single element, so it provides no protection here. The upstream fix (PR 37147, commit 2ac70941c5980a5dd24ad8a0f2be559f840e6a67) threads a depth counter through _getattributes() and rejects input once depth exceeds the new XML_MAX_ATTR_DEPTH constant of 48, returning the error 'XMLERR: Too many attributes.'; a unit test (test_too_many_attributes) was added alongside. The affected component is reachable from the Windows EventChannel log-decoding path, meaning the attack surface is the agent-to-manager event ingestion channel rather than a direct network service. The supplied CPE (cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*) is a wildcard and does not pin versions, so the authoritative affected range is the one stated in the advisory: 3.8.0 <= version < 4.14.7.

Know when Wazuh gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Enrolled agent supplies the event (PR:L) over the network (AV:N) with no interaction; unbounded recursion reliably crashes the worker for availability loss only, no C/I impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Sep 24, 2026 - 19:04 EUVD
CVE Published
Sep 24, 2026 - 17:48 cve.org
MEDIUM 6.5

DescriptionCVE.org

Wazuh is an open-source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads. From 3.8.0 until 4.14.7, the _getattributes() function in src/os_xml/os_xml.c recursively processes every XML attribute without a depth limit while allocating two large local buffers in each stack frame. An enrolled agent can submit a Windows EventChannel event containing an element with enough attributes to exhaust the analysisd worker-thread stack, trigger a segmentation fault, and interrupt log ingestion. The element-depth limit in _ReadElem() does not constrain the number of attributes on one element, so it does not prevent this condition. This issue is fixed in version 4.14.7.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Medium
Wazuh is a widely used open-source SIEM/XDR, common in security teams but not universal
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Wazuh

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2021-44079 CRITICAL POC
9.8 Nov 22

In the wazuh-slack active response script in Wazuh 4.2.x before 4.2.5, untrusted user agents are passed to a curl comman

CVE-2026-48024 CRITICAL POC
9.1 Aug 19

Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version

CVE-2026-48162 CRITICAL POC
9.1 Aug 19

Arbitrary file read in Wazuh cluster deployments (4.0.0 through 4.14.5, and 5.0.0-beta1/beta2) lets a peer node that alr

CVE-2026-61800 CRITICAL POC
9.1 Aug 27

Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v

CVE-2026-25769 CRITICAL POC
9.1 Mar 17

A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi

CVE-2025-30201 CRITICAL POC
9.1 Nov 21

Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attac

CVE-2026-44901 HIGH POC
8.4 Aug 19

Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,

CVE-2026-54083 HIGH POC
8.1 Aug 27

Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele

CVE-2018-19666 HIGH POC
7.8 Nov 29

The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa

CVE-2026-44252 HIGH POC
7.7 Aug 19

Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr

CVE-2026-71540 HIGH POC
7.5 Sep 24

Unauthenticated remote denial of service in the Wazuh cluster daemon (wazuh-clusterd) allows a network peer to exhaust p

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy