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

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-17T18:02:07.456Z
- Modified: 2026-06-17T10:25:12.257Z
- Weaknesses: CWE-22, CWE-269, CWE-732
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- wazuh wazuh: >= 3.9.0, < 4.14.3; from 3.9.0 before 4.14.3

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/wazuh/wazuh/security/advisories/GHSA-r4f7-v3p6-79jm> (exploit, mitigation, vendor-advisory)

## Sources

- CVE List: [CVE-2026-25770](https://www.cve.org/CVERecord?id=CVE-2026-25770), CVE Terms of Use, modified 2026-03-18
- NVD: [CVE-2026-25770](https://nvd.nist.gov/vuln/detail/CVE-2026-25770), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25770 · Whole record: https://cve.day/CVE-2026-25770.json · Rebuilt by cve.day 2026-11-25T22:59:16.048Z
