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
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
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.