CVE-2025-24016: Wazuh Server Deserialization of Untrusted Data Vulnerability
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
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.
Description quoted from the CVE record (assigned by GitHub_M, published 2025-02-10).
Weakness: CWE-502: Deserialization of Untrusted Data
How it can be exploited
Exploitable over the network with low attack complexity needing low privileges and no user interaction. Impact: confidentiality low, integrity high, availability high. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H
CISA assessment (SSVC): CISA assesses exploitation as active. Automatable: no. Technical impact: total.
- On CISA KEV since
- 2025-06-10
- US federal deadline
- 2025-07-01
- Ransomware use
- Not known
Public exploit evidence (Exploit Observer)
Also known as: BDU:2025-01366, CNNVD-202502-781, EUVD-2025-3595, GHSA-hcrc-79hj-m3qh, SNYK-UNMANAGED-WAZUHWAZUH-10292124
VEDAS cluster: VEDAS:COVERTGALE
Exploit Observer links 13 pieces of public exploit code or detection modules that name this CVE or one of its aliases.
Exploit code and modules (13)
Code that names this CVE. A repository can be a working exploit, a scanner, a fake or malware; read it before running anything.
- Metasploit module: https://www.rapid7.com/db/modules/exploit/linux/http/wazuh_auth_rce_cve_2025_24016/
- Nuclei template: https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/main/http/cves/2025/CVE-2025-24016.yaml
- Code repository: https://github.com/0xjessie21/cve-2025-24016
- Code repository: https://github.com/b1ack4sh/blackash-cve-2025-24016
- Code repository: https://github.com/celsius026/poc_cve-2025-24016
- Code repository: https://github.com/cybersecplayground/cve-2025-24016-wazuh-remote-code-execution-rce-poc
- Code repository: https://github.com/glostarrx1/cve-2025-24016
- Code repository: https://github.com/huseyinstif/cve-2025-24016-nuclei-template
- Code repository: https://github.com/muhammadwaseem29/cve-2025-24016
- Code repository: https://raw.githubusercontent.com/ARPSyndicate/vedas-signatures/main/nuclei/2025/CVE-2025-24016.yaml
- Code repository: https://raw.githubusercontent.com/ARPSyndicate/vedas-signatures/main/nuclei/2025/CVE-2025-24016.yaml
- Code repository: https://raw.githubusercontent.com/ARPSyndicate/vedas-signatures/main/suricata/2025/CVE-2025-24016.rules
- and 1 more
Vulnerability databases and vendor advisories (10)
Catalogue entries, not exploit evidence.
- Vulnerability database or vendor advisory: https://access.redhat.com/security/cve/cve-2025-24016
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2025-3595
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-hcrc-79hj-m3qh
- Vulnerability database or vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-24016
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/GHSA-hcrc-79hj-m3qh
- Vulnerability database or vendor advisory: https://security.snyk.io/vuln/SNYK-UNMANAGED-WAZUHWAZUH-10292124
- Vulnerability database or vendor advisory: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24016
- Vulnerability database or vendor advisory: https://www.cnnvd.org.cn/home/globalSearch?keyword=CNNVD-202502-781
- Vulnerability database or vendor advisory: https://www.suse.com/security/cve/CVE-2025-24016
- Vulnerability database or vendor advisory: https://www.tenable.com/cve/CVE-2025-24016
330 more references returned by Exploit Observer did not name this CVE or an alias, so they are left out.
VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.
Live scores
- EPSS
- 0.938
very likely to be attacked soon - VEDAS
- 0.979
strong exploit evidence - On CISA KEV
- Yes, since 2025-06-10
Thin horizontal line: the “likely” (EPSS 0.10) or “strong” (VEDAS 0.90) threshold. Shaded “no data” areas are periods when cve-scores did not publish. The vertical line is the day CISA added it to its exploited list.
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| wazuh wazuh | version >= 4.4.0, < 4.9.1 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
Exploit Observer also maps it to: wazuh wazuh.
How to fix it
CISA 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.
Vendor guidance:
- https://wazuh.com/blog/addressing-the-cve-2025-24016-vulnerability/
- https://github.com/wazuh/wazuh/security/advisories/GHSA-hcrc-79hj-m3qh
- https://nvd.nist.gov/vuln/detail/CVE-2025-24016
How to detect it
Nuclei template (active check)
Wazuh - Insecure Deserialization
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.
Name and description quoted from the template, written by VEDAS.
The template sends 2 requests (GET /, POST /security/user/authenticate/run_as); it decides using status, word matchers. Severity in the template: critical. Marked as not yet verified against a live vulnerable target.
Run it against a host you own or are authorised to test:
nuclei -u https://your-host -t CVE-2025-24016.yamlShow the template (59 lines)
id: CVE-2025-24016
info:
name: Wazuh - Insecure Deserialization
author: vedas-arpsyndicate
severity: critical
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.
reference:
- https://www.exploit.observer/?keyword=CVE-2025-24016&match=exact
- https://subdomain.center/?engine=ammonites&keyword=wazuh&match=exact
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
cvss-score: 9.9
cve-id: CVE-2025-24016
cwe-id: CWE-502
metadata:
verified: false
tags: cve,cve2025,wazuh,deserialization,rce,authenticated,kev,vkev,vuln
flow: http(1) && http(2)
variables:
payload: '{"__unhandled_exc__":{"__class__": "NotARealClass", "__args__": []}}'
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
part: body
words:
- "NameError"
negative: true
internal: true
- raw:
- |
POST /security/user/authenticate/run_as HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
Authorization: Basic {{base64(username + ':' + password)}}
{{payload}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "NameError"
- type: status
status:
- 500
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2025-24016 Wazuh - Insecure Deserialization. Add them to your Suricata rule set and reload.
Show the rules
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2025-24016 Wazuh - Insecure Deserialization"; flow:established,to_server; http.uri; content:"/security/user/authenticate/run_as"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2025-24016; reference:url,https://www.exploit.observer/?keyword=CVE-2025-24016&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=wazuh&match=exact; sid:1011485; rev:1;)
CVE-2025-24016.rules on GitHub
References
Government sources
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24016 (government-resource)
Other references
- https://github.com/wazuh/wazuh/security/advisories/GHSA-hcrc-79hj-m3qh (x_refsource_CONFIRM)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, CISA KEV, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.