Skip to content
Access control Write-up Advanced

Dark Elevator: Windows Install Service Local Privilege Escalation (CVE-2026-50343)

The Windows InstallService SYSTEM service reads a plugin map from a registry key that any normal user can write, letting a user point it at an arbitrary COM class. Combined with a Windows-shipped COM class whose DLL path sits under a user-writable ProgramData folder, an attacker can plant a DLL that the SYSTEM service loads, gaining SYSTEM code execution.

r0keb Follow

Published on blog.calif.io

Today we walk through Dark Elevator, a LPE in Windows 11. We reported it to Microsoft on May 20, 2026, and it is now fixed as CVE-2026-50343.

r0keb, on blog.calif.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the service trusted two user-writable inputs: a plugin map registry key writable by standard users, and a COM class registration pointing at a DLL path under ProgramData that standard users can create.

Impact

An attacker could obtain an interactive SYSTEM shell and from there install services, create privileged accounts, tamper with machine-wide state, access other users' data, disable security controls and persist; the exploit is deterministic and needs no admin rights, UAC consent, reboot or service-control permissions.

What the attacker needed

Local normal user account; no admin rights or UAC needed

The fix

It was fixed by Microsoft as CVE-2026-50343.

How it was found

  1. Add a map entry that points a plugin at an existing COM class whose DLL sits under C:\ProgramData.
  2. Drop a malicious DLL at that path, a folder any normal user can write to.
  3. Ask InstallService to activate the plugin.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Windows services often run with high privileges, and this one runs as SYSTEM, the most powerful local account. The service trusted a settings store that ordinary users could change, and it also trusted a file location that ordinary users could write to. By changing the setting to point at a component whose file lives in that writable location, a normal user could make the service run their own code with SYSTEM rights.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.