CVE-2026-46343

Wazuh: Arbitrary File Deletion via Cluster Protocol – Incomplete Path Validation in end_receiving_file()

HIGH
7.2
CVSS Score
Published: August 19, 2026 at 04:07 PM UTC
Updated: October 27, 2026 at 11:10 AM UTC
1 product affected across 1 vendorWazuh

Using wazuh by wazuh?

Get instant alerts when new vulnerabilities affect wazuh - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.2
Exploit prediction
EPSS 0.4%
SSVC
PoC

Description

Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.0.0 until 4.14.6 and 5.0.0-beta2, WazuhCommon.end_receiving_file() in framework/wazuh/core/cluster/common.py allows a cluster-authenticated node to delete files outside WAZUH_PATH. A syn_i_w_m_e request with an unknown task_id reaches the cleanup branch, where an attacker-controlled filename is passed to os.path.join without canonicalization or confinement. Absolute paths and traversal sequences can therefore target files such as ossec.conf, jwt_secret.json, TLS certificates, and ruleset files that are accessible to the Wazuh manager process. Deletion can disable the manager, invalidate API tokens, or disrupt cluster and API connectivity. This issue is fixed in versions 4.14.6 and 5.0.0-beta2.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.0.0 ≤ v < 4.14.65.0.05.0.0 beta1
Affected range stops below 4.14.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.0-beta2, so it looks safe — our inference, not a vendor statement

References (5)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/wazuh/wazuh/security/advisories/GHSA-cqvw-w2rg-327f
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/wazuh/wazuh/pull/36060
x_refsource_MISCPatchRelease Notes
Source: cverecord
https://github.com/wazuh/wazuh/releases/tag/v4.14.6
x_refsource_MISCPatchRelease Notes
Source: cverecord
https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card