Skip to content
CTI Academy Sponsor CTI Academy
CRITICAL · CVSS 9.9 CISA Known Exploited Vulnerability

CVE-2025-24016

Wazuh Server Deserialization of Untrusted Data Vulnerability

Wazuh Server

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
9.9
CRITICAL
EPSS
93.8%
30-day exploitation
Ransomware groups
0
recorded exploiting
Published
10 Feb 2025
CWE-502

Exploitation status

CISA Known Exploited Vulnerabilities

Listed by CISA on 10 June 2025. US federal agencies were required to remediate it by 1 July 2025.

EPSS — exploitation probability

FIRST puts the probability of exploitation activity in the next 30 days at 93.8%, which is higher than 99.8% of all scored vulnerabilities. EPSS is a forecast of activity, not a measure of severity, and it is rescored daily.

CVSS vector

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

Frequently asked questions

Is CVE-2025-24016 being exploited by ransomware groups?

No ransomware group in this database is currently recorded as exploiting CVE-2025-24016.

What does CVE-2025-24016 affect?

CVE-2025-24016 affects Wazuh Server. 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.

How severe is CVE-2025-24016?

CVE-2025-24016 is rated CRITICAL with a CVSS base score of 9.9. EPSS puts the probability of exploitation in the next 30 days at 93.8%, higher than 99.8% of all scored vulnerabilities. It is listed in the CISA Known Exploited Vulnerabilities catalog, with a federal remediation deadline of 1 July 2025.

How should organisations respond to CVE-2025-24016?

Apply the vendor patch for Wazuh Server as the first priority, and treat any internet-facing instance as the most urgent. Because this vulnerability is associated with ransomware activity, also review whether the affected systems were reachable before patching, rather than assuming that patching alone closes the incident.