CVE-2026-61783
PoC largeSensitive Secret Disclosure in Wazuh Manager via RBAC Deny-Rule Masking Bypass
Wazuh managers in versions 4.14.0 through 4.14.6 contain a sensitive-information disclosure flaw: the mask_sensitive_config() decorator skips masking whenever the requesting user holds any manager:update_config or cluster:update_config RBAC rule, and the permission check never inspects whether that rule's effect is allow or deny. Because deny rules are stored as real policy entries, a low-privilege read-only account that has been hardened with an explicit deny on config updates is incorrectly counted as having update permission, which disables masking entirely. Such a user can then send a single authenticated GET request to the configuration endpoint with raw=true and receive the verbatim ossec.conf XML, including the cluster.key secret in cleartext, while the same account without the deny rule would see the value masked. Any organization running an affected 4.14.x version with RBAC deny rules applied to read-only users is affected; no public proof-of-concept is known, exploitation has not been reported in the wild, and the fix is available in version 4.14.7.
What to do: Upgrade to Wazuh 4.14.7. As an interim mitigation, audit RBAC policies and remove explicit deny rules for manager:update_config/cluster:update_config from read-only users (rely on the absence of an allow rule instead), and restrict network access to the Wazuh manager API (default TCP 55000) to trusted clients. Review manager API access logs for raw=true configuration reads and rotate the cluster.key on any manager where exposure is suspected.
| Wazuh (open-source XDR/SIEM platform, manager component) | 4.14.0 through 4.14.6 (fixed in 4.14.7) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Vendors
- wazuh
- Products
- wazuh
- Weakness
- CWE-200, CWE-863
- Vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.