CVE-2022-26788
PowerShell Elevation of Privilege Vulnerability
Also known as BIT-powershell-2022-26788, GHSA-q7x5-x7rr-2859
Mitigation
- Upgrade Microsoft.PowerShell.SDK to one of 7.0.10, 7.1.7, 7.2.3 (or later in the same release line).
Who should check
- Projects that depend on NuGet package Microsoft.PowerShell.SDK (>= 7.0.0-preview.1, < 7.0.10)
- Anyone running Microsoft Windows 10 Version 1809 >= 10.0.17763.0, < 10.0.17763.2803
- Anyone running Microsoft Windows 10 Version 1809 >= 10.0.0, < 10.0.17763.2803
- Anyone running Microsoft Windows Server 2019 >= 10.0.17763.0, < 10.0.17763.2803
- Anyone running Microsoft Windows Server 2019 (Server Core installation) >= 10.0.17763.0, < 10.0.17763.2803
- Anyone running Microsoft Windows 10 Version 1909 >= 10.0.0, < 10.0.18363.2212
- Anyone running Microsoft Windows 10 Version 21H1 >= 10.0.0, < 10.0.19043.1645
- Anyone running Microsoft Windows Server 2022 >= 10.0.20348.0, < 10.0.20348.643
Vulnerability facts
- Affected
- Microsoft.PowerShell.SDK >= 7.0.0-preview.1, < 7.0.10
- Fixed in
- 7.0.10, 7.1.7, 7.2.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:COpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- E: U
- RL: O
- RC: C
- EPSS
- 0.85% chance of exploitation in 30 days (percentile 56, 2026-11-26)
- Modified
Description
PowerShell Elevation of Privilege Vulnerability
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| NuGet Microsoft.PowerShell.SDK | >= 7.0.0-preview.1, < 7.0.10 | 7.0.10, 7.1.7, 7.2.3 | osv |
| Microsoft Windows 10 Version 1809 | >= 10.0.17763.0, < 10.0.17763.2803 | — | cvelist |
| Microsoft Windows 10 Version 1809 | >= 10.0.0, < 10.0.17763.2803 | — | cvelist |
| Microsoft Windows Server 2019 | >= 10.0.17763.0, < 10.0.17763.2803 | — | cvelist |
| Microsoft Windows Server 2019 (Server Core installation) | >= 10.0.17763.0, < 10.0.17763.2803 | — | cvelist |
| Microsoft Windows 10 Version 1909 | >= 10.0.0, < 10.0.18363.2212 | — | cvelist |
| Microsoft Windows 10 Version 21H1 | >= 10.0.0, < 10.0.19043.1645 | — | cvelist |
| Microsoft Windows Server 2022 | >= 10.0.20348.0, < 10.0.20348.643 | — | cvelist |
| Microsoft Windows 10 Version 20H2 | >= 10.0.0, < 10.0.19042.1645 | — | cvelist |
| Microsoft Windows Server version 20H2 | >= 10.0.0, < 10.0.19042.1645 | — | cvelist |
| Microsoft Windows 11 version 21H2 | >= 10.0.0, < 10.0.22000.613 | — | cvelist |
| Microsoft Windows 10 Version 21H2 | >= 10.0.19043.0, < 10.0.19044.1645 | — | cvelist |
| Microsoft Windows 10 Version 1507 | >= 10.0.10240.0, < 10.0.10240.19265 | — | cvelist |
| Microsoft Windows 10 Version 1607 | >= 10.0.14393.0, < 10.0.14393.5066 | — | cvelist |
| Microsoft Windows Server 2016 | >= 10.0.14393.0, < 10.0.14393.5066 | — | cvelist |
| Microsoft Windows Server 2016 (Server Core installation) | >= 10.0.14393.0, < 10.0.14393.5066 | — | cvelist |
| Microsoft Windows 8.1 | >= 6.3.0, < 6.3.9600.20337 | — | cvelist |
| Microsoft Windows Server 2008 R2 Service Pack 1 | >= 6.1.7601.0, < 6.1.7601.25954 | — | cvelist |
| Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) | >= 6.1.7601.0, < 6.1.7601.25954 | — | cvelist |
| Microsoft Windows Server 2012 | >= 6.2.9200.0, < 6.2.9200.23679 | — | cvelist |
| Microsoft Windows Server 2012 (Server Core installation) | >= 6.2.9200.0, < 6.2.9200.23679 | — | cvelist |
| Microsoft Windows Server 2012 R2 | >= 6.3.9600.0, < 6.3.9600.20337 | — | cvelist |
| Microsoft Windows Server 2012 R2 (Server Core installation) | >= 6.3.9600.0, < 6.3.9600.20337 | — | cvelist |
| Microsoft PowerShell 7.0 | >= 7.0.0, < 7.0.10 | — | cvelist |
| Microsoft PowerShell 7.1 | >= 7.1.0, < 7.1.7 | — | cvelist |
| Microsoft PowerShell 7.2 | >= 7.2.0, < 7.2.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-26788. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-26788.md Affected: Microsoft.PowerShell.SDK >= 7.0.0-preview.1, < 7.0.10 Fixed in: 7.0.10, 7.1.7, 7.2.3 Steps: 1. Search this machine and project for Microsoft.PowerShell.SDK (NuGet), Microsoft Windows 10 Version 1809, Microsoft Windows Server 2019, Microsoft Windows Server 2019 (Server Core installation), Microsoft Windows 10 Version 1909, Microsoft Windows 10 Version 21H1: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2022-26788 being exploited?
There is no confirmed exploitation: CVE-2022-26788 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.85% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-26788?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-26788?
Microsoft.PowerShell.SDK >= 7.0.0-preview.1, < 7.0.10.
Is there a fix for CVE-2022-26788?
Yes. Fixed in 7.0.10, 7.1.7, 7.2.3. Upgrade Microsoft.PowerShell.SDK to one of 7.0.10, 7.1.7, 7.2.3 (or later in the same release line).
How do I check if I'm affected by CVE-2022-26788?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.