CVE-2026-74040 Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker
CriticalCVSS 9.4
EPSS 0.72%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
Wazuh versions from 3.9.0 before 4.14.8 contain an arbitrary file overwrite vulnerability in MasterHandler.process_files_from_worker allowing a cluster worker to overwrite protected master files. Attackers controlling a worker can use a trailing-slash basename bypass and missing extra_valid enforcement to overwrite ossec.conf and agent.conf, achieving root remote code execution across the manager and every agent.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| wazuh | >= 3.9.0, < 4.14.8 | 4.14.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wazuh | >= 3.9.0, < 4.14.8 | 4.14.8 |
References
- GitHub Security Advisory (GHSA-88p6-7cm8-xwj8) exploit vendor-advisory
- Wazuh v4.14.8 Release Notes patch release-notes
- VulnCheck Advisory: Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker third-party-advisory
- ENISA EUVD EUVD-2026-98676 third-party-advisory