CVE-2026-28220 Deserialization in wazuh

High 8.4 Published Updated

A cluster peer can execute privileged functions on the master node via unsafe deserialization and RBAC context injection, leading to full manager compromise.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-28220?

CVE-2026-28220 is a high-severity unsafe deserialization vulnerability in Wazuh Wazuh, published on 20 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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 `as_wazuh_object()`, which resolves any callable whose top-level package is wazuh or api (an overly broad allowlist controlled only by `ALLOWED_CALLABLES_PACKAGES`), and DAPI requests handled in framework/wazuh/core/cluster/dapi/dapi.py accept a client-supplied rbac_permissions value that `run_local()` applies as the global RBAC context, so supplying an rbac_mode of black causes authorization checks for expose_resources-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 WAZUH_PATH, 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.

Weakness: CWE-502

Which versions are affected by CVE-2026-28220?

It affects 1 product.

Products include Wazuh Wazuh.

How do I fix CVE-2026-28220?

No fix has been published for CVE-2026-28220 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2026-28220 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28220 exists.

All Wazuh Wazuh vulnerabilities

Sources

Also known as GHSA-w2jj-pfq9-mh9p.

Is CVE-2026-28220 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free