CVE-2025-24016
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.
Weakness
- CWE-502: Deserialization of Untrusted Data
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Wazuh Server Deserialization of Untrusted Data Vulnerability |
|---|---|
| Vendor / product | Wazuh / Wazuh Server |
| Date added | 2025-06-10 |
| Federal remediation due date | 2025-07-01 |
| Required action | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-08-20 |
Timeline
- 2025-02-10Published by the CNA19:08 UTC
- 2025-04-22GitHub advisory published (GHSA-hcrc-79hj-m3qh)71 days after publication
- 2025-06-10Added to the CISA KEV catalog120 days after publication
- 2025-08-20CISA SSVC decision recorded191 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2025-24016: Wazuh - Unsafe Deserialization Remote Code Execution
GitHub advisory GHSA-hcrc-79hj-m3qh, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/wazuh/wazuh | from 4.4.0 before 4.9.1 | 4.9.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| wazuh wazuh | from 4.4.0 before 4.9.1fixed in 4.9.1 | 4.9.1 |
References
- https://github.com/wazuh/wazuh/security/advisories/GHSA-hcrc-79hj-m3qh
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24016
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-24016'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-24016'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-24016'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-24016'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2025-24016'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).