CVE-2025-24016
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.
do firstApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Can a WAF block it? Partly. Cloudflare publishes WAF a rule written for this CVE. Such rules block the known exploit requests and buy time, but attackers can change the request to get past them, so they do not replace the patch.
Cloudflare · 1 rule (Block) · since 11 Aug 2025
- Wazuh Server - Remote Code Execution - CVE:CVE-2025-24016 · Cloudflare Managed Ruleset
Also consider: patch · enable the vendor rule in block mode · allow-list classes
Based on WAF vendor rules published for this CVE. We check Cloudflare, AWS, Google Cloud Armor and Azure; for Akamai, Imperva, Fastly, F5, ask your vendor.
Is CVE-2025-24016 being exploited?
Yes. CVE-2025-24016 appears in CISA's Known Exploited Vulnerabilities catalog, which means exploitation in the wild has been confirmed and reported. Treat it as active rather than theoretical, and patch it ahead of higher-scoring vulnerabilities that carry no exploitation evidence.
How severe is CVE-2025-24016?
CVE-2025-24016 is rated Critical with a CVSS score of 9.9. Severity describes how bad exploitation would be, not how likely it is: pair it with exploitation evidence before deciding what to patch first.
Is there a patch for CVE-2025-24016?
Yes. A fix has been recorded for CVE-2025-24016. The vendor advisory is the authority on the exact fixed version — apply it from there rather than from a summary.
What does CVE-2025-24016 affect?
CVE-2025-24016 affects wazuh:wazuh. Confirm the exact affected versions against the vendor advisory before deciding you are exposed.
Exploitation status reflects CISA's KEV catalog as we last synced it. Check the catalog directly.
- affected>= 4.4.0 and < 4.9.1
As published in the CVE Program record. A version outside these ranges is not a statement that it is unaffected — vendors sometimes understate a range, and distribution-backported builds carry upstream numbers that do not reflect what was patched into them.
public exploits
Public exploit code: 1 Metasploit module · 8 GitHub proofs of concept · 1 Nuclei template
- exploit/linux/http/wazuh_auth_rce_cve_2025_24016 · exploit · excellent
- Wazuh - Unsafe Deserialization Remote Code Execution · detection template · critical
- 0xjessie21/CVE-2025-24016 · 43 ★
- guinea-offensive-security/Wazuh-RCE · 8 ★
- MuhammadWaseem29/CVE-2025-24016 · 6 ★
- huseyinstif/CVE-2025-24016-Nuclei-Template · 4 ★
Listed so you can judge urgency, not as a recommendation to run anything. GitHub “proofs of concept” are unvetted: some are fake or carry malware. Exploit-DB marks the entries its staff verified.
cisa ssvc
- exploitation
- active
- automatable
- no
- technical impact
- total
Assessed by CISA 20 Aug 2025 (SSVC 2.0.3).
timeline
- 10 Feb 2025Published
- 13 Feb 2025First public exploit or proof of concept · 2 days later
- 10 Jun 2025Added to CISA KEV (exploited in the wild) · 117 days (about 4 months) later
- 1 Jul 2025CISA remediation due date (US federal agencies) · 21 days later
- 20 Aug 2025CISA SSVC assessment: exploitation active · 50 days later
- 26 Feb 2026CVE record last updated · 191 days (about 6 months) later
- 2 Nov 2026Analysed by vulneraibility.com · 249 days (about 8 months) later
also known as
- Linkgithub.com /wazuh/wazuh/security/advisories/GHSA-hcrc-79hj-m3qh
- Linkcisa.gov /known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24016
sources
- CVE List (CVE.org): description, affected versions, references; CVE Terms of Use
- NVD: CVSS and CPE data
- CISA KEV catalog: exploitation, date added, due date
- CISA Vulnrichment (ADP): SSVC decision points
- FIRST EPSS: exploit probability and percentile
- Metasploit Framework: exploit and scanner modules
- Nuclei templates: detection templates
- PoC-in-GitHub: GitHub repositories that claim a proof of concept
- OSV: advisory aliases and downstream package versions
- Summary, impact and triage tags: written by our AI analysis pipeline from the sources above. Check them against the sources.