CVE-2026-25770 Details
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.
A privilege escalation vulnerability has been identified in Wazuh Manager versions 3.9.0 prior to 4.14.3. The issue arises in the cluster synchronization protocol, where the 'wazuh-clusterd' service permits authenticated nodes to write arbitrary files to the manager's file system with the 'wazuh' system user's permissions. Insecure default file permissions grant the 'wazuh' user write access to the main configuration file, '/var/ossec/etc/ossec.conf'. By exploiting the cluster protocol to overwrite 'ossec.conf', an attacker can inject a malicious '<localfile>' command block. The 'wazuh-logcollector' service, which operates with root privileges, parses this configuration and executes the injected command. This vulnerability allows an attacker with cluster credentials to achieve full root remote code execution, bypassing the intended security model and violating the principle of least privilege.
Users are advised to update Wazuh Manager to version 4.14.3 or later. Additionally, file permissions for 'ossec.conf' should be tightened to prevent write access by the 'wazuh' user or group. It is also recommended to isolate cluster write operations by modifying 'wazuh-clusterd' to enforce a strict chroot or allowlist, restricting file writes to specific non-executable data directories.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/wazuh/wazuh/security/advisories/GHSA-r4f7-v3p6-79jm | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-269 | Improper Privilege Management | [email protected] |
| CWE-732 | Incorrect Permission Assignment for Critical Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| wazuh wazuh | >= 3.9.0, < 4.14.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 19, 2026 | Initial Analysis | [email protected] |
| Mar 17, 2026 | New CVE Received | [email protected] |