CVE-2026-74040

published 13 Oct 2026 · updated 26 Oct 2026

Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker

9.1CriticalCVSS 9.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in wazuh 4.14.8.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Wazuhwazuh>=3.9.0 <4.14.84.14.8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Wazuh, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-74040 severity on Zeptric[![CVE-2026-74040](https://zeptric.io/badge/cve/CVE-2026-74040.svg)](https://zeptric.io/cve/CVE-2026-74040)