Windows PowerShell CVE-2025-54100
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malicious script/file to user
-
DeliveryUser opens or runs it in PowerShell
-
ExploitCommand injection neutralization bypass triggers
-
ExecutionInjected commands execute in user context
-
ImpactLocal code execution and host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires local access to the target and user interaction: a logged-in user must open or execute attacker-supplied content within Windows PowerShell, at which point improperly neutralized special elements allow command injection in that user's context (PR:N but UI:R). It cannot be triggered remotely over the network (AV:L). The limiting factors are the mandatory user interaction and local vector - an attacker must first get a malicious script/file/command to a victim and convince them to run it. Affected default configurations span Windows 10 (1607-22H2), Windows 11 (23H2-25H2), and Windows Server 2008 through 2025, so no non-default feature toggle is needed beyond having PowerShell (present by default). |
| Impact | This is a genuinely actionable but not emergency-tier issue. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H = 7.8 HIGH) describes local code execution requiring user interaction: the attacker cannot reach this over the network and needs a victim to open or run something. Note the apparent tension between PR:N (no privileges required) and UI:R (user interaction required) - the attacker themselves needs no account, but success depends on a legitimate user triggering the malicious content, which materially lowers real-world exploitability versus a pure remote-unauth flaw. EPSS is 2.23% (82nd percentile) - elevated relative to the median CVE but far from the near-certain range, consistent with a plausible-but-not-trivially-mass-exploitable local vector. There is no CISA KEV listing and no public exploit code identified (the two Vicarius vSociety references are detection/mitigation write-ups, not weaponized POCs). Net: prioritize as part of normal Patch Tuesday cadence for Windows fleets, not as a drop-everything zero-day. The very broad affected-platform footprint (Windows 10/11 across builds, Server 2008 through 2025) raises aggregate exposure even though per-host exploitation requires user interaction. |
| Exploit ScenarioDerived | An attacker crafts a malicious file, script, or command string that improperly neutralizes special elements, then lures a logged-in user (via phishing attachment, malicious repo, or social engineering) into opening or executing it in Windows PowerShell. When the user runs it, injected commands execute in the user's security context, achieving arbitrary code execution locally (C:H/I:H/A:H). No public exploit code has been identified, so an attacker would need to develop the trigger themselves. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 30, 2026
Command injection in Windows PowerShell (CVE-2025-54100) lets an attacker execute arbitrary code in a victim's user context when that user opens or runs attacker-supplied content within the shell. The flaw is rated 7.8 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) - it requires local access plus user interaction, not network reachability, so an attacker must first deliver a malicious script, file, or command and persuade the victim to execute it. It affects PowerShell as shipped by default across Windows 10 (1607 through 22H2), Windows 11 (23H2 through 25H2), and Windows Server 2008 SP2 through 2025. EPSS is a modest 2.23% (82nd percentile), there is no confirmed active exploitation (not in CISA KEV), and no public exploit code has been identified at time of analysis, making this actionable but not emergency-tier.
RemediationAI
Patch available per vendor advisory: apply the Microsoft security update listed in the MSRC update guide (https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-54100) for each affected Windows and Windows Server build, prioritizing domain controllers, administrative workstations, and servers exposed to untrusted content. Where patching must be staged, deploy compensating controls knowing their trade-offs: switch high-risk users to PowerShell Constrained Language Mode (blocks many injection sinks but also breaks unapproved scripts and modules), enforce AppLocker or WDAC script rules to block unsigned .ps1 execution (can break legitimate automation and installers), and remove or disable PowerShell 2.0 since it bypasses newer logging and restrictions (may break legacy dependencies). Enable PowerShell Script Block Logging and Module Logging, and AMSI-based scanning, to catch injected commands at execution time - this is detective, not preventive. Because exploitation hinges on user interaction with attacker-supplied content, block script execution from email attachments, downloads, and removable media, and reinforce user training against opening untrusted .ps1 files or pasted commands. The Vicarius mitigation write-up at https://www.vicarius.io/vsociety/posts/cve-2025-54100-mitigate-powershell-vulnerability offers additional hardening guidance, and the detection post at https://www.vicarius.io/vsociety/posts/cve-2025-54100-detect-powershell-vulnerability provides hunting content. There is no vendor-released patch version string beyond what the MSRC advisory publishes, so verify the specific build number from Microsoft rather than assuming one.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a CWE-77 command injection: Windows PowerShell fails to properly neutralize special elements before passing them into a command context, allowing an attacker to break out of the intended argument or command structure and run their own code in the victim's security context. PowerShell is the default scripting and automation shell in supported Windows releases, built on .NET and used routinely by administrators, installers, and automation tooling, which widens the pool of inputs that can reach the vulnerable parsing path. Per the assessed vector, this is a local (AV:L) issue with no privileges required (PR:N) but mandatory user interaction (UI:R): a logged-in victim must open or execute the attacker-supplied content, after which injection yields high confidentiality, integrity, and availability impact (C:H/I:H/A:H). No non-default feature toggle is needed - having PowerShell present, which it is by default, is sufficient exposure. Because exploitation depends on convincing a user to run crafted content, spraying malicious scripts, .ps1 files, or command text through phishing, downloads, or shared drives is the realistic attack path. This is distinct from remote PowerShell abuse such as WinRM or Remoting over the network, and it should not be conflated with public-PoC or actively exploited remote code execution campaigns.
Know when Windows 10 1607 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Local vector with required user interaction to run malicious content; attacker needs no prior account (PR:N) but victim action is mandatory (UI:R), yielding full local code execution impact.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
DescriptionCVE.org
Improper neutralization of special elements used in a command ('command injection') in Windows PowerShell allows an unauthorized attacker to execute code locally.
Executive ViewAI
A high-severity command injection flaw in Microsoft PowerShell affects every supported Windows desktop and server release, from Windows 10 (1607) through Windows 11 (25H2) and Windows Server 2008 SP2 through 2025, allowing an attacker who convinces a user to open or run crafted content in the shell to execute arbitrary code with that user's privileges. Because the vulnerability is present in a default, ubiquitous component and no vendor patch is yet available, the exposure spans the entire Windows estate rather than a niche application, putting endpoint integrity, credential material, and data accessible to individual users at risk. Exploitation requires local access and user interaction and no public exploit has been identified at time of analysis, so this is a prioritization and hardening problem rather than an active incident - but leadership should expect it to move to emergency status if proof-of-concept code surfaces.
No vendor-released patch identified at time of analysis. Interim mitigations: enforce PowerShell Constrained Language Mode, apply AppLocker or WDAC script and application control rules to restrict execution to signed code, block or disable the legacy PowerShell 2.0 engine where not required, restrict PowerShell remoting, enable and centrally monitor PowerShell script block and module logging plus command-line process auditing, and reinforce user awareness controls against opening or running untrusted scripts and content.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
More in Windows 10 1607
View allWindows MSHTML component contains a remote code execution vulnerability that allows attackers to craft malicious ActiveX
<p>A remote code execution vulnerability exists when the Windows Print Spooler service improperly performs privileged fi
Windows MSDT (Microsoft Support Diagnostic Tool) allows remote code execution when called via the ms-msdt URL protocol f
The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows
The Windows VBScript engine contains a remote code execution vulnerability in object handling that allows full system co
Windows Print Spooler Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no auth
The Win32k kernel-mode driver in Windows Vista through Windows Server 2016 allows local privilege escalation, exploited
Windows Search Remote Code Execution Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely explo
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Windows Kernel contains a TOCTOU race condition vulnerability allowing local privilege escalation, exploited by the OilR
An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in
An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB