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

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H`
- Known to be exploited: yes. In CISA's catalogue since 2025-06-10. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Likelihood of exploitation in the next 30 days (EPSS): 45.5%, higher than 99% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-02-10T19:08:09.058Z
- Modified: 2026-06-17T08:57:53.677Z
- Also known as: GHSA-hcrc-79hj-m3qh, GO-2025-3459
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation active, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- wazuh wazuh: >= 4.4.0, < 4.9.1; from 4.4.0 before 4.9.1
- github.com/wazuh/wazuh (Go): from 4.4.0 before 4.9.1; from 4.4.0+incompatible before 4.9.1+incompatible
- Wazuh Wazuh Server: no versions given

## Every score

- GitHub_M: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H/E:H`

## References

- <https://github.com/wazuh/wazuh/security/advisories/GHSA-hcrc-79hj-m3qh> (exploit, kev, vendor-advisory, web)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24016> (government-resource, us-government-resource, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-24016> (advisory, kev)
- <https://github.com/wazuh/wazuh> (package)
- <https://wazuh.com/blog/addressing-the-cve-2025-24016-vulnerability/> (kev)

## Sources

- CVE List: [CVE-2025-24016](https://www.cve.org/CVERecord?id=CVE-2025-24016), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-hcrc-79hj-m3qh](https://github.com/advisories/GHSA-hcrc-79hj-m3qh), CC-BY-4.0, modified 2025-10-22
- Go Vulnerability Database: [GO-2025-3459](https://pkg.go.dev/vuln/GO-2025-3459), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-24016](https://nvd.nist.gov/vuln/detail/CVE-2025-24016), Public domain, modified 2026-06-17
- CISA KEV: [CVE-2025-24016](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-24016), CC0-1.0, modified 2025-06-10

---

Page: https://cve.day/CVE-2025-24016 · Whole record: https://cve.day/CVE-2025-24016.json · Rebuilt by cve.day 2026-11-25T22:58:53.931Z
