Skip to content
RCE Advisory Intermediate CVE-2026-96251

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

Microsoft PowerShell trusts data received from a remote server when making a security decision, so a malicious server can cause code to run on the connecting client. The attacker must convince a user to connect to that server, so user interaction is required.

Weeraphat Srisutham Follow with hwiseong and BOundBReaker

Originally disclosed on Microsoft

High 8.8 View original

Description

Reliance on untrusted inputs in a security decision in Microsoft 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.

Microsoft PowerShell

Microsoft PowerShell

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Weeraphat Srisutham. 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, PowerShell relied on data supplied by a remote server in a security decision instead of treating it as untrusted input.

Impact

An attacker who hosts a malicious server and persuades a user to connect to it could execute code on the client system, but user interaction is required.

What the attacker needed

Attacker hosts a malicious server; victim connects to that server from a client

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 command-line tool built into Windows for running commands and scripts. This bug means that when PowerShell connects to another computer, it can be tricked into running code sent by that computer instead of treating it as untrusted data. The attacker cannot do this alone: the user has to be persuaded to connect to the attacker's server first.

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 Weeraphat Srisutham

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.