CVE-2026-74040

9.1Critical

Published Oct 13, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.8-flash

9.1CVSS

Critical

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
High
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-862

What an attacker gets

A compromised Wazuh cluster worker can overwrite protected files on the master node to execute code as root across the manager and all connected agents. The attacker must already have control over a connected cluster worker node.

Root cause

MasterHandler.process_files_from_worker fails to enforce extra_valid checks and is vulnerable to a trailing-slash basename path bypass when handling worker files.

Affected versions

Wazuh 3.9.0 before 4.14.8

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Fix & remediation

Upgrade Wazuh manager and cluster nodes to version 4.14.8 or later. If patching immediately is not possible, isolate or disconnect untrusted cluster worker nodes from the master.

remediation — bash
$ sudo apt-get update && sudo apt-get install --only-upgrade wazuh-manager

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

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

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-74040

More fully triaged vulnerabilities you may want to check next.