CVE-2026-54084: Wazuh agent enrollment NULL pointer dereference via malformed manager response

Published Aug 27, 2026
·
Updated

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  wenrollmentprocessagentkey()  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 OSStrBreak() leaves missing trailing entries as NULL and OSIsValidName() calls strlen() on its argument without a NULL check, a response such as  OSSEC K:'1'  reaches OSIsValidName(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.

Affected Software

1 affected component
Wazuh Wazuh Agent>=4.0.0<=4.14.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Wazuh agent to a version that resolves this vulnerability.

    Fixed in 4.14.7

Event History

Aug 27, 2026
CVE Published
via MITRE·11:12 PM
Data Sourced
via MITRE·11:12 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Wazuh Agent versions 4.0.0 through 4.14.6 are affected during agent enrollment. Exposure is greatest where enrollment is performed without a configured CA certificate, because the agent permits enrollment against an unverified manager.

2

What must an attacker be able to do to trigger the crash?

An attacker must operate a rogue enrollment manager or intercept the enrollment flow and return a malformed key response containing fewer than four space-separated fields. No agent privileges are required, but user interaction is required because the vulnerable path is reached during enrollment.

3

What is the impact of successful exploitation?

The malformed response causes the Wazuh agent process to terminate through a NULL pointer dereference. The resulting impact is denial of service for the enrolling agent; the provided information does not indicate confidentiality or integrity impact.

4

What should teams do if they cannot upgrade immediately?

Avoid enrollment against unverified managers by configuring a CA certificate, and ensure enrollment traffic cannot be redirected or intercepted by an attacker. The issue is fixed in Wazuh Agent version 4.14.7.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203