Description
Wazuh is a free and open source platform used for threat prevention, detection, and response. In versions 4.0.0 through 4.10.3 and 4.11.0 through 4.14.4, a logic flaw affects the Wazuh Manager's enrollment daemon (authd) and synchronization daemon (remoted). The authd process allows agents to select a group during enrollment but does not filter path traversal sequences such as "..." While the manager checks for the group directory using wopendir(), the ".." sequence references the parent directory (/var/ossec/etc), allowing it to pass validation. After the malicious group is accepted and stored in the manager's global database, the remoted process uses this unchecked value to build paths for agent configuration synchronization. As a result, sensitive files from /var/ossec/etc, such as client.keys, ossec.conf, and internal certificates, are included in the agent's shared configuration stream and exposed to the attacker. This issue has been fixed in versions 4.10.4 and 4.14.5.
Published: 2026-07-16
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from a logic flaw in the Wazuh Manager's enrollment daemon (authd) and synchronization daemon (remoted). During agent enrollment, the manager accepts group names without filtering path traversal characters such as "..", allowing an attacker to specify a malicious group path. Because the manager later uses this unchecked value when constructing the path for configuration synchronization, the remoted process inadvertently serves files from the manager's configuration directory (/var/ossec/etc). Sensitive artifacts such as client.keys, ossec.conf, and internal certificates are exposed to the attacker through the agent's configuration stream. The weakness is identified as a path traversal flaw (CWE-22), which can lead to unauthorized disclosure of protected configuration data.

Affected Systems

The affected product is Wazuh, an open‑source security monitoring platform. Versions 4.0.0 through 4.10.3 and 4.11.0 through 4.14.4 are vulnerable. The issue is fixed in versions 4.10.4 and 4.14.5 onward.

Risk and Exploitability

With a CVSS score of 7.5, the flaw is considered moderately severe. The EPSS score is below 1 %, indicating a low probability of exploitation in the near future. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an attacker controlling an agent or exploiting the enrollment process to create a group name containing "..", which then triggers the remoted process to read and transmit files located above the intended configuration directory. Because no authentication is required for enrollment, the path traversal can be performed by any entity capable of initiating agent enrollment, making the risk material for environments where agents are deployed extensively.

Generated by OpenCVE AI on July 31, 2026 at 01:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Wazuh Manager to a version that incorporates the fix (4.10.4 or later, 4.14.5 or later).
  • Remove or block any agent group entries that contain path traversal sequences before applying the patch.
  • Audit agent configuration streams and monitor logs for unexpected file contents, and configure alerts for unauthorized disclosure of configuration files.

Generated by OpenCVE AI on July 31, 2026 at 01:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 17 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 02:45:00 +0000

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

Fri, 17 Jul 2026 00:00:00 +0000

Type Values Removed Values Added
Description Wazuh is a free and open source platform used for threat prevention, detection, and response. In versions 4.0.0 through 4.10.3 and 4.11.0 through 4.14.4, a logic flaw affects the Wazuh Manager's enrollment daemon (authd) and synchronization daemon (remoted). The authd process allows agents to select a group during enrollment but does not filter path traversal sequences such as "..." While the manager checks for the group directory using wopendir(), the ".." sequence references the parent directory (/var/ossec/etc), allowing it to pass validation. After the malicious group is accepted and stored in the manager's global database, the remoted process uses this unchecked value to build paths for agent configuration synchronization. As a result, sensitive files from /var/ossec/etc, such as client.keys, ossec.conf, and internal certificates, are included in the agent's shared configuration stream and exposed to the attacker. This issue has been fixed in versions 4.10.4 and 4.14.5.
Title Wazuh: Unauthenticated Path Traversal in authd via Agent Group Name
Weaknesses CWE-22
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-17T13:53:52.826Z

Reserved: 2026-04-06T21:29:17.349Z

Link: CVE-2026-39359

cve-icon Vulnrichment

Updated: 2026-07-17T13:53:47.659Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T01:15:18Z

Weaknesses
  • CWE-22

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