CVE-2025-24016

Known Exploited Public Exploit
Remote code execution in Wazuh server

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.

Category

9.9
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 73.67% Top 5%
KEV Since 
Vendor Advisory github.com
Affected: wazuh wazuh
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-24016?
CVE-2025-24016 has been scored as a critical severity vulnerability.
How to fix CVE-2025-24016?
To fix CVE-2025-24016, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-24016 being actively exploited in the wild?
It is confirmed that CVE-2025-24016 is actively exploited. Be extra cautious if you are using vulnerable components. According to its EPSS score, there is a ~74% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-24016?
CVE-2025-24016 affects wazuh wazuh.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.