Skip to content
Heist/ feed
Back to feed
Critical

Wazuh has Privilege Escalation to Root via Cluster Protocol File Write

Type: advisorySources: OSV

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 `` 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-25770
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:58 UTC · Revision 1

Source evidence

Wazuh has Privilege Escalation to Root via Cluster Protocol File Write

core-osv · Original source

Published 17 Mar 2026, 18:02 UTC

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 `` 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.

osv:CVE-2026-25770
Complete source record
{
  "id": "c6df71edb8c80b52a6cbff41b9c0c1598a696ae809a0c6a5a4b3392c7fc78b82",
  "url": "https://osv.dev/vulnerability/CVE-2026-25770",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Wazuh has Privilege Escalation to Root via Cluster Protocol File Write",
    "summary": "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 `` 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.",
    "evidence": "osv:CVE-2026-25770",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-25770",
      "aliases": [
        "CVE-2026-25770",
        "GHSA-r4f7-v3p6-79jm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wazuh/wazuh",
              "type": "GIT",
              "events": [
                {
                  "introduced": "18bac2de69f5a37e5c3c4e2dfbce5a0093042ea7"
                },
                {
                  "fixed": "b6b6e94a432f7a3e20d1eea1c58ebd01d2d30999"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.9.0"
                      },
                      {
                        "fixed": "4.14.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.9.0"
                      },
                      {
                        "fixed": "4.14.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25770.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.906815178Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25770.json",
        "https://github.com/wazuh/wazuh/security/advisories/GHSA-r4f7-v3p6-79jm",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-25770"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22",
          "CWE-269",
          "CWE-732"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25770.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-25770",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510897,
  "published_at": "2026-03-17T18:02:07.456+00:00"
}