
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-50971 is an unquoted service path vulnerability (CWE-428) in Malwarebytes 4.5 for Windows that allows local attackers to escalate privileges to LocalSystem by placing malicious executables in unquoted path directories executed during service startup or system reboot. The vulnerability affects Malwarebytes versions up to and including 4.5.0 on Windows. It was published on June 19, 2026, and assigned by VulnCheck. The CVSS v3.1 base score is 7.8 (High) and the CVSS v4.0 base score is 8.5 (High) (GitHub Advisory, VulnCheck Advisory).
The root cause is CWE-428 (Unquoted Search Path or Element): the MBAMService executable's service path contains spaces but is not enclosed in quotation marks in the Windows service configuration. When Windows resolves the unquoted path, it attempts to execute files matching partial path segments — for example, if the service path is C:\Program Files\Malwarebytes\..., Windows may first attempt to execute C:\Program.exe. A local attacker with write access to a parent directory in the path can place a malicious executable at one of these intermediate locations, which will then be executed with LocalSystem privileges when the service starts or the system reboots. Exploitation requires low-privilege local access and no user interaction (GitHub Advisory, Exploit-DB).
Successful exploitation grants the attacker code execution with LocalSystem privileges — the highest privilege level on a Windows system — resulting in full confidentiality, integrity, and availability compromise of the affected host. An attacker can read sensitive data, modify system files, install persistent backdoors, disable security software, and use the compromised system as a pivot point for lateral movement within the network. The impact is confined to the vulnerable system itself (no subsequent system impact in CVSS v4.0 terms), but the LocalSystem context makes post-exploitation highly effective (GitHub Advisory, VulnCheck Advisory).
wmic service get name,pathname,startmode or PowerShell Get-WmiObject Win32_Service) to confirm the MBAMService path is unquoted and contains spaces.C:\Program Files\Malwarebytes\Anti-Malware\MBAMService.exe) and identify which parent directory segment is exploitable (e.g., C:\Program.exe or C:\Program Files\Malwarebytes.exe).C:\ or another directory in the path) using icacls or similar tools.C:\Program.exe).cmd.exe, powershell.exe, reverse shell binaries) as children of the Windows Service Control Manager (services.exe) around service startup or reboot time.C:\Program.exe, C:\Program Files\Malwarebytes.exe) that do not belong to legitimate software.HKLM\SYSTEM\CurrentControlSet\Services\MBAMService — the ImagePath value should be quoted; an unquoted value confirms the vulnerable configuration is present.The primary remediation is to update Malwarebytes to a version released after 4.5.0, which addresses the unquoted service path (VulnCheck Advisory). As a workaround prior to patching, administrators should restrict write permissions on directories in the MBAMService executable path (particularly the system root C:\) to prevent low-privileged users from placing executables there. Additionally, auditing Windows services for unquoted paths using tools like wmic service get name,pathname,startmode | findstr /i "auto" | findstr /i /v "c:\windows\" can help identify exposure. Implementing application whitelisting (e.g., Windows Defender Application Control) can also prevent unauthorized executables from running in these locations.
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."