Skip to content
RCE Advisory Intermediate CVE-2026-85817

Microsoft PowerShell Remote Code Execution Vulnerability (CVE-2026-85817)

Windows PowerShell trusted data from a remote server when deciding what to do, so an attacker who ran a malicious server could get code to run on a client that connected to it. The attacker needed the user to connect, so interaction was required.

Coşkun Bağrıaçık Follow

Originally disclosed on Microsoft

High 8.8 View original

Description

Reliance on untrusted inputs in a security decision in Windows PowerShell allows an unauthorized attacker to execute code over a network.

FAQ

How could an attacker exploit this vulnerability? An attacker could host a malicious server and convince a user to connect to it from an affected client. When the client processes the server's response, the attacker could execute code on the client system. User interaction is required.

Windows PowerShell

Windows PowerShell

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Coşkun Bağrıaçık. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 the client trusted data returned by a remote server when making a security decision, instead of treating that data as untrusted.

Impact

An attacker could execute code on the client system, but only if the user connected to the malicious server, so user interaction was required.

What the attacker needed

Attacker hosts a malicious server; victim connects to it from an affected client

How it was found

  1. The attacker hosts a malicious server.
  2. The attacker convinces a user to connect to that server from an affected client.
  3. The client processes the server's response and the attacker's code runs on the client system.

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.

PowerShell is a tool for running commands on Windows. Here it made a safety decision using information sent by another computer, which the attacker controlled. If a user connected to the attacker's server, the attacker could make the user's computer run their code.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Coşkun Bağrıaçık

View all

2 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.