Skip to main content

Wazuh CVE-2026-54084

MEDIUM
NULL Pointer Dereference (CWE-476)
2026-08-27 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Identify Wazuh agent in enrollment phase
  2. Delivery
    Position as rogue manager or intercept enrollment traffic via MITM
  3. Exploit
    Receive agent enrollment request
  4. Execution
    Return malformed key response with fewer than four fields
  5. Persist
    Trigger NULL pointer dereference in OS_IsValidName()
  6. Impact
    Agent process crashes, security telemetry silenced

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two conditions must be met simultaneously. First, the target Wazuh agent must be in the enrollment phase - this occurs at initial deployment, after a key reset, or following agent restart without a cached key. The enrollment window is time-limited and agent-specific, meaning an attacker must time their response or trigger a re-enrollment. Second, no CA certificate must be configured for manager verification on the affected agent, which allows it to accept enrollment responses from any reachable server without cryptographic validation. If a CA certificate IS configured and enforced, the agent will reject connections from unauthorized managers, blocking the attack entirely. The attacker must also be positioned to deliver the malformed response before the legitimate manager responds (MITM scenario) or must be the server the agent is configured to contact (rogue manager scenario). The impact is strictly denial of service - the agent process terminates; there is no code execution, credential exposure, or lateral movement capability inherent in this flaw.

Impact

The CVSS 5.3 (Medium) rating appropriately reflects the constrained attack surface: AV:N establishes a network-reachable entry point, but AC:H captures the prerequisite of either a MITM position during the enrollment handshake or a rogue manager that the agent will connect to without certificate verification. The availability impact is rated High (A:H) because the crash is deterministic - any correctly formed malformed response will reliably terminate the agent - but the scope is unchanged and there is no confidentiality or integrity exposure. No EPSS score was included in the provided intelligence, and the vulnerability is not listed in the CISA KEV catalog, meaning active exploitation in the wild is unconfirmed. However, the crash mechanism is simple enough that the barrier to exploit is effectively the AC:H preconditions rather than any technical sophistication; once an attacker controls the enrollment channel, exploitation is trivial. Organizations that deploy Wazuh agents in environments without strict CA certificate requirements - a common pattern in rapid-deployment or lab contexts - face higher realistic risk than the raw CVSS score suggests, and should prioritize patching to 4.14.7 over relying on CVSS triage alone. The targeted nature of the DoS (individual agent crash, not manager-side) limits blast radius, but silently disabled agents directly undermine the security visibility Wazuh is deployed to provide.

Exploit ScenarioDerived

An attacker with a MITM position on the network segment used for agent-manager enrollment (achieved via ARP spoofing, DNS poisoning, or rogue DHCP) intercepts an agent's enrollment request and responds with a truncated key message such as OSSEC K:'1' instead of the expected four-field response. The agent's enrollment parsing routine immediately dereferences a NULL pointer in OS_IsValidName(), crashing the agent process. The agent goes silent, stops forwarding security telemetry to the SIEM, and must be manually re-enrolled - providing a blind spot an attacker could exploit for follow-on activity. No public exploit code has been identified, but the trigger is mechanically straightforward given knowledge of the Wazuh enrollment protocol.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 28, 2026

NULL pointer dereference in Wazuh agent enrollment (versions 4.0.0-4.14.6) allows a network-positioned attacker operating a rogue manager or performing a man-in-the-middle attack to deterministically crash the agent process by supplying a malformed key response containing fewer than four space-separated fields. The flaw resides in w_enrollment_process_agent_key() in src/shared/enrollment_op.c, which passes unvalidated NULL entries from OS_StrBreak() directly into OS_IsValidName(), where an unguarded strlen() call on a NULL pointer terminates the agent. The attack is constrained by high complexity conditions (no CA certificate configured, or active MITM capability), and no public exploit code or CISA KEV listing has been identified at time of analysis. The issue is fixed in Wazuh 4.14.7.

RemediationAI

Upgrade Wazuh agents to version 4.14.7, which introduces explicit NULL checks for all four parsed enrollment key fields before invoking OS_IsValidID() and OS_IsValidName(), as confirmed by the upstream commit at https://github.com/wazuh/wazuh/commit/7dfbb4a292bc6ae8e3bb4c1982f687f35216a748. The fix is minimal and surgical, making the upgrade low-risk from a regression perspective. For environments that cannot immediately patch, configure a CA certificate for manager verification: this prevents agents from accepting enrollment responses from unverified or rogue managers, directly blocking the primary attack path described in the CVE. Be aware that enabling CA certificate verification requires distributing the certificate authority to all agents and managers; environments using self-signed certificates must ensure proper certificate distribution before enabling this control, or enrollment will fail. The vendor security advisory at https://github.com/wazuh/wazuh/security/advisories/GHSA-ppc7-hj9v-vx39 should be consulted for deployment-specific guidance.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

Wazuh agents use an enrollment protocol in which the agent connects to a manager and receives a key response expected to contain exactly four space-separated fields: agent ID, agent name, agent IP, and a shared secret key. The vulnerable function w_enrollment_process_agent_key() in src/shared/enrollment_op.c invokes OS_StrBreak() to split this response into an array. When the server response is truncated - for example, OSSEC K:'1' - OS_StrBreak() returns an array with fewer than four populated entries, leaving trailing slots as NULL. Prior to the fix, the code passed all four array slots directly to OS_IsValidID() and OS_IsValidName() without first verifying their non-NULL status. Both validators call strlen() on their argument without a NULL guard, resulting in a NULL pointer dereference (CWE-476) that immediately terminates the agent process. The root cause is a missing precondition check on the parsed field count. The attack surface is gated by Wazuh's enrollment trust model: when no CA certificate is configured, the agent accepts connections from any responding manager, making unauthenticated rogue managers viable attack vectors.

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 5.3 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
vuln.today AI 5.3 MEDIUM

AV:N because the attack traverses the network; AC:H because MITM positioning or absent CA configuration is required; UI:R because the agent must actively initiate enrollment; A:H because the agent process terminates deterministically.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/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
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Wazuh is an open-source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads. In versions 4.0.0 through 4.14.6, a malicious or man-in-the-middle enrollment manager can crash a Wazuh agent during enrollment by returning a malformed key response with fewer than four fields, causing a NULL pointer dereference. The  w_enrollment_process_agent_key()  routine splits the manager-provided key into four space-separated fields but does not verify that all fields are present before passing them to validators. Because OS_StrBreak() leaves missing trailing entries as NULL and OS_IsValidName() calls strlen() on its argument without a NULL check, a response such as  OSSEC K:'1'  reaches OS_IsValidName(NULL) and terminates the agent process. Since Wazuh permits enrollment against an unverified manager when no CA certificate is configured, an attacker operating a rogue manager or intercepting the enrollment flow can deterministically crash agents, resulting in denial of service. This issue is fixed in version 4.14.7.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
growing open-source XDR/SIEM with significant enterprise and MSSP adoption
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

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.1%
Patch available No
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

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*

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