HIGH 7.8

CVE-2022-50971: Malwarebytes 4.5 Privilege Escalation via Unquoted Service Path

Malwarebytes version 4.5 has a privilege escalation flaw in its service startup process. An attacker with basic local access can place a malicious program in specific system directories, and when Malwarebytes' service starts or the system reboots, that malicious code runs with the highest system privileges, giving the attacker complete control over the machine.

Source data · NVD / CISA · public domain

CVSS
3.1 · 7.8 HIGH · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses (CWE)
CWE-428
Affected products
1 configuration(s)
Published / Modified
2026-06-19 / 2026-06-26

NVD description (verbatim)

Malwarebytes 4.5 contains an unquoted service path vulnerability in the MBAMService executable that allows local attackers to escalate privileges by injecting malicious code into the system root path. Attackers can place executable files in unquoted path directories that execute with LocalSystem privileges during service startup or system reboot.

4 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2022-50971 is an unquoted service path vulnerability (CWE-428) in the MBAMService executable of Malwarebytes 4.5. The service fails to properly quote the full executable path, creating a window for DLL or executable injection in the unquoted path. During service initialization or system reboot, Windows searches for the executable in order of precedence through unquoted path directories, allowing an authenticated local user to place a trojan in a predictable location (such as a parent directory in the service path) that executes with LocalSystem privileges. This is a post-authentication privilege escalation vector that converts local user access into system-level compromise.

Business impact

Exploitation could allow an insider threat or lateral-movement attacker to gain system-level control on endpoints running Malwarebytes 4.5, bypassing the security tool itself and potentially disabling or manipulating it. Organizations relying on Malwarebytes for endpoint protection face the risk that a compromised user account—or an attacker who has achieved user-level code execution—can silently escalate to administrative control without further user interaction or detection.

Affected systems

Malwarebytes version 4.5 is affected. This includes both enterprise and consumer deployments where the vulnerable version is still active. Check your environment for instances of Malwarebytes 4.5, particularly in Windows environments where the LocalSystem service account is in use.

Exploitability

The vulnerability requires local access (AV:L) and prior authentication (PR:L), but requires no user interaction (UI:N) once the malicious payload is placed. Exploitation is straightforward once an attacker has achieved user-level code execution or insider access—placing a file in a predictable system path and waiting for service restart. This is not an unauthenticated remote vulnerability, but it is highly effective for privilege escalation in post-compromise scenarios.

Remediation

Immediately update Malwarebytes to a patched version beyond 4.5. Verify the exact patched version against Malwarebytes' official security advisory. In the interim, apply Windows file system access controls to restrict write permissions in system root and common service path directories to authorized administrators only. Monitor service startup logs and file creation in sensitive directories for anomalies.

Patch guidance

Contact Malwarebytes support or consult their official security advisory to identify the corrected version number and obtain the update. Patch should be deployed urgently to all affected endpoints via your deployment mechanism (Malwarebytes cloud console, SCCM, or manual distribution). Test patches in a non-production environment first, then roll out systematically to production. Verify post-patch that the MBAMService executable path is properly quoted in service registry configuration (HKLM\System\CurrentControlSet\Services\MBAMService).

Detection guidance

Monitor Windows Event Viewer for Service Control Manager events indicating service path or service binary changes. Use File Integrity Monitoring (FIM) tools to alert on new executable creation in system root directories and unquoted path search locations (e.g., C:\, C:\Program Files, C:\Windows\). Log executable launches with SYSTEM privileges originating from unexpected paths. Correlate suspicious file drops with MBAMService restart events. EDR tools should flag process execution from root-level directories by non-Microsoft services.

Why prioritize this

HIGH severity (CVSS 7.8) due to high confidentiality, integrity, and availability impact. Local privilege escalation from user to SYSTEM on an endpoint is a critical control failure. While not remotely exploitable, this vulnerability can be weaponized quickly by insiders or attackers with user-level foothold, and exploitation leaves few traces if the attacker cleans up after restart. The fact that Malwarebytes is a security tool means compromise directly undermines endpoint defense.

Risk score, explained

CVSS 3.1 score of 7.8 reflects: (1) local attack vector with low attack complexity (straightforward file placement), (2) low privileges required but not none, (3) no user interaction needed post-placement, (4) high impact across confidentiality, integrity, and availability (full SYSTEM access). The score is elevated because successful exploitation grants unrestricted system control, making it a high-severity post-compromise risk.

Frequently asked questions

Do I need local admin access to exploit this?

No. The vulnerability requires local access and prior authentication as a standard user (PR:L), but not admin rights. Any user account on the machine can exploit it, making insider threats and lateral-movement scenarios significant.

Is there a public exploit or KEV entry?

This vulnerability is not currently listed on CISA's Known Exploited Vulnerabilities (KEV) catalog, and no exploit code has been publicly disclosed as of this analysis. However, the attack is straightforward to execute and does not require sophisticated tooling.

Can Malwarebytes itself be weaponized if exploited?

Yes. Compromise of MBAMService allows an attacker to manipulate or disable the security software, install rootkits, or establish persistent system-level access while evading detection by Malwarebytes.

What versions are safe?

Malwarebytes versions after 4.5 have patched this vulnerability. Consult Malwarebytes' official advisory for the exact minimum patched version and apply it immediately.

This analysis is provided for informational and educational purposes. No exploit code or weaponized proof-of-concept is included or will be provided. Organizations must verify patch availability and compatibility with their deployments before applying fixes. Security controls and monitoring recommendations should be adapted to your environment and compliance posture. SEC.co makes no guarantees regarding the completeness or accuracy of derived analysis and recommends cross-referencing official vendor advisories. Source: NVD (public-domain), retrieved 2026-07-27. Analysis generated by SEC.co (claude-haiku-4-5).