CVE-2026-74040: Vulnerability in Wazuh versions from

Critical. 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.

CWE-862

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-862
Published
13 Oct 2026
Last change
16 Oct 2026

Affected products

Affected versions and the first fixed release

  • Wazuh versions from Before 4.14.8. Fixed in 4.14.8

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related