Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privilege Wazuh API credentials
-
DeliveryCall GET /manager/configuration?raw=true
-
ExploitExtract Fernet cluster key from raw XML
-
InstallConnect to cluster master on TCP port 1516
-
C2Impersonate cluster worker with valid Fernet key
-
ExecuteInject attacker-controlled rbac_permissions with rbac_mode=black
-
ImpactCreate admin user and execute commands across all agents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Stage 1 requires a valid Wazuh API account with manager:read permission (a low-privilege read-only role assignable to analysts) and HTTP/HTTPS access to the Wazuh Manager REST API, typically on TCP port 55000. Stage 2 requires network access to the Wazuh cluster communication port (TCP 1516) on the master node and possession of the Fernet cluster key obtained in Stage 1. The deployment must have Wazuh clustering enabled (multi-node configuration with a shared cluster key defined in ossec.conf), as the cluster impersonation pathway does not exist in single-node deployments. The CVSS 4.0 vector confirms PR:L (low-privilege authentication required for Stage 1) and AT:P (specific attack prerequisites - dual port access - must be present beyond the attacker's control). What limits exploitation: opportunistic internet-scale attacks are constrained because TCP port 1516 is typically not internet-facing; the attacker must possess or compromise a manager:read API account; and single-node Wazuh deployments are not vulnerable to Stage 2. What does not limit exploitation: no special Wazuh configuration beyond clustering is required; the raw=true parameter is a standard API feature, not a non-default setting. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H) and a score of 7.7 appropriately reflect the two-stage attack structure: PR:L confirms a low-privilege API account is required for Stage 1, and AT:P signals that specific deployment prerequisites - attacker network access to both the Wazuh API and cluster port 1516 - must be satisfied. The full-high impact triad (VC:H/VI:H/VA:H) correctly captures the total compromise of the Wazuh Manager. No public exploit code has been identified and this CVE is not in the CISA KEV catalog at time of analysis, which lowers urgency for opportunistic threat models; however, targeted attackers in environments where read-only API credentials are broadly distributed face minimal practical barriers beyond reachability of port 1516. Even a mid-sized SOC or managed security provider in malbork relying on Wazuh for centralized threat detection should treat this as urgent remediation, since compromising the cluster key effectively nullifies the platform's security posture and extends attacker control to every managed agent endpoint. The vendor's CVSS 4.0 vector sets SC:N/SI:N/SA:N, which this analyst considers a potential understatement given that the attacker's ability to 'execute actions across agents' constitutes meaningful subsequent-system integrity impact - this conflict should be verified against the full vendor advisory. |
| Exploit ScenarioDerived | An attacker with a read-only Wazuh analyst account calls GET /manager/configuration?raw=true, parses the returned ossec.conf XML to extract the plaintext Fernet cluster key from the <cluster><key> element, then opens a TCP connection to port 1516 on the master node and submits a crafted distributed API request that impersonates a cluster worker. By embedding attacker-controlled rbac_permissions with rbac_mode set to black, the master node's authorization check is bypassed entirely, allowing the attacker to create a new administrative user, access all stored credentials and API tokens, and issue execution commands across every Wazuh-managed agent endpoint. No public proof-of-concept code is known at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-privilege API user with manager:read permission can retrieve the plaintext Fernet cluster key via the raw configuration endpoint, then use it to impersonate a cluster worker node and inject attacker-controlled RBAC permissions that grant full administrative access. The master node's unconditional trust in worker-supplied authorization context (CWE-863 - Incorrect Authorization) allows an attacker to create admin users, access stored credentials and API tokens, modify platform configuration, and execute arbitrary commands across all Wazuh-managed agents. No public exploit has been identified at time of analysis; the vendor-released fix is confirmed in version 4.14.5.
RemediationAI
Upgrade Wazuh Manager to version 4.14.5, confirmed by the GitHub release tag (https://github.com/wazuh/wazuh/releases/tag/v4.14.5) and the upstream fix commit b3459f5663702aea14e91330a7a6912081fed2eb, which adds cluster.key to SENSITIVE_FIELD_PATHS and implements XML masking. Users tracking the v5 line should use v5.0.0-beta3 or later. For teams unable to upgrade immediately, apply two compensating controls in combination: restrict manager:read API permissions to only fully trusted, privileged accounts - accepting reduced analyst self-service as a trade-off - and apply network-level firewall rules to limit access to TCP port 1516 exclusively to authorized cluster node IP addresses, blocking the Stage 2 impersonation path even if the cluster key has already been disclosed. After upgrading, rotate the cluster key by generating a new value in ossec.conf and restarting the cluster, particularly if any read-only API accounts were active during the vulnerable window, since the previously exposed key remains usable until rotated. Full advisory and patch details: https://github.com/wazuh/wazuh/security/advisories/GHSA-34fx-c2xw-xcpg.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Wazuh employs a clustered architecture where manager nodes communicate using a shared symmetric Fernet key stored in plaintext within ossec.conf under the <cluster><key> XML element. The API endpoint GET /manager/configuration?raw=true returns the full raw XML of ossec.conf; prior to the fix, the cluster.key field was absent from the SENSITIVE_FIELD_PATHS tuple in framework/wazuh/rbac/decorators.py, meaning the masking decorator left the key exposed to any authenticated caller with manager:read permission. The cluster communication channel on TCP port 1516 accepts connections from nodes presenting a valid Fernet-encrypted token; no additional authentication distinguishes legitimate worker nodes from an attacker who possesses the key, so the master node blindly trusts all worker-supplied authorization context - including attacker-injected rbac_permissions with rbac_mode set to black. CWE-863 (Incorrect Authorization) captures both failure modes: improper restriction of sensitive configuration data and over-trust of peer-supplied authorization context. The commit fix (b3459f5663702aea14e91330a7a6912081fed2eb) added 'cluster.key' to SENSITIVE_FIELD_PATHS and introduced dedicated XML masking functions (_build_xml_mask_pattern, _mask_xml_by_path, _mask_all_sensitive_fields) that redact the key before configuration responses are returned.
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
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Dual access requirement (API port plus cluster port 1516) maps to AC:H; attacker-controlled execution across managed agents constitutes a scope change justifying S:C.
Primary rating from Vendor (github).
CVSS VectorVendor: github
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.5, Wazuh Manager allows a low-privilege read-only API user with manager:read permission to retrieve the cluster key from the element in ossec.conf through GET /manager/configuration?raw=true. An attacker with network access to TCP port 1516 can use the disclosed Fernet key to impersonate a cluster worker and submit distributed API requests containing attacker-controlled rbac_permissions with rbac_mode set to black. Because the master trusts the worker-supplied authorization context, the attacker can create users, assign administrator roles, access credentials and API tokens, modify configuration, and execute actions across agents. This issue is fixed in version 4.14.5.
Executive ViewAI
Wazuh Manager versions 4.0.0 through 4.14.4 suffer from a privilege escalation defect that allows attackers with basic API access to escalate to complete system administrator control, ultimately compromising the security monitoring of an organization's entire infrastructure. An attacker exploiting this vulnerability could install backdoors, steal credentials, disable alerts, and gain command execution on thousands of endpoints simultaneously. Organizations using affected versions face not just a security tool compromise, but direct exposure of the systems that tool was meant to protect.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
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
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
EUVD-2026-62551
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB