CVE-2026-74040

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductWazuh-manager
PublishedOct 13, 2026
First seenOct 13, 2026

How to fix

Affected products

ProductAffected versionsFixed in
Wazuh wazuh-manager3.9.0 ≤ v < 4.14.84.14.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.