Description
Wazuh 4.0.0 before 4.14.6 contains a path traversal vulnerability that allows unauthenticated remote attackers to cause denial of service by enrolling an agent with a dot-sequence name such as ".." through the enrollment port. Attackers exploit insufficient validation in OS_IsValidName() and unsafe path concatenation in delete_diff() to resolve the traversal to the parent queue directory, causing its subdirectories to be removed and stopping all Wazuh services requiring manual recovery.
Published: 2026-08-18
Score: 7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a path traversal flaw in Wazuh 4.x that permits an unauthenticated remote attacker to enroll an agent with a dot‑sequence name such as ".." via the enrollment port. The flaw arises from insufficient validation in OS_IsValidName() and unsafe path concatenation in delete_diff(), which allows the attacker to resolve to the parent queue directory and delete its subdirectories. The resulting removal of the queue directory causes all Wazuh services that rely on it to stop, leading to a denial of service.

Affected Systems

Affected systems include the Wazuh Manager component released before version 4.14.6, starting from the initial 4.0.0 release. The vulnerability is present in every Wazuh package that contains the vulnerable enrollment logic described above.

Risk and Exploitability

The vulnerability has a CVSS score of 7, which reflects a moderate to high severity. EPSS information is not available, and the vulnerability is not currently listed in the CISA KEV catalog. Attackers can exploit the flaw remotely without authentication by sending a carefully crafted enrollment request to the open enrollment port, causing the system to experience a denial of service. Given the lack of public exploitation data, the risk remains theoretical but the impact of a successful attack is severe due to the service disruption and manual recovery requirement.

Generated by OpenCVE AI on August 18, 2026 at 18:28 UTC.

Remediation

Vendor Solution

Upgrade the affected package to 4.14.6 or later.


OpenCVE Recommended Actions

  • Apply the official patch by upgrading Wazuh Manager to version 4.14.6 or later.
  • Limit access to the enrollment port so that only trusted IPs can connect until the patch is applied.
  • Monitor Wazuh logs for failed agent enrollment attempts and verify that the queue directory remains intact after remediation.

Generated by OpenCVE AI on August 18, 2026 at 18:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 19:00:00 +0000

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

Tue, 18 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Description Wazuh 4.0.0 before 4.14.6 contains a path traversal vulnerability that allows unauthenticated remote attackers to cause denial of service by enrolling an agent with a dot-sequence name such as ".." through the enrollment port. Attackers exploit insufficient validation in OS_IsValidName() and unsafe path concatenation in delete_diff() to resolve the traversal to the parent queue directory, causing its subdirectories to be removed and stopping all Wazuh services requiring manual recovery.
Title Wazuh 4.0.0 < 4.14.6 Path Traversal DoS via Agent Enrollment
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

cvssV4_0

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


Subscriptions

Wazuh Wazuh-manager
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-18T17:25:08.465Z

Reserved: 2026-08-14T14:06:40.512Z

Link: CVE-2026-74038

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-18T18:19:33.610

Modified: 2026-08-18T18:19:33.610

Link: CVE-2026-74038

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T18:45:03Z

Weaknesses
  • CWE-22

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