Unsafe Deserialization in Wazuh

Patch nowData or code tampering over the network by a logged-in user.
9.9CRITICAL

CVE-2025-24016

Key Information:

Vendor

Wazuh

Status
Wazuh
CVE ID
CVE ID:
CVE-2025-24016
Vendor
CVE Published:
10 February 2025

Timeline

Exploit known 6 days after it was published

  • 🦅

    CISA Reported

  • 💰

    Used in Ransomware

  • 📈

    Vulnerability started trending

  • 📰

    First article discovered by SonicWall

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

📈 Trended📈 Score: 1,960💰 Ransomware👾 Exploit Exists🟡 Public PoC🟣 EPSS 95%🦅 CISA Reported📰 News Worthy

How risky is it?

  • Partly: Works over the network, but needs a login
  • Yes: Public exploit code (3 proof-of-concepts)
  • Yes: Attacked in the wild (on CISA's KEV list)
  • Yes: Used by ransomware

Our verdict

Patch now

Attackers are using it. Patch or mitigate today.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Follow 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.

3Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Wazuh. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

4Look for signs of compromise

It is being exploited in the wild, so check logs on exposed Wazuh systems for unusual requests or new processes from before you patched. The 3 public proof-of-concepts show what an attack looks like.

5Why it's rated "Patch now"
  • CISA lists it as a Known Exploited Vulnerability, so it is being attacked in the wild.
  • Ransomware groups use it.
  • Exploit code is public, so attacks are easy to copy.
  • EPSS gives it a 95.4% chance of exploitation in the next 30 days.
  • Its CVSS severity is critical (9.9).

What is CVE-2025-24016?

CVE-2025-24016 is a remote code execution vulnerability in Wazuh, an open-source platform for threat prevention, detection, and response. The flaw arises from unsafe deserialization of data in the DistributedAPI, where parameters are serialized as JSON and deserialized using as_wazuh_object. An attacker with API access can inject an unsanitized dictionary into DAPI requests, allowing them to evaluate arbitrary Python code by triggering an unhandled exception. This vulnerability affects Wazuh versions from 4.4.0 to 4.9.1, with version 4.9.1 containing a fix.

Potential Impact of CVE-2025-24016

  1. Remote Code Execution: An attacker can execute arbitrary code on Wazuh servers, potentially leading to full system compromise.

  2. Exploitation by Ransomware: The vulnerability has been used by ransomware groups to target unpatched Wazuh servers, increasing the risk of data loss and operational disruption.

CISA has reported CVE-2025-24016

CISA provides regional cyber and physical services to support security and resilience across the United States. CISA monitor the most dangerous vulnerabilities and have identified CVE-2025-24016 as being exploited . Our sources show ransomware groups using it, even though CISA's catalog does not flag ransomware use yet.

The CISA's recommendation is: 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 Version(s)

wazuh >= 4.4.0, < 4.9.1

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

News Articles

Week in review: Microsoft fixes exploited zero-day, Mirai botnets target unpatched Wazuh servers - Help Net Security

Here’s an overview of some of last week’s most interesting news, articles, interviews and videos: Microsoft fixes zero-day exploited for cyber espionage

CISA Adds Two Known Exploited Vulnerabilities to Catalog | CISA

CISA has added two new vulnerabilities to its KEV Catalog, based on evidence of active exploitation

Mirai Botnets Exploit Flaw in Wazuh Security Platform

The two campaigns are good examples of the ever-shrinking time-to-exploit timelines that botnet operators have adopted for newly published CVEs.

References

Remote Code Execution in Wazuh due to Untrusted Data Deserialization

CVE-2026-25769
WazuhWazuh😄👾9.1CRITICAL
View more Wazuh vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

EPSS Score

95% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
9.9
Severity:
CRITICAL
Confidentiality:
Low
Integrity:
High
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed
.