CVE-2026-28220: Wazuh cluster DAPI arbitrary callable deserialization and RBAC context injection allow a cluster peer to execute privileged functions on the master node
Wazuh is a free and open source platform used for threat prevention, detection, and response. Prior to version 4.14.5, issues in the Cluster Distributed API (DAPI) handling allow a cluster peer, or any actor able to authenticate to the cluster channel using the shared cluster key, to make the master node deserialize an attacker-controlled callable and execute it under an attacker-controlled RBAC context. The cluster code in framework/wazuh/core/cluster/common.py deserializes JSON with aswazuhobject(), which resolves any callable whose top-level package is wazuh or api (an overly broad allowlist controlled only by ALLOWEDCALLABLESPACKAGES), and DAPI requests handled in framework/wazuh/core/cluster/dapi/dapi.py accept a client-supplied rbacpermissions value that runlocal() applies as the global RBAC context, so supplying an rbacmode of black causes authorization checks for exposeresources-protected functions to pass without any legitimate permission assignment. Combined, these allow privileged administrative actions on the master node such as arbitrary file writes under WAZUHPATH, creation of new API users, and tampering with security.yaml, and can be chained into full manager compromise. This issue has been fixed in version 4.14.5.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Wazuhto a version that resolves this vulnerability.Fixed in 4.14.5 - Compensating control
Until upgraded to 4.14.5, restrict cluster-channel access so only trusted cluster peers/actors with the shared cluster key can authenticate, since authenticated access to the cluster channel can be used to inject attacker-controlled callables and RBAC context.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-28220?
CVE-2026-28220 has a high severity rating of 8.4.
What types of vulnerabilities are present in CVE-2026-28220?
CVE-2026-28220 involves arbitrary callable deserialization and RBAC context injection.
How does CVE-2026-28220 affect Wazuh clusters?
CVE-2026-28220 allows a cluster peer to execute privileged functions on the master node.
How do I fix CVE-2026-28220?
To resolve CVE-2026-28220, upgrade to Wazuh version 4.14.5 or later.
Who is affected by CVE-2026-28220?
Any Wazuh cluster that uses a shared cluster key is potentially vulnerable to CVE-2026-28220.