Live threats

All CVEs / Wazuh

CVE-2026-74040wazuh-manager

Arbitrary File Overwrite in Wazuh Manager

Critical 9.4

Priority
56
CVSS 4.0
9.4
EPSS
—
Auth required
Yes
Published
Oct 13, 2026
Updated
Oct 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
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

What happens

Wazuh Manager versions 3.9.0 through 4.14.7 contain an arbitrary file overwrite vulnerability in MasterHandler.process_files_from_worker. An authenticated cluster worker can bypass validation checks and overwrite protected files such as ossec.conf and agent.conf, achieving remote code execution with root privileges on the manager and all agents.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 4.14.8

Update Wazuh Manager to version 4.14.8 or later to apply the security patch.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for wazuh-manager.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.