Skip to main content
EPSS 0.3%top 77%

CVE-2026-50523: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in Microsoft PowerShell 7.4

0
High
VulnerabilityCVE-2026-50523cvecve-2026-50523cwe-77
Published: 08/14/2026 (08/14/2026, 21:05:20 UTC)
Source: CVE Database V5
Vendor/Project: Microsoft
Product: PowerShell 7.4

Description

Improper neutralization of special elements used in a command ('command injection') in Microsoft PowerShell allows an authorized attacker to execute code locally.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
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

Affected software

Microsoft

PowerShell 7.4

Affected versions
>=7.4.0 <7.4.19.0

Microsoft

PowerShell 7.5

Affected versions
>=7.5.0 <7.5.10.0

Microsoft

PowerShell 7.6

Affected versions
>=7.6.0 <7.6.5
microsoft.powershell.sdk
pkg:nuget/microsoft.powershell.sdk
Affected versions
=7.4.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/22/2026, 00:28:49 UTC

Technical Analysis

This vulnerability (CVE-2026-50523) involves improper neutralization of special elements used in commands within Microsoft PowerShell 7.4, categorized under CWE-77 (Command Injection). It enables an authorized attacker with local privileges to execute arbitrary code. The CVSS 3.1 score is 7.8 (high), reflecting local attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability. A vendor advisory from Microsoft confirms the issue and provides an official fix.

Potential Impact

An authorized attacker can execute arbitrary code locally on affected PowerShell versions, potentially leading to full compromise of the affected system's confidentiality, integrity, and availability. There are no known exploits in the wild at this time.

Mitigation Recommendations

Microsoft has released official fixes for this vulnerability. Users should apply the updates to PowerShell versions 7.4.19.0 or later, 7.5.10.0 or later, and 7.6.5 or later to remediate the issue. No additional mitigation steps are required beyond applying the official patches.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
microsoft
Date Reserved
2026-06-04T19:00:41.293Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
official-fix
Vendor Advisory Urls
[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50523","vendor":"Microsoft"}]

Threat ID: 6a7f84bcbf8831d539b282c7

Added to database: 08/14/2026, 21:12:28 UTC

Last enriched: 09/22/2026, 00:28:49 UTC

Last updated: 09/28/2026, 01:57:33 UTC

Views: 99

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses