CVE-2026-39359

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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*

History

20 Jul 2026, 13:42

Type Values Removed Values Added
First Time Wazuh wazuh
Wazuh
CPE cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
References () https://github.com/wazuh/wazuh/security/advisories/GHSA-6q95-fcwc-4h44 - () https://github.com/wazuh/wazuh/security/advisories/GHSA-6q95-fcwc-4h44 - Exploit, Mitigation, Vendor Advisory

17 Jul 2026, 14:17

Type Values Removed Values Added
References () https://github.com/wazuh/wazuh/security/advisories/GHSA-6q95-fcwc-4h44 - () https://github.com/wazuh/wazuh/security/advisories/GHSA-6q95-fcwc-4h44 -

17 Jul 2026, 00:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-17 00:16

Updated : 2026-07-20 13:42


NVD link : CVE-2026-39359

Mitre link : CVE-2026-39359

CVE.ORG link : CVE-2026-39359


JSON object : View

Products Affected

wazuh

  • wazuh
CWE
CWE-22

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