CVE-2026-39359 Wazuh: Unauthenticated Path Traversal in authd via Agent Group Name

High 7.5 Published Updated

Unauthenticated attackers can exploit path traversal in Wazuh authd to read sensitive configuration files and keys from the manager.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-39359?

CVE-2026-39359 is a high-severity path traversal vulnerability in Wazuh Wazuh, published on 16 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-39359?

It affects 1 product.

Products include Wazuh Wazuh.

How do I fix CVE-2026-39359?

No fix has been published for CVE-2026-39359 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-39359 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-39359 exists.

All Wazuh Wazuh vulnerabilities

Sources

Also known as GHSA-6q95-fcwc-4h44.

Is CVE-2026-39359 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free