CVE-2026-49441: Wazuh : peer-controlled metadata key in process_files_from_worker non-merged branch allows arbitrary file write under WAZUH_PATH on Wazuh manager
Vulnerability summary
CVE-2026-49441 is a critical (CVSS 9.1) External Control of File Name or Path vulnerability in wazuh. EPSS estimates a 0.77% chance of exploitation in the next 30 days, higher than 55.2% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 19-08-2026PublishedVulnerability first disclosed.
- 19-08-2026Last modifiedVulnerability information updated.
Description
Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.3.0 until 4.14.6 and 5.0.0-beta3, the non-merged branch of process_files_from_worker() in framework/wazuh/core/cluster/master.py trusts a peer-controlled file_path key from files_metadata.json. The destination is joined to WAZUH_PATH without proving that it remains inside the directory selected by cluster_item_key. A cluster peer holding the shared Fernet key can upload a crafted extra-valid archive and overwrite security-sensitive files such as /var/ossec/etc/ossec.conf. Replacing ossec.conf can configure root-executed commands and lead to code execution after a service reload. This issue is fixed in versions 4.14.6 and 5.0.0-beta3.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
0.77%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
Increase +0.25 pp
From 0.52% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundWazuh
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Wazuh1 product
- wazuh≥ 5.0.0-beta1, < 5.0.0-beta3 | ≥ 4.3.0, < 4.14.6 | 5.0.0:beta1 | 5.0.0:beta2
1 vendor · 1 product
References
5 links- github.com/wazuh/wazuh/security/advisories/GHSA-3v57-hgvj-3vj2X Refsource CONFIRMExploitVendor Advisory