Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-25770

CVE-2026-25770: Wazuh Privilege Escalation Vulnerability

CVE-2026-25770 is a privilege escalation vulnerability in Wazuh Manager that enables attackers with cluster credentials to gain root access. This article covers technical details, affected versions, impact, and mitigation.

Published: March 20, 2026

CVE-2026-25770 Overview

CVE-2026-25770 is a privilege escalation vulnerability affecting the Wazuh security platform's cluster synchronization protocol. This vulnerability allows authenticated cluster nodes to write arbitrary files to the manager's file system, ultimately enabling root-level remote code execution through configuration file manipulation.

The vulnerability exists in the wazuh-clusterd service, which permits authenticated nodes to overwrite critical configuration files including /var/ossec/etc/ossec.conf. By injecting malicious <localfile> command blocks into this configuration, attackers can leverage the wazuh-logcollector service—which executes with root privileges—to achieve full system compromise.

Critical Impact

Authenticated attackers with cluster credentials can achieve full root remote code execution on Wazuh Manager servers, completely bypassing the platform's security model and violating the principle of least privilege.

Affected Products

  • Wazuh versions 3.9.0 through 4.14.2
  • Wazuh Manager cluster deployments with multiple nodes
  • Systems running wazuh-clusterd and wazuh-logcollector services

Discovery Timeline

  • 2026-03-17 - CVE CVE-2026-25770 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2026-25770

Vulnerability Analysis

This vulnerability chains together multiple security weaknesses to achieve root-level remote code execution. The attack flow begins with the cluster synchronization protocol's overly permissive file write capabilities. When a node joins a Wazuh cluster, it communicates with the manager through the wazuh-clusterd service, which handles file synchronization between cluster members.

The core issue stems from insecure default file permissions where the wazuh system user—used by the cluster service—has write access to /var/ossec/etc/ossec.conf, the manager's primary configuration file. This configuration should be protected from modification by non-root services.

An attacker who has obtained valid cluster credentials can exploit the cluster protocol to overwrite the ossec.conf file with a malicious version. This malicious configuration includes injected <localfile> blocks containing arbitrary commands. The wazuh-logcollector service, which runs as root and monitors log sources defined in the configuration, parses these injected blocks and executes the embedded commands with full root privileges.

Root Cause

The root cause is classified as CWE-22 (Path Traversal), combined with insecure default permissions on critical configuration files. The cluster synchronization protocol fails to properly validate and restrict file paths that authenticated nodes can write to, allowing traversal to sensitive system configuration files. Additionally, the wazuh service user has excessive write permissions to the main configuration file, enabling the privilege escalation chain.

Attack Vector

The attack vector is network-based and requires authentication with valid cluster credentials. An attacker must first compromise or obtain credentials for a cluster node. Once authenticated to the cluster, the attacker leverages the cluster synchronization protocol to write a modified ossec.conf file to the manager. The injected configuration exploits the trust relationship between the configuration file and the root-privileged wazuh-logcollector service.

The attack chain proceeds as follows: the attacker authenticates to the cluster service, crafts a malicious configuration file containing command injection in a <localfile> block, uses the cluster protocol's file write functionality to overwrite the manager's configuration, and waits for the wazuh-logcollector service to reload and execute the injected commands as root.

Detection Methods for CVE-2026-25770

Indicators of Compromise

  • Unexpected modifications to /var/ossec/etc/ossec.conf file, particularly new or unusual <localfile> entries
  • Suspicious file write operations from the wazuh-clusterd process targeting configuration files
  • Unusual cluster synchronization traffic patterns or unexpected file synchronization requests
  • Evidence of command execution from the wazuh-logcollector process that doesn't match expected log collection activities

Detection Strategies

  • Implement file integrity monitoring (FIM) on /var/ossec/etc/ossec.conf and other critical Wazuh configuration files
  • Monitor wazuh-clusterd service logs for unusual file write operations or unexpected cluster node authentication attempts
  • Deploy process monitoring to detect unexpected child processes spawned by wazuh-logcollector
  • Review cluster authentication logs for unauthorized or anomalous node connections

Monitoring Recommendations

  • Enable audit logging for all file modifications within /var/ossec/etc/ directory
  • Configure alerts for any changes to ossec.conf that occur outside of scheduled maintenance windows
  • Monitor network traffic to and from the cluster service port for unusual patterns or volumes
  • Implement behavioral analysis for the wazuh-logcollector process to detect command execution anomalies

How to Mitigate CVE-2026-25770

Immediate Actions Required

  • Upgrade Wazuh to version 4.14.3 or later immediately to address this vulnerability
  • Review and audit current cluster node credentials for any signs of compromise
  • Restrict file system permissions on /var/ossec/etc/ossec.conf to prevent write access by the wazuh service user where operationally feasible
  • Implement network segmentation to limit access to cluster communication ports

Patch Information

Wazuh has released version 4.14.3 to address this vulnerability. The fix addresses the insecure default permissions and implements proper validation on cluster file synchronization operations to prevent arbitrary file writes. Organizations should upgrade all Wazuh Manager instances in their environment. For detailed information, refer to the GitHub Security Advisory GHSA-r4f7-v3p6-79jm.

Workarounds

  • Restrict network access to the cluster service ports using firewall rules, limiting connections to only trusted and verified cluster nodes
  • Implement additional authentication controls or mutual TLS for cluster communications
  • Create backup copies of ossec.conf and implement automated integrity checking to detect unauthorized modifications
  • Consider running single-node deployments without cluster functionality where multi-node architecture is not strictly required
bash
# Restrict permissions on ossec.conf as a temporary mitigation
chmod 640 /var/ossec/etc/ossec.conf
chown root:wazuh /var/ossec/etc/ossec.conf

# Verify current permissions
ls -la /var/ossec/etc/ossec.conf

# Create backup for integrity verification
cp /var/ossec/etc/ossec.conf /var/ossec/etc/ossec.conf.backup
sha256sum /var/ossec/etc/ossec.conf > /var/ossec/etc/ossec.conf.sha256

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechWazuh

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Vendor Resources
  • GitHub Security Advisory GHSA-r4f7-v3p6-79jm
  • Related CVEs
  • CVE-2025-30201: Wazuh Agent Privilege Escalation Flaw

  • CVE-2023-7340: Wazuh authd Buffer Overflow Vulnerability

  • CVE-2026-32983: Wazuh Manager authd Service DoS Flaw

  • CVE-2026-32984: Wazuh Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English