Arbitrary File Overwrite Vulnerability in Wazuh by Wazuh
CVE-2026-74040
9.4CRITICAL
What is CVE-2026-74040?
Wazuh versions from 3.9.0 to 4.14.7 are vulnerable to an arbitrary file overwrite exploit, specifically in the MasterHandler.process_files_from_worker function. This flaw allows an attacker controlling a cluster worker to manipulate protected master files, facilitating the potential for root remote code execution by overwriting configuration files such as ossec.conf and agent.conf. Exploitation of this vulnerability can compromise the integrity and security of the Wazuh manager and connected agents.
Affected Version(s)
wazuh-manager 3.9.0 < 4.14.8
wazuh-manager 4.14.8
