Skip to main content

Wazuh EUVDEUVD-2026-62556

| CVE-2026-48162 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. Access
    Compromise/operate a cluster worker node
  2. Delivery
    Recover shared cluster Fernet key
  3. Exploit
    Send crafted DAPI send_tmp_file with traversal/absolute path
  4. Execution
    Master returns private_key.pem over cluster channel
  5. Persist
    Forge administrator API token offline
  6. Impact
    Execute administrative REST API actions as admin

Vulnerability Assessment

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

Requires the attacker to be an authenticated cluster peer that possesses the shared cluster Fernet key (CVSS PR:H) and can reach the master over the cluster channel - i.e. only multi-node Wazuh cluster deployments are affected, not standalone single-node installs. The specific enabling feature is the DistributedAPI send_tmp_file operation, which accepts a caller-supplied tmp_file value; exploitation succeeds because that value is joined to WAZUH_PATH without canonicalization, so supplying an absolute path or ../ traversal is sufficient. Limiting factors: no exposure without cluster mode, no exploitation without the shared key (so it presupposes prior compromise of, or malicious control over, a node), and the impactful escalation depends on the target file (private_key.pem) being present and readable by the master process, which it is by default on a manager node.

Impact

The 9.1 CVSS base score looks critical, but the real-world barrier is meaningful: the CVSS vector encodes PR:H, and the description confirms the attacker must already be a cluster peer holding the shared Fernet key - so this is a privilege-escalation / lateral-movement primitive available to a compromised or rogue worker node, not an internet-facing unauthenticated RCE. Where it earns its severity is the scope change (S:C): the read primitive directly yields the API signing key, converting limited file read into offline forgery of admin tokens and complete administrative control of the security platform, which is why C/I/A are all High. No EPSS score and no CISA KEV entry were provided, and no POC is referenced, so there is no evidence of active exploitation or automatable mass exploitation at this time - the signal set points to a targeted insider/compromised-node risk rather than a widespread opportunistic one. That said, because Wazuh is itself the detection tooling, any operator running a multi-node cluster - from a large SOC down to a mid-sized municipal IT team - should treat compromise of one node as a path to compromising the whole security fabric and patch promptly. Caveat for defenders: single-node (non-clustered) Wazuh installations appear not to expose this path, so raw CVSS overstates risk for the many standalone deployments.

Exploit ScenarioDerived

An attacker who has compromised a single Wazuh worker node (or a malicious insider operating one) recovers the shared cluster Fernet key and issues a DAPI send_tmp_file request with tmp_file set to '/var/ossec/api/configuration/security/private_key.pem', causing the master to return the API signing key over the cluster channel. Using that key offline, the attacker mints a valid administrator REST API JWT and drives full administrative operations against the manager without creating any account. No public POC is referenced, but the low attack complexity (AC:L) makes exploitation reliable once the key is held.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
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 – Aug 19, 2026

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 already holds the shared cluster Fernet key coerce the master into returning any file it can read over the encrypted cluster channel. By retrieving /var/ossec/api/configuration/security/private_key.pem, that peer can forge administrator REST API tokens offline and exercise full administrative privileges without ever creating an account. No public exploit identified at time of analysis; the underlying fix is confirmed in the vendor advisory and shipped in 4.14.6 and 5.0.0-beta3.

RemediationAI

Vendor-released patch: upgrade to Wazuh 4.14.6 (https://github.com/wazuh/wazuh/releases/tag/v4.14.6) on the 4.x line, or to 5.0.0-beta3 (https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3) if running the 5.0 pre-release; the fix (PR https://github.com/wazuh/wazuh/pull/36246, commit de1eeedbe336744934be4e20d87d84a76e438cee) adds realpath resolution and confinement of tmp_file to the OSSEC tmp directory. Because the vulnerability can already have exposed the API private key, after patching you should rotate /var/ossec/api/configuration/security/private_key.pem (invalidating any forged tokens) and rotate the shared cluster Fernet key, then review authentication_pool/API logs for anomalous admin token use. Where immediate patching is not possible, reduce exposure by strictly firewalling the cluster port (default 1516/tcp) so only trusted node IPs can speak on the cluster channel and by treating every cluster node as a crown-jewel host, since any node holding the shared key can trigger the read - note this network control does not protect against an already-compromised legitimate node, so it is a stopgap, not a substitute for the upgrade.

Affected VersionsENISA

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

Affected Packages

euvd wazuh_4_0_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 XDR/SIEM whose multi-node clusters distribute API operations via a DistributedAPI (DAPI) mechanism, with worker and master nodes authenticating each other using a shared symmetric Fernet key. The flaw is a classic CWE-73 (External Control of File Name or Path): DistributedAPI.send_tmp_file() in framework/wazuh/core/cluster/dapi/dapi.py built the source path as os.path.join(common.WAZUH_PATH, self.f_kwargs['tmp_file']) with no canonicalization or directory confinement. Because os.path.join discards the base when the second argument is absolute - and does not collapse '../' sequences - a caller supplying an absolute path (e.g. /etc/passwd) or a traversal string (e.g. ../api/configuration/security/private_key.pem) makes the master read and stream back an out-of-scope file. The patched code resolves the joined path with os.path.realpath() and rejects anything not confined under common.OSSEC_TMP_PATH. Affected component per CPE is cpe:2.3:a:wazuh:wazuh, specifically clustered installations where DAPI file transfer is reachable.

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 hold the shared cluster key (PR:H) but acts over the network with low complexity; arbitrary file read yields the API key, escaping the DAPI component to compromise the security authority (S:C), giving full C/I/A via forged admin tokens.

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

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:13 cve.org
CRITICAL 9.1

DescriptionCVE.org

Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.0.0 until 4.14.6 and 5.0.0-beta3, DistributedAPI.send_tmp_file() in framework/wazuh/core/cluster/dapi/dapi.py joins an attacker-controlled tmp_file value to WAZUH_PATH without canonicalization or confinement. A cluster peer holding the shared Fernet key can use traversal or an absolute path to make the master return any readable file over the cluster channel. Reading /var/ossec/api/configuration/security/private_key.pem allows the peer to forge administrator REST API tokens offline and then exercise administrative privileges without creating an account. This issue is fixed in versions 4.14.6 and 5.0.0-beta3.

Executive ViewAI

Why It Matters

Critical vulnerabilities in Wazuh versions 4.0.0-4.14.5 and 5.0.0-beta1/beta2 allow attackers with cluster-level network access to forge administrator credentials and gain full control of your security monitoring infrastructure. If exploited, attackers could disable security alerts, manipulate audit logs, and access sensitive information from all monitored systems, effectively blinding your security operations.

Business Impact: Severe
Compensating Controls

Vendor-released patch: Wazuh 4.14.6 (4.x line) and 5.0.0-beta3 (5.x line). Apply immediately.

Threat Intelligence Overview

EPSS Score
0.6%
Top 53% exploitable
Prevalence
Medium
popular open-source SIEM/XDR, but only clustered multi-node deployments are affected
Exploit
POC
Public exploit code exists
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 Yes
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-2026-30893 CRITICAL POC
9.9 Apr 29

Authenticated cluster peers in Wazuh Manager 4.4.0 through 4.14.3 can write arbitrary files outside the cluster synchron

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-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-2025-30201 CRITICAL POC
9.1 Nov 21

Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attac

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

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