Wazuh Agent
CVE-2025-30201
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Wazuh agent config write access
-
DeliveryInject malicious UNC path into agent setting
-
ExploitAgent resolves path and forces NTLM authentication
-
ExecutionRelay NTLM credentials to target service
-
ImpactPrivilege escalation and remote code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Requires an attacker with the ability to write Wazuh agent configuration (PR:H) - e.g., injecting a UNC path like \\host\share into agent settings such as localfile log-monitoring entries, as evidenced by the new is_network_path() guard in src/config/localfile-config.c. Exploitation is limited to Windows agents where accessing a UNC path transparently triggers NTLM authentication, and it depends on the attacker controlling or relaying to a reachable NTLM endpoint; it is not exploitable against an unauthenticated remote attacker with no configuration influence. |
| Impact | This is a genuinely high-severity flaw but NOT a drop-everything emergency based on current signals. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H, 9.1 Critical) is inflated largely by the scope change (S:C) and full CIA impact that follow from a successful NTLM relay, yet it explicitly requires PR:H - the attacker must already be able to modify Wazuh agent configuration settings. The signals conflict: CVSS says Critical/9.1, but EPSS is only 0.33% (55th percentile), indicating low modeled probability of near-term broad exploitation, and the vulnerability is NOT listed in CISA KEV, so there is no confirmed active exploitation. Public exploit code exists (per input and the GHSA advisory), which raises practical risk, but POC availability is distinct from in-the-wild use. CWE-73 (external control of file name/path) is consistent with the UNC-path injection mechanism. Net: prioritize patching to 4.13.0 on Windows agents, but the high privilege prerequisite (control over agent config) and low EPSS suggest this is a targeted post-compromise/escalation primitive rather than a mass-exploitable remote entry point. |
| Exploit ScenarioDerived | An attacker who can modify a Windows Wazuh agent's configuration (e.g., log-monitoring or active-response settings) inserts a malicious UNC path such as \\attacker-host\share. When the agent accesses that path it transparently initiates NTLM authentication to the attacker-controlled host, whose captured/relayed NTLM credentials are forwarded to another service to gain privileged code execution. Public exploit code exists, and the network-based NTLM relay with low attack complexity makes the technique reliable once config write access is obtained. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 19, 2026
Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attacker-supplied UNC paths, causing the agent to perform NTLM authentication to a remote host. That authentication can be relayed to other services, potentially yielding privilege escalation and remote code execution. Publicly available exploit code exists, but there is no CISA KEV confirmation of active exploitation and EPSS is low at 0.33% (55th percentile).
Earlier versions of this analysis (1)
Wazuh is a free and open source platform used for threat prevention, detection, and response. Rated high severity (CVSS 7.7), this vulnerability is remotely exploitable. Public exploit code available.
RemediationAI
Vendor-released patch: upgrade Wazuh Agent to version 4.13.0, which contains the is_network_path() validation and related fixes; see the GHSA advisory at https://github.com/wazuh/wazuh/security/advisories/GHSA-x697-jf34-gp5x and commit 688972da589e5d40d2a81bcd738240303a3dc45a. Until upgrading, restrict agent configuration write access to trusted administrators and audit localfile and other agent settings for UNC or network paths. Compensating controls include blocking outbound SMB (TCP 445) from Wazuh agents to untrusted networks and enforcing SMB signing plus LDAP signing/channel binding to make NTLM relay ineffective; blocking 445 can break legitimate file-share access, and disabling NTLM entirely can break legacy authentication, so test these changes. Applying the vendor patch is the only complete fix.
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 host-based intrusion detection, SIEM, and response platform; its agent reads configuration such as localfile log-monitoring entries. The flaw is CWE-73 (external control of file name or path): pre-4.13.0 Windows agent code accepts network/UNC paths in configuration without validating that the path is local. On Windows, resolving a UNC path such as a double-backslash server share transparently initiates NTLM authentication, so an attacker who can alter agent settings can coerce the agent into sending NetNTLM credentials to a host they control and relay them to SMB, LDAP, or other NTLM-accepting services. The fix adds an is_network_path() guard in src/config/localfile-config.c, converts several filesystem calls to waccess/w_stat wrappers, and adds Windows mpr/winnetwk support; exploitation requires a Windows agent, attacker configuration-write access, and a reachable relay target.
Know when Windows 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:H/UI:N/S:C/C:H/I:H/A:H
Attacker must control agent configuration so PR:H; the forced NTLM relay affects a separate system (S:C) enabling privilege escalation and RCE with full C/I/A impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
6DescriptionNVD
Wazuh is a free and open source platform used for threat prevention, detection, and response. Prior to version 4.13.0, a vulnerability in Wazuh Agent allows authenticated attackers to force NTLM authentication through malicious UNC paths in various agent configuration settings, potentially leading NTLM relay attacks that would result privilege escalation and remote code execution. This issue has been patched in version 4.13.0.
Executive ViewAI
Wazuh Agent for Windows before 4.13.0 can be directed by a high-privileged configuration writer to initiate NTLM authentication to an attacker-controlled UNC path, creating a relay path to privilege escalation and remote code execution on affected endpoints. This puts Windows estates running the vulnerable agent at risk of credential relay and lateral movement, particularly where configuration privileges are broadly assigned or NTLM is not tightly controlled. Publicly available exploit code exists; leadership should prioritize inventory and upgrade to 4.13.0 to limit organizational blast radius.
Apply vendor patch.
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
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)NVD
Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio
Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in
A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr
Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables
Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker
An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote
FreeFloat FTP Server contains multiple critical design flaws that allow unauthenticated remote attackers to upload arbit
Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio
Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/
React Native Metro Development Server binds to external interfaces by default and contains an OS command injection endpo
Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then
External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network
NVD
CVE.org
EPSS
GitHub
Exploit-DB