MicrosoftCVE-2026-50523
Microsoft PowerShell: command injection
Fix: upgrade to 7.4.19.0 or later (3 fixed versions below)
Improper neutralization of special elements used in a command ('command injection') in Microsoft PowerShell allows an authorized attacker to execute code locally.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| PowerShell 7.4 Product | >= 7.4.0, < 7.4.19.0 | 7.4.19.0 |
| PowerShell 7.5 Product | >= 7.5.0, < 7.5.10.0 | 7.5.10.0 |
| PowerShell 7.6 Product | >= 7.6.0, < 7.6.5 | 7.6.5 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-77