Skip to main content

Wazuh Manager CVE-2026-74040

| EUVDEUVD-2026-98676 CRITICAL
Missing Authorization (CWE-862)
2026-10-13 VulnCheck
9.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain control of a cluster worker node
  2. Delivery
    Send crafted file-sync message with trailing-slash basename
  3. Exploit
    Bypass path validation and extra_valid enforcement
  4. Execution
    Overwrite master ossec.conf and agent.conf
  5. Persist
    Configs executed as root on manager and agents
  6. Impact
    Root RCE across entire fleet

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to control a Wazuh cluster worker node (PR:H) that is already enrolled in and communicating with the master - this is the central limiting factor and rules out anonymous internet exploitation. Given that, the attack exploits MasterHandler.process_files_from_worker by sending a file name with a trailing-slash basename to defeat path validation combined with missing extra_valid enforcement, allowing overwrite of protected master files (ossec.conf, agent.conf). Deployment must be running Wazuh manager in a multi-node cluster configuration in the affected range 3.9.0 through before 4.14.8; standalone (non-clustered) managers with no workers do not expose the worker-to-master sync path. No user interaction is required (UI:N) and attack complexity is low (AC:L) once worker control is obtained.

Impact

This is a genuine high-priority vulnerability, though its exploitation is gated by a meaningful prerequisite. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) with total impact on both the vulnerable system (VC:H/VI:H/VA:H) and subsequent systems (SC:H/SI:H/SA:H) accurately reflects the blast radius: an attacker who controls a single cluster worker can overwrite ossec.conf and agent.conf to gain root RCE across the manager and every connected agent. The critical limiting signal is PR:H - this is NOT a remote-unauthenticated flaw; it requires the attacker to already control a worker node participating in the Wazuh cluster, which substantially narrows the realistic attacker population to insiders or those who have already compromised a worker. The '9.4 CRITICAL' headline should therefore be read in that light: catastrophic impact once the precondition is met, but not trivially reachable from the open internet. No EPSS score, CISA KEV listing, or public POC is present in the provided data, so there is no evidence of active exploitation or mass-scanning pressure at this time; the vulnerability was reported by VulnCheck (a credible research source) and a vendor patch (v4.14.8) is confirmed available. The 'Authentication Bypass' tag is somewhat misleading - the root cause (CWE-862, plus a trailing-slash basename bypass and missing extra_valid enforcement) is an authorization/path-validation failure exercised by an already-privileged worker, not an authentication bypass. Priority: patch promptly given the root-RCE-everywhere impact and cluster centrality, but the PR:H gate means it ranks below internet-facing unauthenticated RCEs for emergency triage.

Exploit ScenarioDerived

An attacker who has compromised or maliciously operates a Wazuh cluster worker crafts file-sync messages to the master using a trailing-slash basename to bypass path validation and the missing extra_valid check, overwriting the master's protected ossec.conf and agent.conf. Because these configs are pushed to and executed by the manager and all agents as root, the attacker achieves remote code execution as root across the entire fleet. No public exploit code is identified at time of analysis, but the technique is described in detail in the VulnCheck advisory.

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

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

Alert me

AnalysisAIv1 – Oct 13, 2026

Arbitrary file overwrite in Wazuh Manager (3.9.0 through versions prior to 4.14.8) lets an attacker who already controls an enrolled cluster worker node corrupt protected master-side files - including ossec.conf and agent.conf - by abusing a trailing-slash basename path-validation bypass and the lack of extra_valid enforcement in MasterHandler.process_files_from_worker. Because the manager runs as root and pushes configuration out to its fleet, the overwritten files escalate into root-level remote code execution on the manager and on every connected agent, which is why the vulnerability carries a CVSS 4.0 base score of 9.4 (independent CVSS 3.1 assessment: AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H). The PR:H prerequisite is the key limiter: the attacker must already control a worker node that is enrolled and syncing with the master, so this is not anonymously reachable from the internet, standalone (non-clustered) managers do not expose the vulnerable path, and no public exploit code had been identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade Wazuh Manager to 4.14.8 or later - the fixed release is tagged at https://github.com/wazuh/wazuh/releases/tag/v4.14.8 and the issue is documented in GHSA-88p6-7cm8-xwj8; because workers and the master synchronize software and configuration, upgrade the master first and then every worker so that no unpatched node can keep submitting malicious merge-file requests to a patched master (and note that mixed-version clusters during rollout should be treated as still exposed until the last worker is updated). If immediate upgrade is not possible, the highest-value compensating control is to firewall the cluster synchronization channel so that only known, static worker-node addresses can reach the master's cluster daemon - this fully closes the path but breaks dynamic worker enrollment and any legitimate worker-to-master sync from unexpected addresses, so it must be paired with static worker IP allowlists; an even stronger but more disruptive option is to temporarily run managers standalone (no workers) to remove the attack path entirely, at the cost of clustering, HA, and centralized configuration distribution. Additionally, treat every cluster worker as a root-equivalent trust boundary: any compromise of a worker should be handled as a master compromise, which means rotating cluster keys and agent enrollment credentials, re-enrolling workers from clean images, and verifying the integrity of etc/ossec.conf and etc/shared/agent.conf on the master for tampering before it has been pushed to agents (config file integrity monitoring on those paths will also surface future attempts). Finally, given that 4.14.8 fixed several other worker/agent-supplied path validation issues, audit any custom integrations, CDB lists, rule/decoder sources, and upgrade commands that accept paths from worker or agent input, and remove or restrict them until the patched release is deployed.

Affected VersionsENISA

wazuh-manager 3.9.0 <4.14.8

Affected Packages

euvd wazuh_manager fix: 4.14.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package 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 SIEM/XDR platform built on a manager/agent model; managers can be deployed in a cluster consisting of a master node and one or more worker nodes, coordinated by the cluster daemon (wazuh-clusterd). Workers push files to the master for synchronization, and MasterHandler.process_files_from_worker is the server-side routine that receives and applies those merge-file requests. The root cause is CWE-862 (Missing Authorization): the handler does not properly enforce the extra_valid restriction that should limit what a worker may submit, and its destination path validation can be defeated by supplying a file name whose basename ends in a trailing slash, so a crafted request resolves outside the worker-writable area and lands on master-protected paths such as etc/ossec.conf and etc/shared/agent.conf. This is a high-impact design-trust issue rather than a memory-safety bug: the master implicitly trusts worker-supplied paths, and because agents and the manager itself reload the pushed configuration, an attacker gains a configuration-injection primitive that converts directly into command execution with the manager's privileges (root) and propagates to every agent. The 4.14.8 release notes reflect a broader hardening sweep of exactly this class of worker/agent-supplied paths - destination path validation when deleting rule and decoder files, source and path validation for CDB list retrieval, listing and deletion, restricted upgrade commands accepted from the agent message channel, and SCA policy source validation - which corroborates that the fix addresses missing authorization on file-path inputs rather than a single isolated off-by-one.

Know when Wazuh Manager 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 (VulnCheck) PRIMARY 9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 9.1 CRITICAL

Requires control of a cluster worker (PR:H) over the network (AV:N); overwriting master configs executed by separate agents/manager crosses a trust boundary (S:C) with full C/I/A impact.

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:H/SI:H/SA:H

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

DescriptionCVE.org

Wazuh versions from 3.9.0 before 4.14.8 contain an arbitrary file overwrite vulnerability in MasterHandler.process_files_from_worker allowing a cluster worker to overwrite protected master files. Attackers controlling a worker can use a trailing-slash basename bypass and missing extra_valid enforcement to overwrite ossec.conf and agent.conf, achieving root remote code execution across the manager and every agent.

Technical POC Analysis

The core defect is CWE-22 path traversal, combined with missing direction/authorization enforcement.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Wazuh Manager versions 3.9.0 through 4.14.8, when deployed in a clustered configuration, contain a critical flaw that allows an attacker who already controls an enrolled worker node to overwrite master-side configuration files and gain root-level remote code execution across the manager and every connected agent. This means a single compromised worker can cascade into a full fleet-wide breach of the security monitoring platform itself, potentially blinding an organization to other threats and corrupting the integrity of its detection and response capabilities. Leadership should prioritize remediation because this vulnerability actively undermines the trust and control plane used to protect the broader environment.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 55% exploitable
Prevalence
High
Widely deployed open-source SIEM/XDR platform in enterprise security operations
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.6%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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

CVE-2026-74041 CRITICAL
9.4 Oct 13

Root-level command execution on the Wazuh Manager host is achievable by an authenticated administrator who holds the man

CVE-2026-74034 HIGH
8.7 Oct 13

Arbitrary file read as root in Wazuh Manager 4.1.0 through 4.14.7 allows an enrolled agent to inject an upgrade_custom m

CVE-2026-74037 HIGH
8.6 Oct 13

Wazuh Manager 4.0.0 through 4.14.7 fails to consult its token revocation blacklist inside the check_token routine, so a

CVE-2026-74035 HIGH
8.6 Oct 13

An authentication bypass in the Wazuh Manager API (versions 4.6.0 through 4.14.7) lets an account that already holds del

CVE-2026-74043 HIGH
8.5 Oct 13

Path traversal in the Wazuh Manager cluster upload handlers (upload_list_file, upload_rule_file, upload_decoder_file) le

CVE-2026-74033 HIGH
8.4 Oct 13

Path traversal in Wazuh Manager 4.1.1 through 4.14.7 lets an attacker who has already compromised a cluster worker node

CVE-2026-74045 HIGH
7.1 Oct 13

Heap buffer overflow in Wazuh Manager's File Integrity Monitoring alert generation lets an enrolled agent corrupt manage

CVE-2026-74039 HIGH
7.1 Aug 18

CPU exhaustion in Wazuh Manager 4.0.0-4.14.6 and 5.0.0-beta2 allows authenticated API users with the allow_run_as permis

CVE-2026-74047 HIGH
7.1 Oct 13

Wazuh Manager 4.0.0 through 4.14.7 exposes the plaintext authd.pass agent-enrollment password to authenticated low-privi

CVE-2025-15616 HIGH
7.1 Mar 27

Multiple shell injection and untrusted search path vulnerabilities in Wazuh agent and manager (versions 2.1.0 through 4.

CVE-2026-74031 HIGH
7.0 Oct 13

Path traversal in Wazuh Manager's delete_rule_file and delete_decoder_file helpers lets an attacker who holds the Wazuh

CVE-2026-74044 HIGH
7.0 Aug 18

Path traversal via unsanitized cluster node names in Wazuh Manager 4.0.0 through 4.14.5 enables authenticated cluster pe

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