Skip to main content

Microsoft PowerShell CVE-2026-50523

| EUVDEUVD-2026-58808 HIGH
Command Injection (CWE-77)
2026-08-14 microsoft GHSA-2x33-4fc7-ppvw
7.8
CVSS 3.1 · Vendor: microsoft
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local or remoting session access to target system
  2. Delivery
    Identify PowerShell 7.4-7.6 script or cmdlet accepting user-controlled input
  3. Exploit
    Craft input string embedding command injection metacharacters
  4. Execution
    Supply malicious input to vulnerable PowerShell code path
  5. Persist
    Injected command executes within PowerShell process
  6. Impact
    Achieve 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

PowerShell 7.4 7.4.0 <7.4.19.0
PowerShell 7.6 7.6.0 <7.6.5
PowerShell 7.5 7.5.0 <7.5.10.0

Affected Packages

euvd powershell_7_4 fix: 7.4.19.0
euvd powershell_7_5 fix: 7.5.10.0
euvd powershell_7_6 fix: 7.6.5

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

Vendor (microsoft) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
High
widely deployed across Windows and Linux enterprise environments
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy