CVE-2025-24016: Unsafe Deserialization RCE in Wazuh DistributedAPI
- Vendor
- Wazuh
CVE-2025-24016 is an unsafe deserialization vulnerability in the Wazuh server manager package affecting versions 4.4.0 through 4.9.0. DistributedAPI (DAPI) parameters are serialized as JSON and deserialized by as_wazuh_object. An attacker who injects an unsanitized dictionary into a DAPI request or response can forge an unhandled_exc object that causes arbitrary Python code evaluation on the server. Attack paths include Wazuh API access through a compromised dashboard or cluster server and, in certain configurations, a compromised agent. Wazuh 4.9.1 fixes the vulnerability.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation enables arbitrary Python code execution on an affected Wazuh server, threatening server integrity and availability. Exploitation attempts have been observed delivering Mirai-family malware, including LZRD and Resbot, for botnet operations and DDoS attacks. The documented Akamai observations originated from honeypots rather than confirmed compromised production Wazuh endpoints.
Mitigation
If you can’t patch tonight, do this now.
Prevent direct internet exposure of the Wazuh server API, replace default credentials, and follow Wazuh system-hardening guidance. Increase monitoring for suspicious API requests and server activity, using available Snort and YARA detection rules for associated exploitation and malware.
Remediation
Patch, then assume compromise.
Upgrade affected Wazuh deployments to version 4.9.1 or later. Prioritize deployment of the update after appropriate testing. Patching does not remove malware or otherwise remediate an earlier compromise; investigate suspicious activity and address any identified compromise separately.
Exploits
6 exploits validated by Mallory's analysis. Hidden: 5 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-24016 exploited in the wild?
- Yes. As of Oct 11, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jun 10, 2025.
- Is there a public exploit for CVE-2025-24016?
- Yes. Mallory tracks 6 public exploits or proofs of concept for CVE-2025-24016, the earliest disclosed Feb 10, 2025.
- Is there a patch for CVE-2025-24016?
- Upgrade affected Wazuh deployments to version 4.9.1 or later. Prioritize deployment of the update after appropriate testing.
- What products are affected by CVE-2025-24016?
- Wazuh.
- How severe is CVE-2025-24016?
- CVE-2025-24016 has a CVSS v3.1 score of 9.9 (Critical) and an EPSS score of 95.2% (100th percentile) as of Oct 11, 2026.
Recent activity
49 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.