Skip to main content

Wazuh CVE-2026-39359

HIGH
Path Traversal (CWE-22)
2026-07-17 security-advisories@github.com
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Manager authd port 1515
  2. Delivery
    Enroll rogue agent with ".." group name
  3. Exploit
    Bypass wopendir() group validation
  4. Execution
    Tainted group stored in global DB
  5. Persist
    remoted builds path into /var/ossec/etc
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 85% exploitable
Prevalence
High
widely deployed open-source SIEM/XDR across many enterprise environments
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

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

Related Vulnerabilities in Wazuh Memory Safety and Access Control Vulnerabilities

View all 5

More in Wazuh

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2021-44079 CRITICAL POC
9.8 Nov 22

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

CVE-2026-48024 CRITICAL POC
9.1 Aug 19

Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version

CVE-2026-48162 CRITICAL POC
9.1 Aug 19

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

CVE-2026-61800 CRITICAL POC
9.1 Aug 27

Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v

CVE-2026-25769 CRITICAL POC
9.1 Mar 17

A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi

CVE-2025-30201 CRITICAL POC
9.1 Nov 21

Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attac

CVE-2026-44901 HIGH POC
8.4 Aug 19

Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,

CVE-2026-54083 HIGH POC
8.1 Aug 27

Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele

CVE-2018-19666 HIGH POC
7.8 Nov 29

The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa

CVE-2026-44252 HIGH POC
7.7 Aug 19

Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr

CVE-2026-71540 HIGH POC
7.5 Sep 24

Unauthenticated remote denial of service in the Wazuh cluster daemon (wazuh-clusterd) allows a network peer to exhaust p

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy