# CVE-2026-46343: Wazuh: Arbitrary File Deletion via Cluster Protocol – Incomplete Path Validation in end\_receiving\_file()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: High; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.42% (percentile 28, 2026-11-26)
- **CWE:** CWE-22
- **Published:** 2026-08-19T16:07:58.056Z
- **Modified:** 2026-10-27T11:10:00.193Z

## Who should check

- Anyone running wazuh \>= 4.0.0, \< 4.14.6; \>= 5.0.0-beta1, \< 5.0.0-beta2

## 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 and fixed versions

- wazuh: \>= 4.0.0, \< 4.14.6; \>= 5.0.0-beta1, \< 5.0.0-beta2 (cvelist)

## Mitigation

- Upgrade wazuh to 5.0.0-beta2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46343. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46343.md
Affected: wazuh >= 4.0.0, < 4.14.6; >= 5.0.0-beta1, < 5.0.0-beta2
Fixed in: wazuh 4.14.6, wazuh 5.0.0-beta2

Steps:
1. Search this machine and project for wazuh: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46343 being exploited?

There is no confirmed exploitation: CVE-2026-46343 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46343?

High: CVSS 7.5 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-46343?

wazuh \>= 4.0.0, \< 4.14.6; \>= 5.0.0-beta1, \< 5.0.0-beta2.

### Is there a fix for CVE-2026-46343?

Yes. Fixed in wazuh 4.14.6, wazuh 5.0.0-beta2. Upgrade wazuh to 5.0.0-beta2 or later.

### How do I check if I'm affected by CVE-2026-46343?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/wazuh/wazuh/security/advisories/GHSA-cqvw-w2rg-327f>
- patch: <https://github.com/wazuh/wazuh/pull/36060>
- patch: <https://github.com/wazuh/wazuh/commit/90d43547d166cdbe65e9a3d011f946214df9179c>
- patch: <https://github.com/wazuh/wazuh/releases/tag/v4.14.6>
- patch: <https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46343>

HTML: <https://flawdb.com/CVE-2026-46343> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46343>
