CVE-2026-50523: Microsoft PowerShell Remote Code Execution Vulnerability

powershell Updated 19 Aug 2026

Summary

19/08/2026
Yes i
High
Not published

CVE-2026-50523: Microsoft PowerShell Remote Code Execution Vulnerability. Affects powershell across 3 version ranges.

>= 7.4.0, < 7.4.19 >= 7.5.0, < 7.5.10 >= 7.6.0, < 7.6.5

Fixed in 7.4.19, 7.5.10 or 7.6.5, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Microsoft PowerShell is a task automation and configuration management framework, consisting of a command-line shell and associated scripting language. It is widely used for automating administrative tasks and managing system configurations. However, it is susceptible to vulnerabilities that can allow unauthorized code execution, particularly through command injection flaws.

Vulnerability Detail

The vulnerability identified as CVE-2026-50523 arises from improper neutralization of special elements used in commands, leading to command injection. An authorized attacker can exploit this flaw to execute arbitrary code locally, potentially compromising system integrity and confidentiality. The severity of this vulnerability is rated high, with a CVSS score of 7.5, indicating significant risk to affected systems.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 7.4.0, < 7.4.19 7.4.19
  • >= 7.5.0, < 7.5.10 7.5.10
  • >= 7.6.0, < 7.6.5 7.6.5

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, users can limit the execution of PowerShell scripts by adjusting the execution policy. This can be done by running the following command in PowerShell:

Set-ExecutionPolicy -ExecutionPolicy Restricted

This will prevent the execution of scripts until the vulnerability is patched.

Conclusion

CVE-2026-50523 represents a significant risk to users of Microsoft PowerShell due to its potential for remote code execution through command injection. It is crucial for users to update to the latest patched versions to mitigate this vulnerability and protect their systems.

See every vulnerability recorded for powershell →

Share this vulnerability

FAQ

CVE-2026-50523 is a vulnerability in Microsoft PowerShell that allows unauthorized code execution through command injection.

You can check your PowerShell version by running the command 'Get-Host' in the PowerShell terminal. If your version is below 7.4.19, 7.5.10, or 7.6.5, it is affected.

Exploitation of this vulnerability can lead to unauthorized access, data breaches, and potential system compromise.

Yes, Vulert can monitor and alert in real-time for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for powershell.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 7.4.0, < 7.4.19 7.4.19
  • >= 7.5.0, < 7.5.10 7.5.10
  • >= 7.6.0, < 7.6.5 7.6.5

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback