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

CVE-2026-74040 affects 76 listed versions of Wazuh in the Dawnsentry catalogue.

9.1CVSS critical
Proof of concept publicexploitation
under 1%EPSS (next 30 days)
13 October 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Wazuh

76 of 82 listed versions are affected. Fixed in 4.14.8. The newest release, 4.14.11, is not affected.

4.14.7 4.14.6 4.14.5 4.14.4 4.14.3 4.14.2 4.14.1 4.14.0 4.13.1 4.13.0 4.12.0 4.11.2 4.11.1 4.11.0 4.10.5 4.10.4 4.10.3 4.10.2 4.10.1 4.10.0 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.5 4.7.4 4.7.3 4.7.2 4.7.1 4.7.0 4.6.0 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.11 4.3.10 4.3.9 4.3.8 4.3.7 4.3.6 4.3.5 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.2.7 4.2.6 4.2.5 4.2.4 and 16 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H (Vulncheck)

Published by Vulncheck on 13 October 2026. Last changed 16 October 2026.

Sources

Check one version you run: look CVE-2026-74040 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.