CVE-2026-54084: Wazuh agent NULL pointer dereference in enrollment

CVE-2026-54084 · Severity: medium · CVSS 5.3 · Published 2026-08-28

Wazuh is an open-source security platform used to monitor and protect endpoints and cloud workloads. An attacker operating a rogue enrollment manager or intercepting enrollment traffic can crash Wazuh agents by sending a malformed enrollment response, causing service disruption. This attack requires no credentials and succeeds even in default deployments where agent-to-manager encryption is not configured.

Technologies: Wazuh. Vendors: Wazuh.

Quick answers

Is CVE-2026-54084 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-54084 being exploited in the wild.
How severe is CVE-2026-54084?
Medium severity, with a CVSS score of 5.3, published 28 August 2026.
Which products and versions are affected?
Wazuh 4.0.0 through 4.14.6.
Is there a fix for CVE-2026-54084?
A patch was published on 2026-08-28: Version 4.14.7 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-54084 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-54084?
Check whether you run Wazuh at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a NULL pointer dereference in the enrollment key validation logic (w_enrollment_process_agent_key in src/shared/enrollment_op.c). When the enrollment manager response contains fewer than four space-separated fields, the OS_StrBreak() function leaves trailing array entries as NULL, but the downstream validator OS_IsValidName() calls strlen() on its argument without checking for NULL. An attacker can send a malformed response like "OSSEC K:'1'" that passes the first validation (ID check) but crashes when the second validator attempts to validate a NULL pointer. The vulnerability requires network access to the agent's enrollment flow and affects versions 4.0.0 through 4.14.6; a fix was released in version 4.14.7 that adds NULL field validation before calling validators.

Affected products

  • Wazuh Wazuh 4.0.0 through 4.14.6

Timeline

  • 2026-08-28: disclosed
  • 2026-08-28: patched: Version 4.14.7

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.