CVE-2025-24016
Remote code execution in Wazuh server
Also known as GHSA-hcrc-79hj-m3qh, GO-2025-3459
Mitigation
- Upgrade github.com/wazuh/wazuh to one of 4.9.1, 4.9.1+incompatible (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/wazuh/wazuh (>= 4.4.0, < 4.9.1)
- Anyone running wazuh >= 4.4.0, < 4.9.1
Vulnerability facts
- Affected
- github.com/wazuh/wazuh >= 4.4.0, < 4.9.1
- Fixed in
- 4.9.1, 4.9.1+incompatible
- Exploited in the wild
- Yes: in CISA KEV since 2025-06-10; federal due date 2025-07-01
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 9.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: High
- Availability impact: High
- EPSS
- 45.51% chance of exploitation in 30 days (percentile 99, 2026-11-26)
- CWE
- CWE-502
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/wazuh/wazuh | >= 4.4.0, < 4.9.1 | 4.9.1, 4.9.1+incompatible | osv |
| wazuh | >= 4.4.0, < 4.9.1 | — | cvelist |
Timeline
- 2025-02-10 Published
- 2025-06-10 Added to CISA KEV (exploited in the wild)
- 2025-07-01 CISA remediation due date for US federal agencies
- 2026-06-17 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-24016. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-24016.md Affected: github.com/wazuh/wazuh >= 4.4.0, < 4.9.1 Fixed in: 4.9.1, 4.9.1+incompatible Steps: 1. Search this machine and project for github.com/wazuh/wazuh (Go), wazuh: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-24016 being exploited?
Yes. CISA lists CVE-2025-24016 in its Known Exploited Vulnerabilities catalog since 2025-06-10, which means attacks have been seen. No public exploit code is known. EPSS estimates a 45.51% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-24016?
Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2025-24016?
github.com/wazuh/wazuh >= 4.4.0, < 4.9.1.
Is there a fix for CVE-2025-24016?
Yes. Fixed in 4.9.1, 4.9.1+incompatible. Upgrade github.com/wazuh/wazuh to one of 4.9.1, 4.9.1+incompatible (or later in the same release line).
How do I check if I'm affected by CVE-2025-24016?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.