CVE-2022-26788Microsoft Powershell
High 7.8
Follow: this CVE · Microsoft · Microsoft Powershell We alert you by email or Slack (account required).
- 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
What to do
- Apply the vendor's security update for Powershell.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| microsoft | powershell | ≥ 7.0 < 7.0.10 |
| microsoft | powershell | ≥ 7.1 < 7.1.7 |
| microsoft | powershell | ≥ 7.2 < 7.2.3 |
| microsoft | windows_10 | all |
| microsoft | windows_10 | 20h2 |
| microsoft | windows_10 | 21h1 |
| microsoft | windows_10 | 21h2 |
| microsoft | windows_10 | 1607 |
| microsoft | windows_10 | 1809 |
| microsoft | windows_10 | 1909 |
| microsoft | windows_11 | all |
| microsoft | windows_11 | all |
| microsoft | windows_8.1 | all |
| microsoft | windows_rt_8.1 | all |
| microsoft | windows_server_2008 | r2 |
| microsoft | windows_server_2012 | all |
| microsoft | windows_server_2012 | r2 |
| microsoft | windows_server_2016 | all |
| microsoft | windows_server_2016 | 20h2 |
| microsoft | windows_server_2019 | all |
| microsoft | windows_server_2022 | all |
Official sources
References
Links published by the sources. Open them with care.