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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.9
- **CVSS:** 9.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H`
- **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
- **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
- **EPSS:** 45.51% (percentile 99, 2026-11-26)
- **CWE:** CWE-502
- **Aliases:** GHSA-hcrc-79hj-m3qh, GO-2025-3459
- **Published:** 2025-02-10T19:08:09.058Z
- **Modified:** 2026-06-17T08:57:53.677Z

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

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

- Go `github.com/wazuh/wazuh`: affected \>= 4.4.0, \< 4.9.1; fixed 4.9.1, 4.9.1+incompatible (osv)
- wazuh: \>= 4.4.0, \< 4.9.1 (cvelist)

## Mitigation

- Upgrade github.com/wazuh/wazuh to one of 4.9.1, 4.9.1+incompatible (or later in the same release line).

## 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 a coding agent:

```text
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.
```

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

## References

- vendor: <https://github.com/wazuh/wazuh/security/advisories/GHSA-hcrc-79hj-m3qh>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-24016>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24016>
- other: <https://github.com/wazuh/wazuh>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-24016>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-hcrc-79hj-m3qh> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-3459> (license: <https://creativecommons.org/licenses/by/4.0/>)
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2025-24016> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-24016>
