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.
Published: 2026-10-13
Score: 9.4 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability allows a malicious cluster worker to overwrite protected configuration files on the Wazuh manager, specifically ossec.conf and agent.conf. By exploiting a trailing‑slash basename bypass and a missing enforcement guard in MasterHandler.process_files_from_worker, an attacker who controls a worker can manipulate those files with root privileges. This results in the ability to execute arbitrary code on the manager and every connected agent, delivering full remote code execution across the entire cluster.

Affected Systems

The issue affects Wazuh Manager versions from 3.9.0 up to, but not including, 4.14.8. Any environment running one of these releases and participating in a Wazuh cluster can be impacted, including all agents that rely on the manager’s configuration files.

Risk and Exploitability

With a CVSS score of 9.4 the vulnerability is deemed critical. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog. Exploitation requires the attacker to control a cluster worker or compromise a worker’s host. Once the worker is trusted, it can overwrite the protected files, giving the attacker root privileges on the manager and the ability to affect all agents. The lack of a network segregation or authentication measure for workers dramatically increases the risk of the attack vector, making the flaw highly exploitable in environments where worker nodes are not strictly isolated from the manager.

Generated by OpenCVE AI on October 13, 2026 at 15:10 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Wazuh Manager to version 4.14.8 or later to eliminate the flaw.
  • Restrict cluster worker nodes to trusted, hardened systems and enforce strict authentication so that only authorized workers can communicate with the manager.
  • If possible, isolate or disable any workers that have not been updated or are running untrusted code until a remediation is applied.

Generated by OpenCVE AI on October 13, 2026 at 15:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Wazuh wazuh-manager
Vendors & Products Wazuh wazuh-manager

Tue, 13 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Title Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker
First Time appeared Wazuh
Wazuh wazuh
Weaknesses CWE-862
CPEs cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
Vendors & Products Wazuh
Wazuh wazuh
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.4, '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'}


Subscriptions

Wazuh Wazuh Wazuh-manager
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T14:15:48.059Z

Reserved: 2026-08-14T14:06:40.512Z

Link: CVE-2026-74040

cve-icon Vulnrichment

Updated: 2026-10-16T21:53:12.575Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-13T14:17:40.720

Modified: 2026-10-16T22:17:55.680

Link: CVE-2026-74040

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T15:30:07Z

Weaknesses