Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise/operate a cluster worker node
-
DeliveryRecover shared cluster Fernet key
-
ExploitSend crafted DAPI send_tmp_file with traversal/absolute path
-
ExecutionMaster returns private_key.pem over cluster channel
-
PersistForge administrator API token offline
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
Vendor-released patch: Wazuh 4.14.6 (4.x line) and 5.0.0-beta3 (5.x line). Apply immediately.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
Authenticated cluster peers in Wazuh Manager 4.4.0 through 4.14.3 can write arbitrary files outside the cluster synchron
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
Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version
Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v
A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi
Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attac
Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,
Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele
The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa
Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr
Unauthenticated remote denial of service in the Wazuh cluster daemon (wazuh-clusterd) allows a network peer to exhaust p
EUVD-2026-62556
NVD
CVE.org
EPSS
GitHub
Exploit-DB