Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-46343

HIGH 7.5EPSS 28%

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

Mitigation

  • Upgrade wazuh to 5.0.0-beta2 or later.

Who should check

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

Vulnerability facts

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
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
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:NOpen in CVSS calculator
Show all 11 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
EPSS
0.42% chance of exploitation in 30 days (percentile 28, 2026-11-26)
CWE
CWE-22
Published
Modified

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

Package / productAffectedFixedSource
wazuh>= 4.0.0, < 4.14.6; >= 5.0.0-beta1, < 5.0.0-beta2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors