Vulnerability Details CVE-2025-24016
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.923
EPSS Ranking 99.7%
CVSS Severity
CVSS v3 Score 9.9
Proposed Action
Wazuh contains a deserialization of untrusted data vulnerability that allows for remote code execution on Wazuh servers.
Ransomware Campaign
Unknown
Products affected by CVE-2025-24016
-
cpe:2.3:a:wazuh:wazuh:4.4.0
-
cpe:2.3:a:wazuh:wazuh:4.4.1
-
cpe:2.3:a:wazuh:wazuh:4.4.2
-
cpe:2.3:a:wazuh:wazuh:4.4.3
-
cpe:2.3:a:wazuh:wazuh:4.4.4
-
cpe:2.3:a:wazuh:wazuh:4.4.5
-
cpe:2.3:a:wazuh:wazuh:4.5.0
-
cpe:2.3:a:wazuh:wazuh:4.5.1
-
cpe:2.3:a:wazuh:wazuh:4.5.2
-
cpe:2.3:a:wazuh:wazuh:4.5.3
-
cpe:2.3:a:wazuh:wazuh:4.5.4
-
cpe:2.3:a:wazuh:wazuh:4.6.0
-
cpe:2.3:a:wazuh:wazuh:4.7.0
-
cpe:2.3:a:wazuh:wazuh:4.7.1
-
cpe:2.3:a:wazuh:wazuh:4.7.2
-
cpe:2.3:a:wazuh:wazuh:4.7.3
-
cpe:2.3:a:wazuh:wazuh:4.7.4
-
cpe:2.3:a:wazuh:wazuh:4.7.5
-
cpe:2.3:a:wazuh:wazuh:4.8.0
-
cpe:2.3:a:wazuh:wazuh:4.8.1
-
cpe:2.3:a:wazuh:wazuh:4.8.2
-
cpe:2.3:a:wazuh:wazuh:4.9.0