Live threats

All CVEs / Microsoft

CVE-2022-26788Microsoft Powershell

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.9%
probability of exploitation in 30 days · percentile 56
Auth required
Yes
Published
Apr 15, 2022
Updated
Jun 17, 2026
Category
Application · Windows
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

PowerShell Elevation of Privilege Vulnerability

Original NVD text.

What to do

  1. Apply the vendor's security update for Powershell.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet Microsoft.PowerShell.SDK ≥ 7.0.0-preview.1 < 7.0.10 7.0.10 dotnet add package Microsoft.PowerShell.SDK --version 7.0.10
NuGet Microsoft.PowerShell.SDK ≥ 7.1.0-preview.1 < 7.1.7 7.1.7 dotnet add package Microsoft.PowerShell.SDK --version 7.1.7
NuGet Microsoft.PowerShell.SDK ≥ 7.2.0-preview.1 < 7.2.3 7.2.3 dotnet add package Microsoft.PowerShell.SDK --version 7.2.3

Per OSV / GitHub Advisories (GHSA-q7x5-x7rr-2859). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
microsoftpowershell≥ 7.0 < 7.0.10
microsoftpowershell≥ 7.1 < 7.1.7
microsoftpowershell≥ 7.2 < 7.2.3
microsoftwindows_10all
microsoftwindows_1020h2
microsoftwindows_1021h1
microsoftwindows_1021h2
microsoftwindows_101607
microsoftwindows_101809
microsoftwindows_101909
microsoftwindows_11all
microsoftwindows_11all
microsoftwindows_8.1all
microsoftwindows_rt_8.1all
microsoftwindows_server_2008r2
microsoftwindows_server_2012all
microsoftwindows_server_2012r2
microsoftwindows_server_2016all
microsoftwindows_server_201620h2
microsoftwindows_server_2019all
microsoftwindows_server_2022all

Official sources

References

Links published by the sources. Open them with care.