CVE-2026-74040
JSON

9.4critical

Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker

Severity
9.4critical CVSS:4.0 by VulnCheck
Exploit likelihood
0.72% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
Wazuh wazuh-managerfrom 3.9.0 before 4.14.8
Not affected: 4.14.8
CVE List

All scores

VulnCheck9.4critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
VulnCheck9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-862

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74040 changed 2026-10-26CVE Terms of Use
NVDCVE-2026-74040 changed 2026-10-16Public domain