Auth bypass in Wazuh Wazuh-Manager

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.

Vulnerability class: Broken Access Control

Published .

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.

EPSS exploit prediction

No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-74040?
CVE-2026-74040 is a critical-severity vulnerability in Wazuh Wazuh-Manager, classified under Missing Authorization. CVSS score: 9.1/10. Published 2026-10-13.
How severe is CVE-2026-74040?
Critical severity. CVSS v3 base score is 9.1 out of 10.