Known exploited vulnerability

CVE-2025-24016

criticalCVSS 3.1 9.9In CISA KEVEPSS 94%Published · wazuh

The short answer

CVE-2025-24016 affects wazuh wazuh and is rated critical (CVSS 9.9). CISA added it to the Known Exploited Vulnerabilities catalog on 2025-06-10: attackers are using it, so patch it first. Fixed versions are published for github.com/wazuh/wazuh (4.9.1).

What it is

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.

Weakness: CWE-502.

Severity

9.9 critical

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H

Exploited (CISA KEV)

Yes, since Jun 10, 2025

Federal due date Jul 1, 2025

EPSS, next 30 days

94%

Higher than 100% of scored CVEs

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality impact
Low
Integrity impact
High
Availability impact
High

What CISA says to do

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

Affected packages and fixed versions

PackageEcosystemFixed inAdvisory
github.com/wazuh/wazuhGo4.9.1GHSA-hcrc-79hj-m3qh

Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.

Affected products

wazuh. NVD's record lists the exact affected versions.

References

Questions

Is CVE-2025-24016 being exploited?

Yes. CISA added CVE-2025-24016 to its Known Exploited Vulnerabilities catalog on 2025-06-10, with a federal remediation due date of 2025-07-01.

How do I fix CVE-2025-24016?

Upgrade to a fixed version: github.com/wazuh/wazuh (Go) 4.9.1. CISA's required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.

Related

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.