Skip to main content

Wazuh Agent CVE-2025-30201

CRITICAL
External Control of File Name or Path (CWE-73)
2025-11-21 security-advisories@github.com
9.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain Wazuh agent config write access
  2. Delivery
    Inject malicious UNC path into agent setting
  3. Exploit
    Agent resolves path and forces NTLM authentication
  4. Execution
    Relay NTLM credentials to target service
  5. Impact
    Privilege 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – 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)
v1 Mar 28, 2026 - 19:23 CVSS 7.7

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

NVD PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.1 CRITICAL

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.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

6
Analysis Updated
Oct 19, 2026 - 13:28 vuln.today
v2 - CVSS changed
Severity Changed
Oct 19, 2026 - 13:23 NVD
HIGH CRITICAL
CVSS changed
Oct 19, 2026 - 13:23 NVD
7.7 (HIGH) 9.1 (CRITICAL)
Patch released
Mar 28, 2026 - 19:23 nvd
Patch available
PoC Detected
Dec 02, 2025 - 16:45 vuln.today
Public exploit code
CVE Published
Nov 21, 2025 - 19:15 nvd
HIGH 7.7

DescriptionNVD

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 45% exploitable
Prevalence
Medium
popular open-source XDR/SIEM, but security-focused rather than universal deployment
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

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

cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
CVE-2025-52691 CRITICAL POC
10.0 Dec 29

Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio

CVE-2019-0803 HIGH POC
7.8 Apr 09

Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in

CVE-2020-1472 MEDIUM POC
5.5 Aug 17

A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr

CVE-2025-33053 HIGH POC
8.8 Jun 10

Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables

CVE-2025-33073 HIGH POC
8.8 Jun 10

Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker

CVE-2013-10047 CRITICAL POC
9.3 Aug 01

An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote

CVE-2012-10030 CRITICAL POC
9.3 Aug 05

FreeFloat FTP Server contains multiple critical design flaws that allow unauthenticated remote attackers to upload arbit

CVE-2025-34101 CRITICAL POC
9.3 Jul 10

Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio

CVE-2025-34095 CRITICAL POC
9.3 Jul 10

Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/

CVE-2025-11953 CRITICAL POC
9.8 Nov 03

React Native Metro Development Server binds to external interfaces by default and contains an OS command injection endpo

CVE-2026-96951 HIGH POC
8.8 Oct 13

Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then

CVE-2025-24054 MEDIUM POC
6.5 Mar 11

External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network

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