Wazuh
CVE-2026-39359
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Manager authd port 1515
-
DeliveryEnroll rogue agent with ".." group name
-
ExploitBypass wopendir() group validation
-
ExecutionTainted group stored in global DB
-
Persistremoted builds path into /var/ossec/etc
-
ImpactExfiltrate client.keys and certificates via config sync
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network reachability to the Wazuh Manager enrollment daemon (authd, default TCP 1515) and the ability to complete agent enrollment while specifying a custom group value containing path traversal ("..") sequences - the group-selection feature of authd is the exact feature abused. Per CVSS PR:N, no authentication is required against a default configuration; however, exploitation is limited where administrators have enabled authd enrollment password authentication (use_password) or otherwise restricted network access to port 1515, in which case an attacker needs the enrollment secret or insider network position. Affected deployments are Manager versions 4.0.0-4.10.3 and 4.11.0-4.14.4; no specific user interaction is needed, and impact is limited to disclosure of files under /var/ossec/etc. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N = 7.5) is internally consistent with the description: exploitation is over the network against the enrollment service, requires low complexity, and needs no user interaction, with impact confined to confidentiality (high) and no integrity or availability effect. The PR:N rating assumes the enrollment interface is reachable without a pre-shared enrollment password, which is the default but is frequently hardened in production - where authd requires an agent enrollment password, realistic exploitation shifts toward authenticated/insider access, so defenders should verify their enrollment configuration. This is not KEV-listed and no POC is referenced (no EPSS or SSVC data was supplied), so it should be treated as a credible but not actively-exploited priority: the exposure of client.keys and internal certificates is severe because those secrets enable agent impersonation and potential lateral movement into the monitoring fabric, which elevates practical impact beyond a simple file read. Absence of EPSS/KEV/POC signals is a data gap, not evidence of low risk. |
| Exploit ScenarioDerived | An attacker who can reach the Manager's enrollment port registers a rogue agent and supplies a group name containing ".." (e.g. traversing from the groups directory up into /var/ossec/etc). authd accepts the group after its wopendir() check passes, and on the next configuration sync remoted streams the referenced files back to the rogue agent, delivering client.keys, ossec.conf, and internal certificates to the attacker. No exploit code is publicly identified, but the low attack complexity and lack of required user interaction make the technique straightforward to weaponize. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 17, 2026
Sensitive file disclosure in the Wazuh Manager (versions 4.0.0-4.10.3 and 4.11.0-4.14.4) allows a malicious enrolling agent to exfiltrate manager secrets by abusing the group parameter during enrollment. The authd enrollment daemon fails to filter path traversal ("..") sequences in the agent-selected group name, so remoted later builds shared-configuration paths that reach /var/ossec/etc and stream files such as client.keys, ossec.conf, and internal certificates to the attacker-controlled agent. There is no public exploit identified at time of analysis, but the network-reachable, unauthenticated CVSS 7.5 profile makes this a meaningful confidentiality risk for exposed manager enrollment services.
RemediationAI
Vendor-released patch: upgrade the Wazuh Manager to 4.10.4 (for the 4.10.x line) or 4.14.5 (for the 4.11.0-4.14.4 line), per the advisory at https://github.com/wazuh/wazuh/security/advisories/GHSA-6q95-fcwc-4h44. Until patched, restrict network exposure of the enrollment service by firewalling the authd port (default TCP 1515) so only trusted provisioning networks can reach it, and enable authd enrollment password authentication (use_password) to prevent unauthenticated agents from registering - the trade-off is added operational overhead when onboarding new agents. Because client.keys and internal certificates may have been exposed, treat this as a potential secrets-compromise event: after patching, rotate agent keys and re-issue affected certificates, accepting the cost of re-enrolling agents. Monitor Manager logs for enrollment requests containing group names with ".." sequences as a detection measure.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Wazuh is an open-source security platform (SIEM/XDR/HIDS) whose Manager coordinates fleets of endpoint agents. Two Manager components are implicated: authd, the enrollment daemon that registers new agents and lets them request a configuration group, and remoted, the daemon that pushes shared/group configuration back to agents. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / path traversal): authd validates the requested group by opening the group directory with wopendir(), but a ".." component resolves to the parent directory (/var/ossec/etc) and therefore passes the existence check instead of being rejected. Because the tainted group value is persisted to the Manager's global database and later concatenated into filesystem paths by remoted without re-validation, the traversal converts a directory-existence check into arbitrary read of files under the Wazuh configuration tree.
Know when Wazuh gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Network-reachable enrollment with no auth in default config (PR:N, AV:N, AC:L); impact is disclosure of sensitive config files only, so C:H, I:N, A:N.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
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.
Executive ViewAI
Wazuh Manager versions 4.0.0-4.14.4 allow unauthenticated attackers to steal manager credentials and certificates through the enrollment service if it is network-accessible. Compromised credentials could allow attackers to impersonate legitimate agents and undermine the trustworthiness of your security monitoring infrastructure. Any organization running affected Wazuh versions with exposed enrollment services should treat this as a critical confidentiality risk.
Restrict enrollment daemon network access via firewall ACLs to authorized agent subnets only; implement network-layer monitoring and alerting for enrollment requests from unexpected sources; isolate the enrollment service behind a network perimeter or jump host; rotate all manager credentials, client keys, and certificates as an interim mitigation pending vendor patch availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Affected Products (CPE)CVE.org
Related Vulnerabilities in Wazuh Memory Safety and Access Control Vulnerabilities
View all 5Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
In the wazuh-slack active response script in Wazuh 4.2.x before 4.2.5, untrusted user agents are passed to a curl comman
Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version
Arbitrary file read in Wazuh cluster deployments (4.0.0 through 4.14.5, and 5.0.0-beta1/beta2) lets a peer node that alr
Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v
A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi
Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attac
Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,
Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele
The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa
Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr
Unauthenticated remote denial of service in the Wazuh cluster daemon (wazuh-clusterd) allows a network peer to exhaust p
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB