# CVE-2025-24016: Remote code execution in Wazuh server

> CVE-2025-24016: Remote code execution in Wazuh server. CVSS 9.9 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2025-24016
Last updated: 2026-06-17T08:57:53Z

- Published: 2025-02-10 19:08 UTC · Updated: 2026-06-17 08:57 UTC · Assigner: GitHub\_M
- CVSS: 9.9 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H
- EPSS: 93.8%, 100th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2025-06-10, federal due date 2025-07-01, ransomware use: Unknown
- CWE: CWE-502

## 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.

## CISA 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.

## Affected vendors and products

- wazuh: wazuh

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-24016)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-24016)
- [https://github.com/wazuh/wazuh/security/advisories/GHSA-hcrc-79hj-m3qh](https://github.com/wazuh/wazuh/security/advisories/GHSA-hcrc-79hj-m3qh)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-24016 · Markdown: https://rewindex.com/cve/CVE-2025-24016.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-24016 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:10:48.102Z
