CVE-2026-30893

9.0

Wazuh · Wazuh

A path traversal vulnerability in Wazuh's cluster synchronization routine allows authenticated peers to write arbitrary files and potentially achieve remote code execution.

Executive summary

An authenticated path traversal vulnerability in Wazuh allows cluster peers to perform arbitrary file writes, potentially leading to full system-level compromise.

Vulnerability

Wazuh cluster nodes sync state by shipping compressed archives between peers. The extraction routine decompress_files() fails to confirm that each archive member stays inside the intended directory (CWE-22 path traversal, plus CWE-73 external control of a file path). An authenticated cluster peer crafts an archive with ../ entries so the receiving node writes attacker-controlled files outside the extraction directory, then escalates to code execution by overwriting a Python module that a Wazuh component imports. The CVSS vector (AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H) is notable for S:C, where the scope change reflects that the vulnerable component on one node executes code on other cluster nodes. Default cluster port is 1516/tcp.

Business impact

Rated CVSS 9.0. The victim is the security-monitoring platform itself: an attacker who reaches the cluster plane (a compromised worker node, a leaked cluster key, or a rogue node) pivots to the manager tier and the rest of the fleet. That lets them disable rules and decoders, suppress or forge alerts, and delete audit trails, blinding detection across the entire monitored estate, not just the Wazuh hosts. Where wazuh-clusterd runs as root, it is full host compromise and a pivot point into the management network.

Remediation

Immediate Action: Upgrade all Wazuh nodes to version 4.14.4 or later immediately.

Proactive Monitoring: Monitor cluster communication logs for unexpected file write operations or synchronization anomalies.

Compensating Controls: Isolate the cluster communication network and ensure that only authorized, trusted nodes can participate in the synchronization process.

Exploitation status

Public Exploit Available: Yes

Analyst recommendation

The availability of a proof-of-concept makes this a high-priority remediation task. Organizations must apply the provided patch to all Wazuh components to prevent cluster-wide compromise.

More Wazuh CVEs