Description
Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.0.0 until 4.14.6 and 5.0.0-beta2, AffectedItemsWazuhResult.merge() in framework/wazuh/core/results.py trusts the sort_casting field in a cluster worker's JSON response. During a distributed API merge, attacker-controlled type names are resolved through Python builtins without an allowlist. A compromised worker can set sort_casting to exec and place Python source in affected_items, causing the master to execute the payload as root when responses from multiple nodes are merged. This issue is fixed in versions 4.14.6 and 5.0.0-beta2.
Published: 2026-08-19
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Wazuh enables distributed threat detection through a cluster of nodes that collaboratively process data. Between versions 4.0.0 and 4.14.6, and during the beta release of 5.0.0, the function that merges data from worker nodes trusts a JSON field called sort_casting supplied by those workers. An attacker who can influence a worker node can set that field to the value exec and include arbitrary Python source code in the affected_items payload. The merge routine resolves the type name via Python builtins without whitelisting, so the master node executes the payload as root. This uncontrolled deserialization allows an attacker to run arbitrary code on the master, thereby fully compromising the system. The weakness is a classic instance of CWE‑502: Deserialization of Untrusted Data.

Affected Systems

The vulnerability affects the Wazuh open‑source platform, specifically versions 4.0.0 up through 4.14.6 and the beta release 5.0.0‑beta2. Any configuration that uses a cluster with multiple worker nodes and enables the distributed API will be susceptible if no mitigation is applied.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity. The EPSS score is currently not available, and the issue is not listed in the CISA KEV catalog, but the exploitation risk remains significant because the flaw allows code execution on the master node when a single worker can be compromised. The vector is likely to be a malicious or compromised worker node that sends a crafted JSON response; alternatively, an attacker could exploit a node that is remote in the cluster. The flaw is fixed in Wazuh 4.14.6 and 5.0.0‑beta2, but systems running older versions remain exposed.

Generated by OpenCVE AI on August 20, 2026 at 14:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Wazuh installation to version 4.14.6 or newer (including 5.0.0‑beta2).
  • If an upgrade is temporarily infeasible, isolate the master node from untrusted cluster workers or eliminate the use of untrusted nodes in the cluster configuration.
  • Audit cluster communication for unexpected sort_casting values and ensure only trusted nodes participate in the cluster.

Generated by OpenCVE AI on August 20, 2026 at 14:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Wazuh
Wazuh wazuh
Vendors & Products Wazuh
Wazuh wazuh

Wed, 19 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Description Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.0.0 until 4.14.6 and 5.0.0-beta2, AffectedItemsWazuhResult.merge() in framework/wazuh/core/results.py trusts the sort_casting field in a cluster worker's JSON response. During a distributed API merge, attacker-controlled type names are resolved through Python builtins without an allowlist. A compromised worker can set sort_casting to exec and place Python source in affected_items, causing the master to execute the payload as root when responses from multiple nodes are merged. This issue is fixed in versions 4.14.6 and 5.0.0-beta2.
Title Wazuh Cluster DAPI Protocol Deserialization of Untrusted Data Remote Code Execution Vulnerability
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T17:50:09.622Z

Reserved: 2026-05-07T21:50:33.546Z

Link: CVE-2026-44901

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-19T17:18:49.283

Modified: 2026-08-19T18:16:39.540

Link: CVE-2026-44901

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T14:15:05Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data