CVE-2025-24016
Remote code execution in Wazuh server
- Published
- Feb 10, 2025
- Updated
- Feb 26, 2026
- Assigning CNA
- GitHub_M
- Evidence observed
- Jun 10, 2025
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:HHigh · next 30 days
- Percentile
- 99.8%
- Model date
- Oct 15, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
CISA Known Exploited
This CVE appears in the CISA Known Exploited Vulnerabilities catalog.
Summary
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.
Sources
modules/exploits/linux/http/wazuh_auth_rce_cve_2025_24016.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux,Unix($.exploit_linux/http/wazuh_auth_rce_cve_2025_24016.platform)
- verification: check_declared($.exploit_linux/http/wazuh_auth_rce_cve_2025_24016.check)
http/cves/2025/CVE-2025-24016.yaml
Nuclei TemplatesDeclared conditions
- network: http($.protocol_keys)
- verification: status,word($.matchers[*].type)
- CVE-2025-24016Exploit
Standalone CLI exploit for Wazuh's unsafe deserialization vulnerability, allowing remote code execution by injecting crafted DAPI dictionaries to obtain a reverse shell.
CVE-2025-24016: RCE in Wazuh server! Remote Code Execution
- CVE-2025-24016-Nuclei-TemplateDetection
Nuclei template to detect CVE-2025-24016 unsafe deserialization RCE in Wazuh servers via a crafted JSON payload that triggers a NameError.
CVE-2025-24016: RCE in Wazuh server! Remote Code Execution
- CVE-2025-24016Detection
Detection for CVE-2025-24016 - Deserialization of Untrusted Data Vulnerability in the Wazuh software
Proof-of-concept exploit for CVE-2025-24016, demonstrating a specific vulnerability with a targeted exploitation script for security testing and validation.
A critical RCE vulnerability has been identified in the Wazuh server due to unsafe deserialization in the wazuh-manager package. This bug affects Wazuh versions ≥ 4.4.0 and has been patched in version 4.9.1.
- Wazuh-RCEExploit
Remote code execution exploit for Wazuh 8.4 (CVE-2025-24016) with Python-based proof-of-concept targeting vulnerable SIEM deployments.
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.