Skip to main content

Wazuh CVE-2026-61800

CRITICAL
Path Traversal (CWE-22)
2026-08-27 GitHub_M
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain cluster key / control peer node
  2. Delivery
    Connect as cluster sync peer
  3. Exploit
    Send staged file with mismatched cluster_item_key
  4. Execution
    Worker writes file to executable path under /var/ossec
  5. Persist
    File executed as root
  6. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (GitHub_M) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.1 CRITICAL

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch: upgrade to Wazuh 4.14.7.

Threat Intelligence Overview

EPSS Score
0.6%
Top 54% exploitable
Prevalence
Medium
popular open-source SIEM/XDR, but only multi-node cluster deployments affected
Exploit
POC
Public exploit code exists
Social Media
3
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

67
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*

More in Wazuh

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2021-44079 CRITICAL POC
9.8 Nov 22

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

CVE-2026-48024 CRITICAL POC
9.1 Aug 19

Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version

CVE-2026-48162 CRITICAL POC
9.1 Aug 19

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

CVE-2026-25769 CRITICAL POC
9.1 Mar 17

A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi

CVE-2026-44901 HIGH POC
8.4 Aug 19

Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,

CVE-2026-54083 HIGH POC
8.1 Aug 27

Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele

CVE-2018-19666 HIGH POC
7.8 Nov 29

The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa

CVE-2026-44252 HIGH POC
7.7 Aug 19

Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr

CVE-2026-71540 HIGH POC
7.5 Sep 24

Unauthenticated remote denial of service in the Wazuh cluster daemon (wazuh-clusterd) allows a network peer to exhaust p

CVE-2026-46343 HIGH POC
7.5 Aug 19

Arbitrary file deletion on a Wazuh manager via the cluster synchronization protocol allows a cluster-authenticated attac

CVE-2024-1243 HIGH POC
7.2 Jun 11

CVE-2024-1243 is an improper input validation vulnerability in Wazuh agent for Windows (versions prior to 4.8.0) that al

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy