CVE-2026-74040
9.4critical
Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker
- Severity
- 9.4critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.72% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Wazuh wazuh-manager | from 3.9.0 before 4.14.8 Not affected: 4.14.8 | CVE List |
All scores
| VulnCheck | 9.4critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| VulnCheck | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
| https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8 | exploit, vendor-advisory | |
| https://github.com/wazuh/wazuh/releases/tag/v4.14.8 | patch, release-notes | |
| https://www.vulncheck.com/advisories/wazuh-3.9.0-before-4.14.8-arbitrary-file-overwrite-rce-via-process-files-from-worker | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74040 changed 2026-10-26 | CVE Terms of Use |
| NVD | CVE-2026-74040 changed 2026-10-16 | Public domain |