CVE-2026-25770

CRITICAL LAB

Wazuh has Privilege Escalation to Root via Cluster Protocol File Write

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-25770. PoCs published by Samres27.

AI-analyzed exploit summary This repository contains a functional PoC for CVE-2026-25770, demonstrating a deserialization vulnerability in Wazuh's cluster communication that allows remote command execution on the master node. The exploit leverages the `as_wazuh_object()` function to execute arbitrary commands via crafted DAPi requests.

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.

Exploits (1)

github WORKING POC
by Samres27 · pythonpoc
https://github.com/Samres27/CVE-2026-25769---CVE-2026-25770

This repository contains a functional PoC for CVE-2026-25770, demonstrating a deserialization vulnerability in Wazuh's cluster communication that allows remote command execution on the master node. The exploit leverages the `as_wazuh_object()` function to execute arbitrary commands via crafted DAPi requests.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Wazuh Manager ≥ 4.0.0
No auth needed
Prerequisites: Wazuh cluster with master and worker nodes · Network access to the cluster communication port (TCP/1516)
devstral-2 · analyzed May 01, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 9.1
EPSS 0.0097
EPSS Percentile 57.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Lab Environment

COMMUNITY
Community Lab
docker pull wazuh/wazuh-manager:4.14.0

Details

CWE
CWE-22 CWE-269 CWE-732
Status published
Products (2)
wazuh/wazuh 3.9.0 - 4.14.3
wazuh/wazuh >= 3.9.0, < 4.14.3
Published Mar 17, 2026
Tracked Since Mar 18, 2026