Remote code execution in Wazuh server
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-502.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Active
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Wazuh | wazuh | 4.4.0 to before 4.9.1 | 4.9.1 | Patch available | CNA |
| — | github.com/wazuh/wazuh (Go) | 4.4.0 to before 4.9.1 | 4.9.1 | Patch available | GHSA-hcrc-79hj-m3qh |
- wazuh VendorWazuh Affected 4.4.0 to before 4.9.1 Fixed in 4.9.1 Patch available CNA
- github.com/wazuh/wazuh (Go) Vendor— Affected 4.4.0 to before 4.9.1 Fixed in 4.9.1 Patch available GHSA-hcrc-79hj-m3qh
Remediation
- Fix · CNA wazuh (wazuh) Fixed in 4.9.1
- Fix · GHSA-hcrc-79hj-m3qh github.com/wazuh/wazuh (Go) Fixed in 4.9.1 Advisory →
Timeline
- 2025-06-10 Added to CISA KEV
- 2026-10-02 Threatist record created from CVE-2025-24016
- 2026-10-03 Alias added: GHSA-hcrc-79hj-m3qh
References
More Wazuh vulnerabilities
- TI-2026-23722 Path traversal in wazuh CVSS 3.1CRITICAL 9.9
- TI-2024-01157 Remote code execution and local privilege escalation in Wazuh Windows agent via NetNTLMv2 hash theft CVSS 4.0CRITICAL 9.5
- TI-2026-22556 Wazuh: Pre-auth stack-based buffer overflow in wazuh-remoted print_hex_string() due to signed char promotion on x86_64 CVSS 3.1HIGH 8.2
- TI-2026-35598 Wazuh: cluster peer can read arbitrary master files and forge offline REST API… CVSS 3.1CRITICAL 9.1
- TI-2026-35467 Wazuh: merged-file header path traversal in cluster sync allows arbitrary file write under WAZUH_PATH in Wazuh manager CVSS 3.1CRITICAL 9.1
- TI-2026-22555 Deserialization of untrusted data in wazuh CVSS 3.1CRITICAL 9.1
Sources
- CVE-2025-24016 · CVE Program
- CVE-2025-24016 · NVD
- CISA Known Exploited Vulnerabilities
- FIRST EPSS
- GHSA-hcrc-79hj-m3qh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences