# CVE-2026-74040: Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker

- Severity: Critical 9.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-13T13:27:30.557Z
- Modified: 2026-10-26T14:15:48.059Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- Wazuh wazuh-manager: from 3.9.0 before 4.14.8 (not affected: 4.14.8)

## Every score

- VulnCheck: CVSS:4.0 9.4 Critical `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`
- VulnCheck: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8> (exploit, vendor-advisory)
- <https://github.com/wazuh/wazuh/releases/tag/v4.14.8> (patch, release-notes)
- <https://www.vulncheck.com/advisories/wazuh-3.9.0-before-4.14.8-arbitrary-file-overwrite-rce-via-process-files-from-worker> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-74040](https://www.cve.org/CVERecord?id=CVE-2026-74040), CVE Terms of Use, modified 2026-10-26
- NVD: [CVE-2026-74040](https://nvd.nist.gov/vuln/detail/CVE-2026-74040), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-74040 · Whole record: https://cve.day/CVE-2026-74040.json · Rebuilt by cve.day 2026-11-25T22:59:43.823Z
