Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/wazuh/wazuh/releases/tag/v4.14.8
- https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8
- https://www.vulncheck.com/advisories/wazuh-3.9.0-before-4.14.8-arbitrary-file-ov
- https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8
FAQ
What is CVE-2026-74040?
CVE-2026-74040 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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. Atta...
How severe is CVE-2026-74040?
CVE-2026-74040 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-74040?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.