CVE-2026-74040
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.
Published:Oct 13, 2026
Last Modified:Oct 26, 2026
EPS:Oct 13, 2026
EPSS Score:0.00716
CVSS Score:9.1
Affected Products
Vendor
Product
Action
Vendor
Wazuh
Product
Wazuh
Wazuh
Wazuh
Vendor
Wazuh
Product
Wazuh-manager
Wazuh
Wazuh-manager
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
