Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-74040
VULNERABILITY

CVE-2026-74040

Common Vulnerabilities and Exposures record

CRITICAL

Summary

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.

Risk

CVSS
9.4
Severity
CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Oct 13, 2026 14:17
Modified
Oct 16, 2026 22:17
Last observed
Oct 16, 2026 23:38

CWE

CWE-862

References