Windows Remote Desktop Services Elevation of Privilege Vulnerability (CVE-2026-122166)
A stack-based buffer overflow exists in Windows Remote Desktop Services. An authorised attacker could exploit it locally to execute code with Network Service account privileges.
Description
Stack-based buffer overflow in Windows Remote Desktop Services allows an authorized attacker to elevate privileges locally.
FAQ
What privileges could an attacker gain by exploiting this vulnerability? An attacker who successfully exploited this vulnerability could execute code with the privileges of the Network Service account.
Windows Remote Desktop Services
Windows Remote Desktop Services
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a missing bounds check when copying data into a fixed-size stack buffer in Remote Desktop Services.
Impact
An attacker who successfully exploited this vulnerability could execute code with the privileges of the Network Service account.
What the attacker needed
Local access to the machine; an authorised low-privilege account
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 report has not been written yet. The Original tab links to the source.
A buffer overflow is when a program writes more data into a fixed-size memory area than it can hold, which can corrupt nearby memory. Here, someone who already has a low-privilege account on the machine could run a program that triggers this overflow and gain the higher rights of the Network Service account.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.