CVE-2026-39359: Wazuh: Unauthenticated Path Traversal in authd via Agent Group Name
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Wazuh Manager (authd/remoted)to a version that resolves this vulnerability.Fixed in 4.10.4 - Upgrade
Upgrade
Wazuh Manager (authd/remoted)to a version that resolves this vulnerability.Fixed in 4.14.5
Event History
Frequently Asked Questions
What is the severity of CVE-2026-39359?
CVE-2026-39359 has a high severity rating of 7.5.
How do I fix CVE-2026-39359?
To fix CVE-2026-39359, ensure that you update Wazuh to version 4.14.5 or later.
What vulnerability does CVE-2026-39359 describe?
CVE-2026-39359 describes an unauthenticated path traversal vulnerability in the Wazuh authd process.
In which versions of Wazuh is CVE-2026-39359 found?
CVE-2026-39359 is found in Wazuh versions 4.0.0 through 4.10.3 and 4.11.0 through 4.14.4.
What components of Wazuh are affected by CVE-2026-39359?
CVE-2026-39359 affects the Wazuh Manager's enrollment daemon (authd) and synchronization daemon (remoted).