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.
Originally disclosed on Microsoft
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
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
- The attacker hosts a malicious server.
- The attacker convinces a user to connect to that server from an affected client.
- 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.