9.9
CRITICAL
CVE-2025-24016
Wazuh DistributedAPI Remote Code Execution Vulnerability
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.

INFO

Published Date :

Feb. 10, 2025, 8:15 p.m.

Last Modified :

Feb. 10, 2025, 8:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

3.1
Public PoC/Exploit Available at Github

CVE-2025-24016 has a 9 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2025-24016 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Wazuh wazuh
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-24016.

URL Resource
https://github.com/wazuh/wazuh/security/advisories/GHSA-hcrc-79hj-m3qh

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A critical RCE vulnerability has been identified in the Wazuh server due to unsafe deserialization in the wazuh-manager package. This bug affects Wazuh versions ≥ 4.4.0 and has been patched in version 4.9.1.

Python

Updated: 10 hours, 8 minutes ago
0 stars 0 fork 0 watcher
Born at : April 21, 2025, 7:13 p.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 6 days, 17 hours ago
0 stars 0 fork 0 watcher
Born at : April 15, 2025, 2:24 p.m. This repo has been linked 1 different CVEs too.

Evil-Wazuh-Lab

Shell PowerShell

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : April 14, 2025, 3:44 a.m. This repo has been linked 1 different CVEs too.

CVE-2025-24016: RCE in Wazuh server! Remote Code Execution

cve-2025-24016 cve-2025-24016-poc cybersecurity remote-code-execution security-research wazuh

Updated: 2 weeks, 3 days ago
32 stars 5 fork 5 watcher
Born at : Feb. 20, 2025, 11:31 p.m. This repo has been linked 1 different CVEs too.

CVE-2025-24016: Wazuh Unsafe Deserialization Remote Code Execution (RCE)

wazuh remote-code-execution-in-wazuh-server deserialization deserialize exploit rce rce-exploit remote-code-execution cve-2025-24016 cve-2025-24016-poc

Python

Updated: 1 week, 2 days ago
36 stars 6 fork 6 watcher
Born at : Feb. 16, 2025, 11:01 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 months, 1 week ago
1 stars 1 fork 1 watcher
Born at : Feb. 13, 2025, 6:38 a.m. This repo has been linked 1 different CVEs too.

Latest CVEs with their Proof of Concept exploits.

Python

Updated: 1 day, 7 hours ago
35 stars 5 fork 5 watcher
Born at : May 24, 2024, 11:02 a.m. This repo has been linked 84 different CVEs too.

TOP All bugbounty pentesting CVE-2023- POC Exp RCE example payload Things

bugbounty cve exp exploit payload poc rce vulnerability

Shell

Updated: 1 day, 6 hours ago
694 stars 117 fork 117 watcher
Born at : March 19, 2022, 1:54 a.m. This repo has been linked 281 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 day, 13 hours ago
6851 stars 1157 fork 1157 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 841 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-24016 vulnerability anywhere in the article.

  • Cyber Security News
Critical Vulnerability in Wazuh Server Enables Remote Attackers to Execute Malicious Code

A critical remote code execution (RCE) vulnerability has been discovered in the Wazuh server, a popular open-source security platform used for threat detection and compliance monitoring. Identified as ... Read more

Published Date: Mar 03, 2025 (1 month, 2 weeks ago)

The following table lists the changes that have been made to the CVE-2025-24016 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Feb. 10, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H
    Added CWE CWE-502
    Added Reference https://github.com/wazuh/wazuh/security/advisories/GHSA-hcrc-79hj-m3qh
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-24016 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-24016 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Apr. 22, 2025 7:55