Wazuh: cluster peer can read arbitrary master files and forge offline REST API…
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Wazuh | wazuh | 4.0.0 to before 4.14.6; 5.0.0-beta1 to before 5.0.0-beta3 | 4.14.6, 5.0.0-beta3 | Patch available | CNA |
- wazuh VendorWazuh Affected 4.0.0 to before 4.14.6; 5.0.0-beta1 to before 5.0.0-beta3 Fixed in 4.14.6, 5.0.0-beta3 Patch available CNA
Remediation
- Fix · CNA wazuh (wazuh) Fixed in 4.14.6, 5.0.0-beta3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-48162
- 2026-10-14 EPSS moved to the 50th–90th percentile
References
More Wazuh vulnerabilities
- TI-2025-17783 Remote code execution in Wazuh server KEVCVSS 3.1CRITICAL 9.9
- TI-2026-23722 Path traversal in wazuh CVSS 3.1CRITICAL 9.9
- TI-2024-01157 Remote code execution and local privilege escalation in Wazuh Windows agent via NetNTLMv2 hash theft CVSS 4.0CRITICAL 9.5
- TI-2026-22556 Wazuh: Pre-auth stack-based buffer overflow in wazuh-remoted print_hex_string() due to signed char promotion on x86_64 CVSS 3.1HIGH 8.2
- TI-2026-35467 Wazuh: merged-file header path traversal in cluster sync allows arbitrary file write under WAZUH_PATH in Wazuh manager CVSS 3.1CRITICAL 9.1
- TI-2026-22555 Deserialization of untrusted data in wazuh CVSS 3.1CRITICAL 9.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences