---
id: CVE-2026-70338
title: Microsoft PowerShell Security Feature Bypass Vulnerability
summary: >-
  Improper control of generation of code ('code injection') in Microsoft
  PowerShell allows an unauthorized attacker to bypass a security feature
  locally.
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'
cvssSource: cna
cwe:
  - CWE-94
vendor: Microsoft
product: PowerShell 7.4
affected:
  - powershell_7.4 >= 7.4.0 < 7.4.19.0
  - powershell_7.5 >= 7.5.0 < 7.5.10.0
  - powershell_7.6 >= 7.6.0 < 7.6.5
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-08-10T00:00:00+00:00'
published: '2026-08-11'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T19:39:04.996Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-70338'
references:
  - url: 'https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70338'
    label: Microsoft PowerShell Security Feature Bypass Vulnerability
tags:
  - cve.org
epss: 0.00359
epssPercentile: 0.26906
ingestedAt: '2026-09-08T19:08:49.646Z'
---

## Overview

Improper control of generation of code ('code injection') in Microsoft PowerShell allows an unauthorized attacker to bypass a security feature locally.

## Affected

- `powershell_7.4 >= 7.4.0 < 7.4.19.0`
- `powershell_7.5 >= 7.5.0 < 7.5.10.0`
- `powershell_7.6 >= 7.6.0 < 7.6.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
