CVE-2026-74040
Wazuh versions from 3.9.0 before 4.14.8 contain an arbitrary file overwrite vulnerability in MasterHandler.processfilesfromworker allowing a cluster worker to overwrite protected master files. Attackers controlling a worker can use a trailing-slash basename bypass and missing extravalid enforcement to overwrite ossec.conf and agent.conf, achieving root remote code execution across the manager and every agent.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74040.json, https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8, https://nvd.nist.gov/vuln/detail/CVE-2026-74040, https://www.vulncheck.com/advisories/wazuh-3.9.0-before-4.14.8-arbitrary-file-overwrite-rce-via-process-files-from-worker, https://github.com/wazuh/wazuh/releases/tag/v4.14.8, https://github.com/wazuh/wazuh