Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain cluster key / control peer node
-
DeliveryConnect as cluster sync peer
-
ExploitSend staged file with mismatched cluster_item_key
-
ExecutionWorker writes file to executable path under /var/ossec
-
PersistFile executed as root
-
ImpactFull root compromise of worker node
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold the Wazuh cluster key and act as a synchronizing cluster peer (master/worker relationship), and the target must be a multi-node Wazuh cluster running 4.4.0-4.14.6 with worker nodes; the flaw lives specifically in the non-merged branch of update_master_files_in_worker() (and its delete branch). The limiting factors are significant: this is not exploitable against a default single-node install, it demands possession of the cluster secret (reflected as PR:H), and it targets the worker node's file-sync path rather than any externally exposed service. Given valid cluster-key access, no additional user interaction is required (UI:N) and complexity is low (AC:L), so an attacker meeting the cluster-membership prerequisite can reliably write to attacker-chosen paths under /var/ossec. |
| Impact | The signals are largely consistent and point to a genuine high-severity issue for clustered Wazuh deployments. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C, C:H/I:H/A:H, score 9.1) reflects network-reachable, low-complexity exploitation that yields root code execution with scope change, but it is gated by PR:H - the attacker must already hold the cluster key or control a peer node, which meaningfully narrows the realistic attacker population to insiders, a compromised worker/master, or an attacker who has stolen the cluster secret. No EPSS score, KEV listing, or public POC was provided, so there is no evidence of active or opportunistic exploitation; the practical risk is scoped to organizations running multi-node Wazuh clusters where the cluster key could be exposed. Because successful exploitation grants root RCE across nodes, any operator running an affected clustered deployment should treat patching to 4.14.7 as urgent even though single-node deployments and installations with a well-protected cluster key are at substantially lower immediate risk. The fact that this is an incomplete fix for CVE-2026-30893 slightly raises concern that the code path is under scrutiny and could attract researcher attention. |
| Exploit ScenarioDerived | An attacker who has obtained the Wazuh cluster key - for example by compromising one node or exfiltrating the shared secret - connects as a cluster peer and, during file synchronization, sends a staged file whose cluster_item_key claims a benign directory while the actual path points to an executable location such as /var/ossec/active-response/bin. The worker's non-merged branch writes the malicious script there without validating the declared directory, and it is later executed as root. No POC was provided, but the low attack complexity (AC:L) means exploitation is straightforward once cluster-key access is held. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 28, 2026
Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running versions 4.4.0 through 4.14.6. A peer that possesses the shared cluster key can abuse the file-synchronization routine to drop, overwrite, or delete files at attacker-chosen paths under /var/ossec - including scripts executed as root - because the worker's non-merged sync branch never verifies that a synced file matches the directory declared by its cluster_item_key. This is an incomplete fix for CVE-2026-30893, and no public exploit has been identified at time of analysis; it is fixed in 4.14.7.
RemediationAI
Vendor-released patch: upgrade to Wazuh 4.14.7, which adds the missing cluster_item_key directory-confinement checks in overwrite_or_create_files() for both the write/overwrite and delete paths. Apply the upgrade to all cluster nodes (master and workers) per the advisory GHSA-3jff-488g-335f. Where immediate patching is not possible, the primary compensating controls are protecting the cluster key and the cluster communication path: rotate and tightly restrict access to the cluster key (authd/cluster secret), ensure it is not exposed to untrusted parties, and network-restrict the cluster port (default 1516/tcp) so only trusted master/worker nodes can connect - accepting that overly tight restrictions can break legitimate node synchronization. Additionally, monitor /var/ossec on worker nodes for unexpected file creation or modification in executable locations (e.g., active-response/bin). These controls reduce exposure but do not close the flaw; upgrading is the definitive fix.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Wazuh is an open-source unified XDR/SIEM platform whose manager can run in a multi-node cluster where a master node pushes configuration and shared files to worker nodes over an authenticated channel keyed by a shared cluster key. During synchronization, update_master_files_in_worker() calls overwrite_or_create_files() to place staged files. The vulnerable non-merged branch derives each destination only via safe_join(), which confines paths to /var/ossec but does not confirm the file lands in the directory declared by its cluster_item_key metadata. This is a classic CWE-22 path-confinement gap: the equivalent destination check enforced on the primary node and on the worker's merged branch was simply not applied here, and the delete branch shares the same flaw. The commit (f7f7c4d) adds an explicit check rejecting unknown cluster_item_key values and verifying via os.path.commonpath that the resolved path stays within safe_join(WAZUH_PATH, item_key).
Know when Wazuh gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Requires possession of the cluster key so PR:H; network-delivered low-complexity file write yields root RCE with scope change and full C/I/A impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
Wazuh is an open-source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads. In versions 4.4.0 through 4.14.6, a party holding the cluster key can write, overwrite, or delete arbitrary files under /var/ossec on worker nodes, leading to remote code execution as root. During cluster file synchronization, the non-merged branch of update_master_files_in_worker() moves each staged file to a destination derived only from safe_join(), which confines the path to /var/ossec but never verifies that the file lands in the directory declared by its cluster_item_key. Because the destination check present on the primary node and on the worker's merged branch was not applied, a peer can place files at attacker-chosen locations under /var/ossec, including paths that are executed as root, and the delete branch has the same gap. This is an incomplete fix for CVE-2026-30893, which addressed traversal outside /var/ossec but left this path able to redirect files anywhere within it. This issue is fixed in version 4.14.7.
Executive ViewAI
Wazuh worker nodes in clustered deployments (versions 4.4.0-4.14.6) are vulnerable to root-level remote code execution if an attacker obtains the cluster key, allowing them to inject arbitrary code into your organization's security monitoring infrastructure. This directly threatens the integrity of security telemetry, incident detection, and your ability to respond to other attacks.
Apply vendor patch: upgrade to Wazuh 4.14.7.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
In the wazuh-slack active response script in Wazuh 4.2.x before 4.2.5, untrusted user agents are passed to a curl comman
Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version
Arbitrary file read in Wazuh cluster deployments (4.0.0 through 4.14.5, and 5.0.0-beta1/beta2) lets a peer node that alr
A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi
Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,
Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele
The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa
Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr
Unauthenticated remote denial of service in the Wazuh cluster daemon (wazuh-clusterd) allows a network peer to exhaust p
Arbitrary file deletion on a Wazuh manager via the cluster synchronization protocol allows a cluster-authenticated attac
CVE-2024-1243 is an improper input validation vulnerability in Wazuh agent for Windows (versions prior to 4.8.0) that al
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB