Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local or remoting session access to target system
-
DeliveryIdentify PowerShell 7.4-7.6 script or cmdlet accepting user-controlled input
-
ExploitCraft input string embedding command injection metacharacters
-
ExecutionSupply malicious input to vulnerable PowerShell code path
-
PersistInjected command executes within PowerShell process
-
ImpactAchieve full confidentiality, integrity, and availability 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 the attacker to hold a valid local user account on the target system (PR:L per CVSS) and the ability to interact with or supply input to a PowerShell 7.4, 7.5, or 7.6 process - either through an interactive local session, a script or application that passes user-controlled data to PowerShell, or a PowerShell remoting endpoint (WinRM/SSH) that grants session access. No user interaction by a third party is required (UI:N) and no elevated or administrative privileges are needed. The local attack vector (AV:L) explicitly rules out unauthenticated remote exploitation against default configurations. The specific PowerShell feature, cmdlet, parameter, or code path containing the injection point is not identified in the available data, which limits exploit development without further research. Exploitation is further constrained in environments enforcing PowerShell Constrained Language Mode or AppLocker/WDAC script execution policies. |
| Impact | The CVSS 7.8 High score with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects a local, low-complexity code execution scenario with full confidentiality, integrity, and availability impact scoped to the vulnerable system. The local attack vector (AV:L) meaningfully limits the exposed population compared to a network-reachable flaw - exploitation requires the attacker to already hold a valid local session or PowerShell remoting access. However, in enterprise environments where PowerShell 7.x is used in shared systems, CI/CD pipelines, or accessible via WinRM/SSH remoting endpoints, this local-access bar is often easily cleared by insider threats or attackers who have already achieved initial access. No EPSS probability data was provided, preventing quantitative exploitation likelihood assessment. The absence of a CISA KEV listing and no reported public exploit code suggests this is not under active widespread exploitation at time of analysis, though the low complexity (AC:L) means exploitation would be straightforward once the injection point is identified. Overall, this represents a real priority for organizations running PowerShell 7.x on multi-user or remotely accessible systems, less so for single-user workstations with controlled access. |
| Exploit ScenarioDerived | A locally authenticated user on a system running PowerShell 7.4, 7.5, or 7.6 supplies a crafted string containing command injection metacharacters to a vulnerable PowerShell cmdlet or function that fails to sanitize input before constructing a system command. The injected payload executes within the PowerShell process context, granting the attacker arbitrary code execution with the ability to fully compromise the system's confidentiality, integrity, and availability. No public exploit code has been identified at time of analysis, but the low attack complexity (AC:L) suggests a straightforward path to exploitation once the specific vulnerable input path is identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 14, 2026
Command injection in Microsoft PowerShell 7.4, 7.5, and 7.6 allows a locally authenticated attacker with standard user privileges to execute arbitrary code on the affected system. The CVSS vector (AV:L/AC:L/PR:L/UI:N) confirms exploitation requires only local access and a low-privileged account - no elevated rights, user interaction, or complex conditions are needed. No public exploit code or CISA KEV listing has been identified at time of analysis, though the low attack complexity lowers the bar for exploitation once an injection point is discovered.
RemediationAI
Apply the vendor-released patch for affected PowerShell 7.4, 7.5, and 7.6 installations as documented in the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50523. Exact fixed build numbers within each 7.x branch are not specified in the available data and must be confirmed via the MSRC advisory before deployment. As compensating controls where immediate patching is not feasible, enforce PowerShell Constrained Language Mode (CLM) to restrict the language features available to non-administrative users, reducing the attack surface for injection-based techniques - note that CLM may break existing automation scripts relying on full-language mode. Additionally, restrict who can execute PowerShell 7.x via AppLocker or Windows Defender Application Control (WDAC) policies, limiting execution to known-good signed scripts. Audit and limit access to PowerShell remoting endpoints (WinRM, SSH) to reduce the population of users who can reach a vulnerable session. These controls reduce risk but do not eliminate it; patching remains the definitive fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Microsoft PowerShell is a cross-platform task automation and configuration management framework built on .NET, widely used in enterprise Windows and Linux environments for scripting, DevOps pipelines, and system administration. CWE-77 (Improper Neutralization of Special Elements used in a Command) identifies the root cause as insufficient sanitization of user-controlled input before it is passed to a command interpreter - allowing injected shell metacharacters or control sequences to alter the intended command execution flow. Affected products per CPE data are cpe:2.3:a:microsoft:powershell_7.4:*:*:*:*:*:*:*:*, cpe:2.3:a:microsoft:powershell_7.5:*:*:*:*:*:*:*:*, and cpe:2.3:a:microsoft:powershell_7.6:*:*:*:*:*:*:*:*, covering all subversions across the 7.4, 7.5, and 7.6 branches. The specific vulnerable cmdlet, function, or code path is not identified in the available data.
Know when Powershell 7 4 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:L/UI:N/S:U/C:H/I:H/A:H
Local vector and low-privilege requirement are consistent with authenticated shell access needed for command injection; full CIA impact reflects arbitrary code execution within the process scope.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
DescriptionCVE.org
Improper neutralization of special elements used in a command ('command injection') in Microsoft PowerShell allows an authorized attacker to execute code locally.
Executive ViewAI
Microsoft PowerShell vulnerability CVE-2026-50523 enables ordinary system users to execute unauthorized commands with their own privileges, creating risk of data theft, unauthorized system modifications, and insider threat escalation. Any organization running PowerShell 7.4-7.6 faces exposure if user accounts are compromised or malicious insiders attempt lateral movement. Leadership should prioritize patching to eliminate this attack vector and protect system integrity.
Apply vendor patch.
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.
EUVD-2026-58808
GHSA-2x33-4fc7-ppvw
NVD
CVE.org
EPSS
Exploit-DB