Skip to main content

Wazuh CVE-2026-49441

| EUVDEUVD-2026-62571 CRITICAL
External Control of File Name or Path (CWE-73)
2026-08-19 GitHub_M
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain shared cluster Fernet key
  2. Delivery
    Connect as authorized cluster peer
  3. Exploit
    Upload crafted extra-valid archive with traversal file_path
  4. Install
    Overwrite /var/ossec/etc/ossec.conf on master
  5. C2
    Configure root-executed command
  6. Execute
    Trigger service reload
  7. Impact
    Execute code as root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Exploitation requires that Wazuh is deployed in cluster mode and that the attacker is (or controls) an authenticated cluster peer holding the shared Fernet encryption key - this maps to the CVSS PR:H. The attacker must send a crafted 'extra-valid' sync archive whose files_metadata.json contains a non-merged entry with a traversal file_path escaping the directory selected by cluster_item_key. Limiting factors: standalone/non-clustered managers are not affected; the shared key must be known, so a fully external unauthenticated attacker cannot trigger it directly; and meaningful impact (root RCE) depends on overwriting ossec.conf followed by a manager service reload.

Impact

This is a genuine high-severity issue but with a meaningful precondition gate. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H, 9.1) reflects network reach, low complexity, and full CIA impact with scope change, but PR:H is the pivotal metric: the attacker must already be an authorized cluster peer possessing the shared Fernet key. That means the realistic threat is a compromised or rogue worker node, or an insider, rather than an anonymous internet attacker. No EPSS score, no CISA KEV listing, and no public POC were provided, so there is no evidence of active or automated exploitation - this reads as a targeted, insider/lateral-movement risk rather than a mass-exploitation event. The high CVSS is justified by the RCE-as-root outcome, but prioritization should weight the fact that exploitation presupposes cluster membership; environments running standalone (non-clustered) managers are not exposed. Net: patch promptly on clustered deployments, but this is not an internet-facing spray-and-pray bug.

Exploit ScenarioDerived

An attacker who has compromised a Wazuh worker node (or otherwise obtained the shared cluster Fernet key) crafts an extra-valid sync archive whose files_metadata.json sets file_path to traverse outside the intended sync directory. The master accepts it and overwrites /var/ossec/etc/ossec.conf with a configuration that defines an attacker-controlled command run as root; on the next manager reload the command executes, yielding root code execution on the master. No public POC is currently identified, but the fixing commit publicly discloses the exact flawed logic.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 19, 2026

Path-traversal-driven remote code execution in Wazuh 4.3.0 through 4.14.5 (and 5.0.0-beta1/beta2) lets a cluster peer that holds the shared Fernet key overwrite security-sensitive files on the master node. Because the non-merged branch of process_files_from_worker() in master.py trusts the peer-supplied file_path from files_metadata.json without confining it under the directory implied by cluster_item_key, an attacker can replace /var/ossec/etc/ossec.conf to configure root-executed commands and gain code execution on the next service reload. No public exploit identified at time of analysis, but a vendor fix and the fixing commit are public, making the root cause easy to study.

RemediationAI

Vendor-released patch: upgrade to Wazuh 4.14.6 or 5.0.0-beta3, which add path-confinement (safe_join + os.path.commonpath verification against the cluster_item_key directory) and an excluded_files blocklist in process_files_from_worker() (PR https://github.com/wazuh/wazuh/pull/36296 , commit 7f13682cf5f01f69452f723a608ab2d89cfb2133 ). Where immediate upgrade is not possible, reduce exposure by treating the cluster channel as a trust boundary: rotate and tightly guard the shared cluster Fernet key, restrict network access to the cluster port (default 1516/tcp) so only known master/worker nodes can connect, and monitor integrity of /var/ossec/etc/ossec.conf for unexpected changes. As a stronger stopgap, running managers standalone (non-clustered) removes the attack surface entirely at the cost of losing multi-node scaling/HA. Review the vendor advisory (GHSA-3v57-hgvj-3vj2) for authoritative guidance.

Affected VersionsENISA

wazuh 4.3.0, < 4.14.6
wazuh 5.0.0-beta1, < 5.0.0-beta3

Affected Packages

euvd wazuh_4_3_0 fix: 4.14.6
euvd wazuh_5_0_0_beta1 fix: 5.0.0-beta3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Wazuh is an open-source security platform (SIEM/XDR) whose manager can run in a multi-node cluster where workers synchronize files to a master over an encrypted channel keyed by a shared Fernet secret. During synchronization, the master's process_files_from_worker() reconstructs destination paths for incoming files. For non-merged files it takes the peer-controlled file_path key from files_metadata.json and joins it to common.WAZUH_PATH, but it does not verify that the resulting path stays within the directory selected by cluster_item_key. This is a textbook CWE-73 (External Control of File Name or Path) issue: a trusted-looking metadata field is used to build a filesystem path, enabling directory traversal outside the intended sync folder. The affected component is confirmed by CPE cpe:2.3:a:wazuh:wazuh and the fixing PR #36296 / commit 7f13682, which adds a safe_join + os.path.commonpath confinement check and an excluded_files blocklist.

Know when Wazuh gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.1 CRITICAL

Attacker must be an authenticated cluster peer with the shared Fernet key (PR:H) over the network (AV:N); overwriting root-owned config escapes the sync component to yield full-system root RCE (S:C, C/I/A:H).

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 19, 2026 - 17:02 EUVD
CVE Published
Aug 19, 2026 - 16:19 cve.org
CRITICAL 9.1

DescriptionCVE.org

Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.3.0 until 4.14.6 and 5.0.0-beta3, the non-merged branch of process_files_from_worker() in framework/wazuh/core/cluster/master.py trusts a peer-controlled file_path key from files_metadata.json. The destination is joined to WAZUH_PATH without proving that it remains inside the directory selected by cluster_item_key. A cluster peer holding the shared Fernet key can upload a crafted extra-valid archive and overwrite security-sensitive files such as /var/ossec/etc/ossec.conf. Replacing ossec.conf can configure root-executed commands and lead to code execution after a service reload. This issue is fixed in versions 4.14.6 and 5.0.0-beta3.

Executive ViewAI

Why It Matters

Wazuh security monitoring platforms (versions 4.3.0-4.14.5) can be compromised by unauthorized cluster peers to execute arbitrary code as root, undermining the integrity of your security intelligence and incident detection capabilities. This affects any organization running affected Wazuh versions in clustered deployments; a patch is available and should be applied urgently to prevent compromise of your security infrastructure.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 48% exploitable
Prevalence
Medium
popular open-source SIEM/XDR, but only clustered multi-node deployments are exposed
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Wazuh

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2021-44079 CRITICAL POC
9.8 Nov 22

In the wazuh-slack active response script in Wazuh 4.2.x before 4.2.5, untrusted user agents are passed to a curl comman

CVE-2026-48024 CRITICAL POC
9.1 Aug 19

Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version

CVE-2026-48162 CRITICAL POC
9.1 Aug 19

Arbitrary file read in Wazuh cluster deployments (4.0.0 through 4.14.5, and 5.0.0-beta1/beta2) lets a peer node that alr

CVE-2026-61800 CRITICAL POC
9.1 Aug 27

Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v

CVE-2026-25769 CRITICAL POC
9.1 Mar 17

A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi

CVE-2026-44901 HIGH POC
8.4 Aug 19

Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,

CVE-2026-54083 HIGH POC
8.1 Aug 27

Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele

CVE-2018-19666 HIGH POC
7.8 Nov 29

The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa

CVE-2026-44252 HIGH POC
7.7 Aug 19

Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr

CVE-2026-71540 HIGH POC
7.5 Sep 24

Unauthenticated remote denial of service in the Wazuh cluster daemon (wazuh-clusterd) allows a network peer to exhaust p

CVE-2026-46343 HIGH POC
7.5 Aug 19

Arbitrary file deletion on a Wazuh manager via the cluster synchronization protocol allows a cluster-authenticated attac

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy