Vulnerabilities

CVE-2026-25770

High 7.2 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-03-17
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
1.0 % higher than 58 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Wazuh Wazuh ≥ 3.9.0, < 4.14.3 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1083: File and Directory Discovery discovery
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1505.005: Terminal Services DLL persistence
  • T1548: Abuse Elevation Control Mechanism privilege-escalation
  • T1550.004: Web Session Cookie lateral-movement
  • T1553.002: Code Signing defense-impairment
  • T1554: Compromise Host Software Binary persistence
  • T1574.005: Executable Installer File Permissions Weakness stealth, execution
  • T1574.010: Services File Permissions Weakness stealth, execution

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities