CVE-2026-61800: Wazuh cluster worker file sync allows arbitrary file write under /var/ossec (incomplete fix for CVE-2026-30893)
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.
Security readout for executives and security teams
Plain-English summary
An attacker who obtains a Wazuh cluster key can manipulate files on affected worker nodes, potentially taking full root control. The flaw is critical because Wazuh is itself a security platform, so compromise could disrupt monitoring, alter security data, and affect protected systems.
Executive priority
Treat affected clustered deployments as an immediate remediation priority, especially where cluster-key confidentiality is uncertain. Upgrade promptly and investigate suspicious /var/ossec changes. There is no supplied evidence of active exploitation, but successful abuse could provide root control and undermine security monitoring.
Technical view
Wazuh 4.4.0 through 4.14.6 incompletely validates destinations during non-merged worker file synchronization. Paths remain beneath /var/ossec but can escape the directory assigned by cluster_item_key, enabling authenticated cluster peers to write, overwrite, or delete sensitive files and potentially execute code as root. Version 4.14.7 fixes the issue.
Likely exposure
Exposure applies to Wazuh clusters containing worker nodes running versions 4.4.0 through 4.14.6. Exploitation requires possession of the cluster key and access to cluster synchronization. Risk is greatest where that key is shared broadly, exposed, or available on a compromised cluster peer.
Exploitation context
The CVSS score is 9.1. Exploitation has low complexity and requires no user interaction, but requires the cluster key, reflected as high privileges. The supplied sources provide no evidence of active exploitation, and the CVE is not listed as KEV.
Researcher notes
This is an incomplete fix for CVE-2026-30893. safe_join() prevents traversal outside /var/ossec but does not enforce the destination associated with cluster_item_key. The missing check affects the worker's non-merged update and deletion paths; equivalent validation existed elsewhere. The supplied commit and advisory document the 4.14.7 correction.
Mitigation direction
Upgrade affected Wazuh managers and worker nodes to version 4.14.7 or later using vendor guidance.
Prioritize clusters where the cluster key may have been disclosed, shared broadly, or stored insecurely.
Rotate the cluster key if compromise is suspected, then monitor cluster behavior and file integrity.
Restrict cluster connectivity to trusted nodes while remediation is pending.
Validation and detection
Inventory Wazuh versions and identify clustered deployments containing worker nodes.
Confirm every affected cluster node reports version 4.14.7 or later.
Review logs and file-integrity data for unexpected changes or deletions beneath /var/ossec.
Investigate unauthorized changes to files under /var/ossec that execute with root privileges.
Review cluster-key access and distribution for unexpected exposure.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-22: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
3Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-22 · source CWE mapping
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.