CVE-2025-24016

CVE-2025-24016 is a critical-severity vulnerability in Wazuh with a CVSS 3.x base score of 9.9. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2025-06-10). The underlying weakness is classified as CWE-502.

Key facts

Description

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.

Frequently asked questions

What is 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.
How severe is CVE-2025-24016?
CVE-2025-24016 has a CVSS 3.x base score of 9.9, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity high, and availability high.
Is CVE-2025-24016 being actively exploited?
Yes. CVE-2025-24016 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2025-06-10, which means active exploitation has been confirmed. It should be prioritised for remediation.
What products are affected by CVE-2025-24016?
CVE-2025-24016 affects Wazuh. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-24016?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
Does CVE-2025-24016 have an EU (EUVD) identifier?
Yes. CVE-2025-24016 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-3595. It is also flagged as exploited in the EUVD (since 2025-06-10).
When was CVE-2025-24016 published?
CVE-2025-24016 was published on 2025-02-10 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Wazuh

All CVEs affecting Wazuh →

Other CWE-502 (Deserialization of Untrusted Data) vulnerabilities

Browse all CWE-502 (Deserialization of Untrusted Data) vulnerabilities →