BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-24016 in Wazuh

Known-exploited (CISA) since 2025-06-10 Critical 9.9

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.9
EPSS45.5%
EPSS percentile99th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Wazuh Wazuh ≥ 4.4.0, < 4.9.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedYes added 2025-06-10
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-24016
BreachSpider IDBS-2025-GLOBAL-278203-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H
Published2025-02-10
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-502: Deserialization of Untrusted Data

Software deserializes untrusted data without validation, allowing crafted objects to execute arbitrary code.

Related attack patterns (CAPEC)

CAPEC-586 Object Injection via CWE-502

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical remote code execution vulnerability exists in Wazuh versions 4.4.0 to 4.9.0 due to unsafe deserialization. This can allow attackers with API access to execute arbitrary code on Wazuh servers, potentially leading to full system compromise. Immediate action is required to mitigate this risk.

The vulnerability is triggered when an attacker injects an unsanitized dictionary into a DistributedAPI (DAPI) request/response, which is then deserialized using the `as_wazuh_object` function. This can lead to the evaluation of arbitrary Python code, resulting in remote code execution. The attack can be performed by anyone with API access, including compromised agents in certain configurations.

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for all API requests, especially those involving deserialization. Ensure that only authorized users have access to the Wazuh API.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2025-24016?

A critical remote code execution vulnerability exists in Wazuh versions 4.4.0 to 4.9.0 due to unsafe deserialization. This can allow attackers with API access to execute arbitrary code on Wazuh servers, potentially leading to full system compromise. Immediate action is required to mitigate this risk.

What is the CVSS score for CVE-2025-24016?

CVE-2025-24016 has CVSS 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H. EPSS: 45.5%.

Is CVE-2025-24016 actively exploited?

Yes. CVE-2025-24016 is in the CISA known-exploited catalog (added 2025-06-10). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2025-24016?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2025-24016?

CVE-2025-24016 affects Wazuh Wazuh.

What NERC-CIP standard applies to CVE-2025-24016?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to the control center's electronic security perimeter, potentially leading to the compromise of critical systems.

What IEC 62443 requirement maps to CVE-2025-24016?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability in the software that could be exploited to gain unauthorized access and control over the system, which is a critical security concern in ICS environments.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Wazuh","product":"Wazuh","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.