CVE-2025-24016: Remote code execution in Wazuh server

CVE-2025-24016 affects 22 listed versions of Wazuh in the Dawnsentry catalogue. It is known to be exploited in the wild.

9.9CVSS critical
In CISA's KEV catalogue since 2025-06-10exploitation
95%EPSS (next 30 days)
10 February 2025published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Wazuh

22 of 82 listed versions are affected. Fixed in 4.9.1. The newest release, 4.14.11, is not affected.

4.9.0 4.8.2 4.8.1 4.8.0 4.7.5 4.7.4 4.7.3 4.7.2 4.7.1 4.7.0 4.6.0 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0

What it is

Wazuh is a free and open source platform used for threat prevention, detection, and response. Starting in version 4.4.0 and prior to version 4.9.1, an unsafe deserialization vulnerability allows for remote code execution on Wazuh servers. DistributedAPI parameters are a serialized as JSON and deserialized using `as_wazuh_object` (in `framework/wazuh/core/cluster/common.py`). If an attacker manages to inject an unsanitized dictionary in DAPI request/response, they can forge an unhandled exception (`__unhandled_exc__`) to evaluate arbitrary python code. The vulnerability can be triggered by anybody with API access (compromised dashboard or Wazuh servers in the cluster) or, in certain configurations, even by a compromised agent. Version 4.9.1 contains a fix.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H (GitHub)

Published by GitHub on 10 February 2025. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2025-24016 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.