CVE-2025-24016Wazuh Wazuh Deserialization of Untrusted Data
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 9.9 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityLow
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Wazuh Wazuh >= 4.4.0 and < 4.9.1
- Wazuh Wazuh 4.9.1
What to do
Patch now. CISA lists this flaw as exploited in the wild and set a federal remediation deadline of Jul 1, 2025.
- Check whether you run Wazuh Wazuh and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
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.
CISA KEV Status
Listed in Known Exploited Vulnerabilities
Added: Jun 10, 2025
Remediation due: Jul 1, 2025 (deadline passed)
Remediation due: Jul 1, 2025 (deadline passed)
Timeline
- Feb 10, 2025Published
- Jun 10, 2025Added to CISA KEV catalog
- Jun 11, 2025Record last modified
- Jul 1, 2025KEV remediation due date
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Wazuh Wazuh CVEsYou are reading CVE-2025-24016. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
More Wazuh Wazuh CVEs
External References
Data last checked: Nov 16, 2026 00:32 UTC