
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-39359 is an unauthenticated path traversal vulnerability in the Wazuh Manager's enrollment daemon (authd) that allows attackers to exfiltrate sensitive configuration files. It affects Wazuh versions 4.0.0 through 4.10.3 and 4.11.0 through 4.14.4. The flaw was disclosed on July 16–17, 2026, and fixed in versions 4.10.4 and 4.14.5. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory).
The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). During agent enrollment, the authd daemon accepts a group name supplied by the agent and validates it by calling wopendir() on the concatenated path SHAREDCFG_DIR/<group>. Because .. resolves to the parent directory /var/ossec/etc, the directory exists and passes validation. The malicious group name (e.g., "..,default") is then stored in the manager's global database. Subsequently, the remoted daemon uses this unchecked value to construct file paths for agent configuration synchronization via copy_directory(), causing the entire contents of /var/ossec/etc — including client.keys, ossec.conf, and internal certificates — to be streamed to the attacker-controlled agent. A public PoC exploit is included in the official GitHub security advisory (GitHub Advisory).
Successful exploitation results in high confidentiality impact: an unauthenticated attacker can retrieve client.keys (containing agent encryption keys), ossec.conf (manager configuration), and internal TLS certificates from /var/ossec/etc. Because the Wazuh Manager acts as the central authority for all monitored agents, exposure of client.keys and certificates could enable an attacker to impersonate agents, intercept or tamper with agent-manager communications, and potentially compromise the integrity of the entire monitored infrastructure. There is no direct integrity or availability impact from the initial exploit, but the downstream consequences of key exposure may require full re-keying and security review (GitHub Advisory).
OSSEC A:'pwn-agent' V:'v4.9.0' G:'..,default' IP:'src'.pwn_enroll() function.OSSEC K:, the malicious group has been accepted and stored in the global database.remoted daemon will synchronize the contents of /var/ossec/etc (resolved via ..) into the agent's multigroup shared cache at /var/ossec/etc/shared/multigroups/<SHA256_of_group>/. Access client.keys, ossec.conf, and certificates from this path on the enrolled agent or via the sync stream (GitHub Advisory)... sequences.ossec.log entries showing enrollment of agents with group names containing .. or .. variants (e.g., G:'..,default'); authd log entries accepting groups that resolve outside /var/ossec/etc/shared/.client.keys, ossec.conf, certificates) in /var/ossec/etc/shared/multigroups/<hash>/ directories corresponding to traversal-crafted group hashes; newly created multigroup directories with SHA-256 hashes matching sha256("..,default").remoted process performing copy_directory() operations on /var/ossec/etc rather than a subdirectory of /var/ossec/etc/shared/ (GitHub Advisory).Wazuh has released patched versions 4.10.4 (for the 4.0.0–4.10.3 branch) and 4.14.5 (for the 4.11.0–4.14.4 branch); upgrading is the primary recommended remediation. As a network-level workaround, restrict access to the Wazuh Manager enrollment port (default TCP 1515) to trusted networks and authorized agent IP ranges only. Additionally, implement network segmentation to prevent unauthorized hosts from initiating agent enrollment. After patching, rotate client.keys and any certificates that may have been exposed (GitHub Advisory).
The vulnerability was reported by researcher Tomas Illuminati (TomasTurina) and published via the Wazuh GitHub security advisory program. No significant broader media coverage or notable social media commentary has been identified beyond standard CVE aggregator listings as of the disclosure date (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."