Wazuh
CVE-2026-61783
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Wazuh API as low-privilege user
-
DeliveryConfirm role has explicit deny on update-config
-
ExploitSend GET /manager/configuration?raw=true
-
InstallBroken gate treats deny rule as update permission
-
C2Masking disabled; full ossec.conf returned
-
ExecuteExtract cluster.key from XML response
-
ImpactLeverage key to compromise cluster
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated low-privilege user (PR:L confirmed by CVSS vector) in Wazuh 4.14.0-4.14.6 whose RBAC role or policy includes at least one explicit DENY effect on the |
| Impact | The CVSS 4.0 score of 7.0 with VC:H and SC:H accurately reflects meaningful risk: the |
| Exploit ScenarioDerived | An attacker with a low-privilege Wazuh account - one whose assigned role was hardened with an explicit deny on |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 28, 2026
Cluster secret exposure in Wazuh 4.14.0-4.14.6 stems from a logic inversion in the RBAC masking gate that counterintuitively makes hardened accounts more exposed than default ones. Any authenticated low-privilege user whose role includes an explicit DENY on config-update actions can issue a single GET request to the manager configuration API with raw=true and receive the full ossec.conf XML with cluster.key in cleartext - because the broken gate treats the mere presence of a deny-rule entry as proof of update permission, disabling masking entirely. No public exploit has been identified at time of analysis, but the fix is available in 4.14.7 and the root cause is confirmed by vendor advisory and merged commit.
RemediationAI
Upgrade to Wazuh 4.14.7, which contains the one-line fix to _has_update_permissions() in framework/wazuh/rbac/decorators.py (commit 939f2e52afff8fbeb7b0894f3f1417eb6c395db3, https://github.com/wazuh/wazuh/commit/939f2e52afff8fbeb7b0894f3f1417eb6c395db3). Full details are in the GitHub Security Advisory at https://github.com/wazuh/wazuh/security/advisories/GHSA-vjcq-cf36-f5gx. If immediate patching is not feasible, a targeted compensating control is to audit all RBAC roles and remove explicit deny rules for manager:update_config and cluster:update_config - accounts without such deny rules are not affected and will continue to have cluster.key masked. Note that removing explicit denies weakens defense-in-depth for those roles. A second compensating control is to restrict network access to the Wazuh manager API to trusted administrative hosts only, preventing low-privilege users from reaching the configuration endpoint; this trades off operational convenience for reduced exposure surface until 4.14.7 can be deployed.
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's Python framework (identified by CPE cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*) applies a mask_sensitive_config() decorator to redact sensitive values such as cluster.key from API responses. The decorator delegates to _has_update_permissions(), which was intended to disable masking for users who already have write access to the config (since they can read it anyway). The root cause - CWE-200, Exposure of Sensitive Information to an Unauthorized Actor - is a one-line logic error: the original code checked len(action_map) > 0, meaning any RBAC rule entry at all (allow or deny) satisfied the gate. The fix in commit 939f2e52 changes the condition to any(effect == 'allow' for effect in action_map.values()), so only genuine allow rules disable masking. The affected endpoint is the Wazuh manager configuration API, accessible over the network with raw=true returning verbatim XML.
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:N/VA:N/SC:H/SI:N/SA:N
Requires specific non-default RBAC deny-rule configuration (AC:H); low-privilege auth needed (PR:L); cluster key disclosure extends impact to cluster nodes (S:C).
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.14.0 through 4.14.6, an authenticated low-privilege user can read the cluster secret from the manager configuration because the logic that masks sensitive values is disabled by any update-config RBAC rule, including an explicit deny. The mask_sensitive_config() decorator applies masking only when _has_update_permissions() returns false, but that gate treats a user as able to update the config whenever a manager:update_config or cluster:update_config rule exists, without ever checking whether the rule's effect is allow or deny. Because a deny rule is stored as a real entry, a read-only account that is hardened by explicitly denying config edits is counted as having update permission, which turns masking off. A single authenticated GET request to the configuration endpoint with raw=true then returns the verbatim ossec.conf XML with cluster.key in clear, whereas an otherwise identical account without the deny rule sees the value masked. This issue is fixed in version 4.14.7.
Executive ViewAI
Wazuh 4.14.0-4.14.6 exposes critical cluster credentials to users with low-level access due to a flaw in the security controls. Compromised credentials could enable attackers to tamper with the security monitoring platform's core functions. All affected deployments must upgrade to version 4.14.7 immediately.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
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
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB