CVE-2025-24016
CRITICALRemote code execution in Wazuh server
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Blast Radius
github.com/wazuh/wazuhReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/wazuh/wazuh | ≥ 4.4.0&&< 4.9.1 | 4.9.1 |
Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
0xjessie21/CVE-2025-24016
CVE-2025-24016: Wazuh Unsafe Deserialization Remote Code Execution (RCE)
guinea-offensive-security/Wazuh-RCE
Wazuh 8.4 CVE-2025-24016
MuhammadWaseem29/CVE-2025-24016
CVE-2025-24016: RCE in Wazuh server! Remote Code Execution
huseyinstif/CVE-2025-24016-Nuclei-Template
Frequently Asked Questions
Is CVE-2025-24016 in your stack?
O3 detects CVE-2025-24016 across Go dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.