CVE-2026-74040: Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker

Published Oct 13, 2026
·
Updated

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.

Affected Software

1 affected component
Wazuh Wazuh>=3.9.0<4.14.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Wazuh to a version that resolves this vulnerability.

    Fixed in 4.14.8

Event History

Oct 13, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker must control a Wazuh cluster worker. The vulnerable handler allows that worker to overwrite protected files on the master.

2

What is the potential impact if exploitation succeeds?

The attacker can overwrite ossec.conf and agent.conf, leading to root remote code execution on the manager and across every agent.

3

Which deployments are affected?

Wazuh versions from 3.9.0 through versions before 4.14.8 are affected. Clustered deployments with workers are exposed to the described attack path.

4

What version resolves the vulnerability?

Wazuh 4.14.8 is identified as the fixed release. Upgrade affected installations to 4.14.8 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203