CVE-2026-48024: Wazuh: merged-file header path traversal in cluster sync allows arbitrary file write under WAZUH_PATH in Wazuh manager

Published Aug 19, 2026
·
Updated

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.unmergeinfo() in framework/wazuh/core/cluster/cluster.py constructs paths from peer-controlled mergetype and name values in a merged synchronization archive. processfilesfromworker() 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 filesmetadata.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.

Affected Software

1 affected component
Wazuh Wazuh Manager>4.0.0<=4.14.6, =5.0.0-beta3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.14.6
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.0.0-beta3

Event History

Aug 19, 2026
CVE Published
via MITRE·04:14 PM
Data Sourced
via MITRE·04:14 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this vulnerability?

An attacker needs to act as a Wazuh cluster peer and possess the shared Fernet key. The issue is therefore relevant to deployments using cluster synchronization where a peer or the shared key has been compromised.

2

What is the practical impact of successful exploitation?

A malicious cluster peer can use traversal values in synchronization metadata or merged-file headers to write files under WAZUH_PATH, including /var/ossec/etc/ossec.conf. Replacing that configuration can configure commands that execute as root when Wazuh services reload.

3

Which versions need remediation?

Affected versions are Wazuh 4.0.0 through versions before 4.14.6, and 5.0.0-beta versions before 5.0.0-beta3. The issue is fixed in 4.14.6 and 5.0.0-beta3.

4

What should be investigated if compromise is suspected?

Investigate whether any cluster peer or the shared Fernet key may have been compromised, and inspect synchronization archives and metadata for traversal-style merge_type or name values. Also review /var/ossec/etc/ossec.conf for unauthorized changes, especially command configurations that could run during service reload.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203