# CVE-2026-25770: Wazuh has Privilege Escalation to Root via Cluster Protocol File Write

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 4.14.3 (CNA); fix release not confirmed
- Status: published
- Published: 2026-03-17 · Modified: 2026-03-18
- Record: https://cvemate.com/vulnerability/CVE-2026-25770 · JSON: https://cvemate.com/vulnerability/CVE-2026-25770/json

## Description

```text
Wazuh is a free and open source platform used for threat prevention, detection, and response. Starting in version 3.9.0 and prior to version 4.14.3, a privilege escalation vulnerability exists in the Wazuh Manager's cluster synchronization protocol. The `wazuh-clusterd` service allows authenticated nodes to write arbitrary files to the manager’s file system with the permissions of the `wazuh` system user. Due to insecure default permissions, the `wazuh` user has write access to the manager's main configuration file (`/var/ossec/etc/ossec.conf`). By leveraging the cluster protocol to overwrite `ossec.conf`, an attacker can inject a malicious `<localfile>` command block. The `wazuh-logcollector` service, which runs as root, parses this configuration and executes the injected command. This chain allows an attacker with cluster credentials to gain full Root Remote Code Execution, violating the principle of least privilege and bypassing the intended security model. Version 4.14.3 fixes the issue.
```

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- EPSS: 1.1%, percentile 66.832%, as of 2026-12-06
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- wazuh wazuh: ≥ 3.9.0, \< 4.14.3

## References

- <https://github.com/wazuh/wazuh/security/advisories/GHSA-r4f7-v3p6-79jm>

---

Data as of 2026-12-06T19:42:52.902Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
