---
title: "CVE-2026-74040: Wazuh - Remote Code Execution"
description: "Wazuh >= 3.9.0 < 4.14.8 contains an arbitrary file overwrite vulnerability caused by trailing-slash basename bypass and missing extra_valid enforcement in MasterHandler.process_files_from_worker, letting cluster workers achieve root remote code execution, exploit requires attacker control of a cluster worker."
url: https://panop.io/threat-heartbeat/CVE-2026-74040/
---

# CVE-2026-74040 Wazuh - Remote Code Execution

Wazuh >= 3.9.0 < 4.14.8 contains an arbitrary file overwrite vulnerability caused by trailing-slash basename bypass and missing extra\_valid enforcement in MasterHandler.process\_files\_from\_worker, letting cluster workers achieve root remote code execution, exploit requires attacker control of a cluster worker.

CVSS base score 9.1 /10

Critical

CISA KEV

Not listed

Public exploit

None known

Authentication

Required

EPSS

0.55% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-74040)

## Details

Type

Remote Code Execution

Impact

Remote Code Execution, File System Write

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Published

13 October 2026

Updated

15 October 2026

Weakness

[CWE-862](https://cwe.mitre.org/data/definitions/862.html)

## Vendor fix

Update to version 4.14.8 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-74040](https://nvd.nist.gov/vuln/detail/CVE-2026-74040)
- [https://github.com/wazuh/wazuh/releases/tag/v4.14.8](https://github.com/wazuh/wazuh/releases/tag/v4.14.8)
- [https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8](https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8)
- [https://www.vulncheck.com/advisories/wazuh-3.9.0-before-4.14.8-arbitrary-file-overwrite-rce-via-process-files-from-worker](https://www.vulncheck.com/advisories/wazuh-3.9.0-before-4.14.8-arbitrary-file-overwrite-rce-via-process-files-from-worker)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
