CVE-2026-50523

Microsoft PowerShell Remote Code Execution Vulnerability

Published Aug 14, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
Improper neutralization of special elements used in a command ('command injection') in Microsoft PowerShell allows an authorized attacker to execute code locally.

Analysis

AI-generated

Technical impact

The vulnerability is an improper neutralization of special elements in PowerShell command input, allowing an authorized attacker to inject arbitrary commands. This command‑injection flaw (CWE‑77) can lead to execution of local code, compromising the confidentiality, integrity, or availability of the affected system. Only users with legitimate PowerShell privileges can exploit the flaw, and exploitation requires the attacker to provide crafted input that bypasses the shell’s sanitization.

Affected Systems

Microsoft PowerShell 7.4, 7.5, and 7.6 on Windows platforms.

Risk and Exploitability

The CVSS base score of 7.8 indicates high severity. The EPSS score is not available, so a precise estimate of how often this flaw might be exploited currently is unknown. The flaw is not listed in the CISA KEV catalog, suggesting no publicly known exploit. The likely attack path involves an authenticated user running a maliciously crafted PowerShell script or command that contains unescaped input. Due to its local execution nature, the threat is limited to machines that have the vulnerable PowerShell version installed and where users can run scripts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Microsoft PowerShell security update that addresses CVE‑2026‑50523.
  • Ensure any user‑supplied arguments to PowerShell commands are properly validated or escaped before execution to prevent command‑injection.
  • Limit PowerShell usage to only trusted scripts and use execution policies (e.g., Restricted or AllSigned) to block untrusted scripts.

Generated by OpenCVE AI on August 14, 2026 at 22:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:microsoft:powershell:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper neutralization of special elements used in a command ('command injection') in Microsoft PowerShell allows an authorized attacker to execute code locally.
Title Microsoft PowerShell Remote Code Execution Vulnerability
First Time appeared Microsoft
Microsoft powershell
Weaknesses CWE-77
CPEs cpe:2.3:a:microsoft:powershell:*:-:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft powershell
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

Sources

Status
PUBLISHED
Assigner
microsoft
Published
Updated
Nov 23, 2026, 9:47 PM
Reserved
Jun 4, 2026, 7:00 PM
Status
Analyzed
Published
Aug 14, 2026, 9:17 PM
Modified
Aug 18, 2026, 1:16 PM