Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain cluster Fernet key / compromise worker
-
DeliveryCraft merged archive with traversal in metadata or header
-
ExploitSend sync archive to master node
-
InstallMaster writes attacker file over /var/ossec/etc/ossec.conf
-
C2Inject root-executed command in config
-
ExecuteWazuh services reload
-
ImpactExecute code as root on manager
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 be a participating cluster peer that holds the shared cluster Fernet key used to authenticate/encrypt inter-node traffic - i.e. a compromised or malicious worker node, not an unauthenticated outsider. The concrete trigger is supplying attacker-controlled merge_type or name values in files_metadata.json, or a crafted merged-file header, containing path-traversal sequences within a merged synchronization archive processed by the master's process_files_from_worker(). It further requires a multi-node cluster deployment (a standalone single-node install exposes no peer to send the malicious archive), and full root-command-execution impact additionally depends on the master subsequently reloading Wazuh services so the replaced ossec.conf takes effect. The requirement to already hold the Fernet key (reflected as PR:H) is the primary factor limiting real-world exploitation. |
| Impact | The signals are internally consistent for a high-severity but access-gated flaw. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H, 9.1 Critical) correctly encodes the central limiting factor: PR:H reflects that the attacker must already hold the cluster's shared Fernet key, i.e. be an authenticated cluster peer, not an anonymous internet attacker - so this is not mass-exploitable at internet scale. Against that, the scope change (S:C) and full C/I/A impact are justified because a successful write yields root command execution on the master host, escalating from cluster membership to host takeover. There is no EPSS value, KEV entry, or POC in the provided data, so exploitation probability signals are absent rather than reassuring; the realistic threat model is a compromised worker node or an insider with key access pivoting to root on the manager. Given that Wazuh is a security-monitoring platform, a compromise here undermines the very tooling defenders rely on, so operators running multi-node clusters should treat this as urgent even though it is not remotely unauthenticated. The key data gap is real-world exploitation telemetry: absence of a POC is not evidence of low risk, only of low disclosure. |
| Exploit ScenarioDerived | An attacker who has compromised a Wazuh worker node - or an insider with access to the shared Fernet key - crafts a merged synchronization archive whose files_metadata.json or merged-file header carries a traversal path (for example ../../etc/ossec.conf) and sends it to the master during normal sync. The master writes the attacker-controlled ossec.conf outside the intended cluster item directory, and on the next Wazuh service reload the injected root-executed command runs, giving code execution as root on the manager. No public POC is identified at time of analysis, and the low attack complexity (AC:L) means that once key access is obtained, the write is reliable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in versions 4.0.0 through 4.14.5 and the 5.0.0-beta line up to 5.0.0-beta3. A malicious or compromised cluster peer that possesses the shared Fernet key can smuggle directory-traversal sequences through merge_type/name values or a merged-file header, causing the master node to write attacker-controlled files (e.g. /var/ossec/etc/ossec.conf) outside the intended cluster item directory; overwriting ossec.conf lets the attacker define root-executed commands that fire when Wazuh services reload. No public exploit has been identified at time of analysis, and the issue is not in CISA KEV; the vendor fix landed in 4.14.6 and 5.0.0-beta3.
RemediationAI
Upgrade to a fixed release: Vendor-released patch: Wazuh 4.14.6 for the 4.x line, or 5.0.0-beta3 for the 5.0 beta line (see GHSA-gh4h-fx78-q8xc, PR https://github.com/wazuh/wazuh/pull/36204, commit 88fc89fdfb1bf37b9d826e9c281a3d22655733de). Where immediate patching is not possible, reduce the attack surface by tightly controlling cluster membership: rotate the shared cluster Fernet key and restrict who and what can obtain it, network-segment the cluster communication port (1516) so only trusted, known node IPs can reach the master, and treat any worker node as a potential path to the master. Monitor for unexpected modifications to /var/ossec/etc/ossec.conf and to files written outside declared cluster item directories, and alert on Wazuh service reloads that follow config changes. These controls limit exposure but do not close the traversal itself - only the patch adds the path-confinement checks - and aggressive network restriction can disrupt legitimate cluster sync if node inventories change, so validate node allow-lists before enforcing.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Wazuh clusters synchronize state between master and worker nodes by shipping merged synchronization archives whose contents are described in files_metadata.json plus per-file headers embedded in the merged blob. cluster.unmerge_info() in framework/wazuh/core/cluster/cluster.py rebuilt destination paths directly from peer-supplied merge_type and name fields, and process_files_from_worker() in framework/wazuh/core/cluster/master.py failed to confine the reconstructed path to the declared cluster item directory - a textbook CWE-22 improper limitation of a pathname to a restricted directory. Because the CPE scopes this to cpe:2.3:a:wazuh:wazuh:*, every affected release of the application is in range. The fix (PR #36204, commit 88fc89f) adds character validation rejecting '/', '\' and leading-dot in merge_type/filename, basename-normalizes header names, validates item_key against the known cluster_items set, and uses safe_join plus os.path.commonpath to assert the final path stays under the expected base directory.
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
Attacker must hold the shared cluster key so PR:H; the traversal breaks out of the cluster directory to root-owned config yielding scope change and full host compromise, so S:C and C/I/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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-beta3, cluster.unmerge_info() in framework/wazuh/core/cluster/cluster.py constructs paths from peer-controlled merge_type and name values in a merged synchronization archive. process_files_from_worker() in framework/wazuh/core/cluster/master.py does not adequately confine the resulting path to the declared cluster item directory. A cluster peer holding the shared Fernet key can use traversal in files_metadata.json or a merged-file header to write files such as /var/ossec/etc/ossec.conf. Replacing ossec.conf can configure root-executed commands and lead to code execution when Wazuh services reload. This issue is fixed in versions 4.14.6 and 5.0.0-beta3.
Executive ViewAI
A critical remote code execution vulnerability in Wazuh 4.0.0 through 4.14.5 and 5.0.0-beta up to beta3 allows attackers to execute arbitrary commands as root on affected cluster nodes through path-traversal in cluster synchronization. This directly compromises your entire security monitoring infrastructure and breach detection capabilities, potentially allowing attackers to disable threat alerts, manipulate logs, and establish persistence. No public exploit identified at time of analysis, but the 9.1 CVSS severity demands immediate patching.
Apply vendor patch.
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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
Authenticated cluster peers in Wazuh Manager 4.4.0 through 4.14.3 can write arbitrary files outside the cluster synchron
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
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
Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v
A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi
Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attac
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
EUVD-2026-62557
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB