Live threats

All CVEs / Wazuh

CVE-2025-24016Wazuh Server

Remote Code Execution via Unsafe Deserialization in Wazuh Server

Critical 9.9 KEV

Priority
59
CVSS 3.1
9.9
EPSS
—
Auth required
Yes
In KEV since
Jun 10, 2025
CISA deadline
Jul 1, 2025
Ransomware use
Unknown
Published
Feb 10, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H

What happens

Wazuh Server versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in DistributedAPI parameters that allows remote code execution. An attacker with API access (compromised dashboard, Wazuh cluster servers, or compromised agents in certain configurations) can inject arbitrary Python code. CISA confirmed this vulnerability is actively exploited.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

Wazuh contains a deserialization of untrusted data vulnerability that allows for remote code execution on Wazuh servers.

Action required by CISA: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 4.9.1

Update Wazuh Server to version 4.9.1 or later. Restrict API access to trusted users and systems only.

Vendor advisory · github.com ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for Wazuh Server.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was July 1, 2025.
  3. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/wazuh/wazuh ≥ 4.4.0 < 4.9.1 4.9.1 go get github.com/wazuh/wazuh@v4.9.1
Go github.com/wazuh/wazuh ≥ 4.4.0+incompatible < 4.9.1+incompatible 4.9.1+incompatible go get github.com/wazuh/wazuh@v4.9.1+incompatible

Per OSV / GitHub Advisories (GHSA-hcrc-79hj-m3qh, GO-2025-3459). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
wazuhwazuh≥ 4.4.0 < 4.9.1

Official sources

References

Links published by the sources. Open them with care.