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.
Published: 2026-08-19
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Wazuh’s cluster handling routine WazuhCommon.end_receiving_file() permits a cluster‑authenticated node to delete arbitrary files when it processes a syn_i_w_m_e request with an unknown task_id. The routine builds a file path from the attacker‑controlled filename without normalizing or confining it, so absolute paths and traversal sequences can remove sensitive configuration files such as ossec.conf, jwt_secret.json, TLS certificates, and ruleset files. Removing these items can cause the Wazuh manager to stop, invalidate API tokens, and break cluster and API connectivity, effectively disabling key security services.

Affected Systems

The vulnerability affects the open‑source Wazuh platform, specifically deployments using Wazuh 4.0.0 through 4.14.5 and pre‑5.0.0‑beta2 releases. Security patches are included in Wazuh version 4.14.6 and newer, as well as in the 5.0.0‑beta2 release.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity. EPSS score of 0.00264 indicates a very low probability of exploitation, but the deletion of critical system files remains a significant risk, especially in environments with cluster nodes that can authenticate. The vulnerability is not listed in the CISA KEV catalog, but the potential for a denial‑of‑service and integrity breach warrants aggressive remediation.

Generated by OpenCVE AI on August 20, 2026 at 14:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Wazuh to the patched releases 4.14.6 or 5.0.0‑beta2 or newer.
  • Verify that only trusted nodes are allowed to join the Wazuh cluster and that cluster communication is restricted to the internal network.
  • Apply strict file and directory permissions so that only the Wazuh manager process can modify critical configuration files, limiting the damage of any path traversal or deletion attempt.

Generated by OpenCVE AI on August 20, 2026 at 14:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 19:00:00 +0000

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

Wed, 19 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
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.
Title Wazuh: Arbitrary File Deletion via Cluster Protocol – Incomplete Path Validation in end_receiving_file()
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 7.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T17:47:03.427Z

Reserved: 2026-05-13T18:37:30.990Z

Link: CVE-2026-46343

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-19T16:17:11.827

Modified: 2026-08-19T18:16:40.457

Link: CVE-2026-46343

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T14:45:16Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')