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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| wazuh | wazuh | >= 4.4.0, < 4.9.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250312T181707-1.1 | openSUSE-SU-2025:14889-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Wazuh server remote code execution caused by an unsafe deserialization vulnerability.
exploit/linux/http/wazuh_auth_rce_cve_2025_24016
GitHub 8 repositories
-
0xjessie21/CVE-2025-24016 ★ 43 · Feb 16, 2025
CVE-2025-24016: Wazuh Unsafe Deserialization Remote Code Execution (RCE)
-
guinea-offensive-security/Wazuh-RCE ★ 8 · Jul 13, 2025
Wazuh 8.4 CVE-2025-24016
-
MuhammadWaseem29/CVE-2025-24016 ★ 6 · Feb 20, 2025
CVE-2025-24016: RCE in Wazuh server! Remote Code Execution
-
huseyinstif/CVE-2025-24016-Nuclei-Template ★ 4 · Feb 13, 2025
-
rxerium/CVE-2025-24016 ★ 2 · Jun 10, 2025
Detection for CVE-2025-24016 - Deserialization of Untrusted Data Vulnerability in the Wazuh software
-
cybersecplayground/CVE-2025-24016-Wazuh-Remote-Code-Execution-RCE-PoC ★ 2 · Apr 21, 2025
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 versio…
-
GloStarRx1/CVE-2025-24016 ★ 1 · Feb 21, 2025
CVE-2025-24016: RCE in Wazuh server! Remote Code Execution
-
celsius026/poc_CVE-2025-24016 ★ 0 · Apr 15, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Wazuh - Unsafe Deserialization Remote Code Execution http/cves/2025/CVE-2025-24016.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/wazuh/wazuh | >= 4.4.0, < 4.9.1 | 4.9.1 | GHSA-hcrc-79hj-m3qh |
| Go | github.com/wazuh/wazuh | >= 4.4.0+incompatible, < 4.9.1+incompatible | 4.9.1+incompatible | GO-2025-3459 |
Advisories 1
- openSUSE-SU-2025:14889-1 govulncheck-vulndb-0.0.20250312T181707-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026