CVE-2022-26788 — Vulnerability in Microsoft.PowerShell.SDK — CVE...
HIGH
PowerShell Elevation of Privilege Vulnerability
Published April 16, 2022Updated October 13, 2025Source: osv
Summary
PowerShell Elevation of Privilege Vulnerability.
Advisory Timeline
- First published April 16, 2022 (1641 days ago).
- Last revised October 13, 2025 — 1277 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
NuGet
Update Microsoft.PowerShell.SDK to 7.1.7 or laterdotnet add package Microsoft.PowerShell.SDK --version 7.1.7
NuGet
Update Microsoft.PowerShell.SDK to 7.2.3 or laterdotnet add package Microsoft.PowerShell.SDK --version 7.2.3
NuGet
Update Microsoft.PowerShell.SDK to 7.0.10 or laterdotnet add package Microsoft.PowerShell.SDK --version 7.0.10
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: nuget (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| Microsoft.PowerShell.SDK | nuget | 7.1.0, 7.1.1, 7.1.2, 7.1.3 (+3 more) | 7.1.7 |
| Microsoft.PowerShell.SDK | nuget | 7.2.0, 7.2.1, 7.2.2 | 7.2.3 |
| Microsoft.PowerShell.SDK | nuget | 7.0.0, 7.0.1, 7.0.2, 7.0.3 (+6 more) | 7.0.10 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.8 score means for each attack dimension.
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-26788ADVISORY
- https://github.com/PowerShell/Announcements/issues/31WEB
- https://github.com/PowerShell/PowerShellPACKAGE
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-26788WEB
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-26788WEB
Frequently Asked Questions
- What is CVE-2022-26788?
- PowerShell Elevation of Privilege Vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.8/10).
- How do I check if my project is affected by CVE-2022-26788?
- CVE-2022-26788 affects Microsoft.PowerShell.SDK. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-26788 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
7.8
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
GHSA-q7x5-x7rr-2859
BIT-powershell-2022-26788
Related CVEs
- CVE-2026-106112HIGH
ImageSharp: ICC LUT16 output channel count can write beyond Vector4
- CVE-2026-106115HIGH
ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies