Skip to content
RCE Advisory Advanced CVE-2026-28220

Wazuh Cluster DAPI Protocol Deserialization of Untrusted Data Remote Code Execution Vulnerability

The as_wazuh_object deserialiser in Wazuh fails to properly validate user-supplied data, so untrusted data can be deserialised. An attacker who can already run low-privileged code on a worker node could use this to execute code as root on the master node.

Maher Azzouzi Follow

Originally disclosed on Zero Day Initiative

Critical 9.9 View original

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Wazuh. An attacker must first obtain the ability to execute low-privileged code on a worker node in order to exploit this vulnerability.

Maher Azzouzi, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the as_wazuh_object deserialiser reconstructs objects from untrusted input without validating it, allowing attacker-controlled data to influence object creation and execution.

Impact

An attacker with low-privileged code execution on a worker node could execute code as root on the master node.

What the attacker needed

Low-privileged code on a worker node

The fix

Wazuh issued an update to correct the vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Deserialisation is when a program turns stored or sent data back into live objects. If it does this with data it does not trust, an attacker can craft that data so the program builds something harmful and runs their code. Here the attacker first needs a small foothold on a worker machine, then can reach the master machine with full system rights.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Maher Azzouzi

View all

6 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.