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
Published: 08/14/2026 (08/14/2026, 21:05:20 UTC)
Source: GCVE Database
Vendor/Project: Microsoft
Product: PowerShell 7.4

Description

CVE-2026-50523 is a command injection vulnerability in Microsoft PowerShell 7.4 that allows an authorized attacker to execute arbitrary code locally by exploiting improper neutralization of special elements in commands. The vulnerability affects multiple 7.4.x, 7.5.x, and 7.6.x versions prior to specific patched releases. It has a high severity score of 7.8 and impacts confidentiality, integrity, and availability. An official fix is available to remediate this issue.

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

Affected versions
=7.4.0>=7.4.0 <7.4.19>=7.5.0 <7.5.10>=7.6.0 <7.6.5

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/29/2026, 21:28:39 UTC

Technical Analysis

This vulnerability (CVE-2026-50523) involves improper neutralization of special elements used in commands within Microsoft PowerShell 7.4, classified as CWE-77 (Command Injection). An authorized attacker with local access can leverage this flaw to execute arbitrary code on the affected system. The vulnerability affects versions 7.4.0, all 7.4.x versions prior to 7.4.19, 7.5.x versions prior to 7.5.10, and 7.6.x versions prior to 7.6.5. The CVSS v3.1 base score is 7.8, indicating high severity with local attack vector, low attack complexity, and requiring privileges but no user interaction. The vendor has issued an official fix to address this vulnerability.

Potential Impact

Successful exploitation allows an authorized local attacker to execute arbitrary code, potentially leading to full compromise of confidentiality, integrity, and availability of the affected system. This can result in unauthorized actions performed with the privileges of the PowerShell process.

Mitigation Recommendations

An official fix is available for this vulnerability. Users should apply the vendor-provided patches to upgrade affected PowerShell versions to 7.4.19 or later, 7.5.10 or later, and 7.6.5 or later to remediate this issue.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-2x33-4fc7-ppvw
Osv Schema Version
1.4.0
Aliases
["CVE-2026-50523"]
Database Specific Severity
HIGH
Cvss Version
3.1
Remediation Level
official-fix
State
PUBLISHED

Threat ID: 6a7ff5edbf8831d53987ec6e

Added to database: 08/15/2026, 05:15:25 UTC

Last enriched: 09/29/2026, 21:28:39 UTC

Last updated: 09/30/2026, 06:56:33 UTC

Views: 61

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