Wazuh: merged-file header path traversal in cluster sync allows arbitrary file write under WAZUH_PATH in Wazuh manager
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, cluster.unmerge_info() in framework/wazuh/core/cluster/cluster.py constructs paths from peer-controlled merge_type and name values in a merged synchronization archive. process_files_from_worker() in framework/wazuh/core/cluster/master.py does not adequately confine the resulting path to the declared cluster item directory. A cluster peer holding the shared Fernet key can use traversal in files_metadata.json or a merged-file header to write files such as /var/ossec/etc/ossec.conf. Replacing ossec.conf can configure root-executed commands and lead to code execution when Wazuh services reload. 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-48024
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-35598 Wazuh: cluster peer can read arbitrary master files and forge offline REST API… 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