# CVE-2026-74040: Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process\_files\_from\_worker

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 05-12-2026)
- Next step: Check applicability: affected before 4.14.8 (CNA); fix release not confirmed
- Status: published
- Published: 2026-10-13 · Modified: 2026-10-26
- Record: https://cvemate.com/vulnerability/CVE-2026-74040 · JSON: https://cvemate.com/vulnerability/CVE-2026-74040/json

## Description

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

## Signals

- CVSS: 9.4 critical (v4.0, CVE.org) 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
- EPSS: 0.716%, percentile 55.159%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- wazuh wazuh-manager: ≥ 3.9.0, \< 4.14.8

## References

- <https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8>
- <https://github.com/wazuh/wazuh/releases/tag/v4.14.8>
- <https://www.vulncheck.com/advisories/wazuh-3.9.0-before-4.14.8-arbitrary-file-overwrite-rce-via-process-files-from-worker>

---

Data as of 2026-12-05T19:04:52.690Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
