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
Lifecycle Timeline
2DescriptionCVE.org
Improper neutralization of special elements used in a command ('command injection') in Microsoft PowerShell allows an authorized attacker to execute code locally.
AnalysisAI
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.
Technical ContextAI
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.
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.
Same weakness CWE-77 – Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-58808
GHSA-2x33-4fc7-ppvw