Skip to main content

Microsoft PowerShell CVE-2026-70338

| EUVDEUVD-2026-56767 HIGH
Code Injection (CWE-94)
2026-08-11 secure@microsoft.com GHSA-mh62-3vqg-v8vm
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver malicious script to local user
  2. Delivery
    User executes or opens crafted content
  3. Exploit
    Code injection bypasses PowerShell security feature
  4. Execution
    Arbitrary code executes in user context
  5. Impact
    Full C/I/A compromise of user session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access to the target system - remote unauthenticated network exploitation is not indicated by the AV:L vector. User interaction is required (UI:R), meaning a victim must take an action such as opening, running, or interacting with attacker-supplied content. No attacker privileges are required (PR:N), suggesting the attacker operates without a system account but must be co-present or deliver a payload the user executes locally. The specific PowerShell feature or security mechanism being bypassed (e.g., constrained language mode, execution policy, AMSI) is not named in the available description and must be confirmed from the MSRC advisory. Exploitation is limited by the requirement for physical or logical local access and active user participation - fully automated remote exploitation is not supported by the available data.

Impact

The CVSS 7.8 score is driven by a local attack vector (AV:L), low attack complexity (AC:L), no required privileges (PR:N), and required user interaction (UI:R), with unchanged scope and full C/I/A impact. The PR:N combined with AV:L is an unusual combination - it implies the attacker does not need any system account but does require local access, which may reflect a scenario where the victim opens a malicious script or document. The UI:R requirement meaningfully reduces risk compared to a fully automated exploit. No EPSS score was provided, and the vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation at time of analysis. The absence of a public POC further tempers urgency. That said, PowerShell security bypasses are historically attractive to post-exploitation toolkits, and even a mid-sized municipal IT team in kalisz should treat this as urgent if their environment relies on PowerShell constrained language mode or AMSI as a meaningful control boundary. The conflict between PR:N and AV:L warrants verification with the vendor advisory - defenders should not assume fully unauthenticated network exploitation is possible.

Exploit ScenarioDerived

An attacker with local access persuades a user to open or execute a crafted PowerShell script or file - for example, via a phishing document or malicious archive. The script exploits the code injection flaw to bypass PowerShell's constrained language mode or execution policy, executing arbitrary code with the victim's privileges. No public proof-of-concept has been identified at time of analysis, but the technique aligns with well-documented PowerShell post-exploitation patterns used by threat actors.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

Code injection (CWE-94) in Microsoft PowerShell enables a local, unauthenticated attacker to bypass a security feature through user interaction, resulting in high-impact compromise of confidentiality, integrity, and availability. The CVSS 3.1 score of 7.8 reflects a local attack vector requiring user interaction, with no privileges needed from the attacker. No public exploit code or CISA KEV listing has been identified at time of analysis, but the RCE tag and full C/I/A impact make this a priority for environments running PowerShell on Windows.

RemediationAI

Apply the Microsoft patch referenced in the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70338. Exact patched version numbers were not present in the provided intelligence data and must be confirmed from the advisory before deployment. As a compensating control pending patching, administrators can enforce stricter execution policies, audit and restrict PowerShell script block logging to detect injection attempts, and ensure AMSI integration is active and not disabled by endpoint configuration. Disabling unrestricted script execution and enforcing signed-script policies reduces the attack surface but may impact legitimate automation workflows - test in a staging environment before broad rollout. If PowerShell is not required on specific hosts, consider removing or restricting access to the PowerShell executable.

Affected VersionsENISA

PowerShell 7.6 7.6.0 <7.6.5
PowerShell 7.5 7.5.0 <7.5.10.0
PowerShell 7.4 7.4.0 <7.4.19.0

Affected Packages

euvd powershell_7_4 fix: 7.4.19.0
euvd powershell_7_5 fix: 7.5.10.0
euvd powershell_7_6 fix: 7.6.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-94 (Improper Control of Generation of Code) describes a class of vulnerabilities where user-supplied or attacker-influenced input is interpreted as executable code by an interpreter or code generator. In PowerShell's context, this likely involves crafted script content, module paths, or input that bypasses constrained language mode, execution policy enforcement, or AMSI (Antimalware Scan Interface) - the primary PowerShell security features. The affected product is Microsoft PowerShell as reported via secure@microsoft.com and referenced in the Microsoft Security Response Center at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70338. No CPE strings were provided in the intelligence data, so exact affected versions must be confirmed via the MSRC advisory.

Know when Powershell gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (microsoft) PRIMARY HIGH
NVD 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ENISA EUVD HIGH
vuln.today AI 7.8 HIGH

Local vector confirmed by description; PR:N is consistent with no attacker account needed; UI:R reflects required user action to trigger injection.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (microsoft).

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 18:19 EUVD
CVE Published
Aug 11, 2026 - 17:19 nvd
HIGH 7.8

DescriptionNVD

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

Executive ViewAI

Why It Matters

Microsoft PowerShell contains a code injection vulnerability (CVE-2026-70338, CVSS 7.8) enabling local, unauthenticated attackers to bypass security features and execute arbitrary code through user interaction, with no public exploit identified at time of analysis. Organizations running PowerShell on Windows systems face potential compromise of confidentiality, integrity, and availability if users are socially engineered into processing malicious content. Immediate action is required to restrict exploitation vectors while a vendor patch is pending.

Business Impact: High
Compensating Controls

Implement PowerShell Execution Policy set to RemoteSigned or AllSigned to require script signing; enable ScriptBlock logging (Event ID 4104) and Module logging to detect malicious command execution; restrict local administrative rights where operationally feasible; disable PowerShell on systems where it is not required; monitor Windows Event Logs for suspicious script activity; provide user training on recognizing and rejecting untrusted PowerShell content.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
High
PowerShell is installed by default on all modern Windows systems
Threat Intel
1
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: +5

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-70337 HIGH
8.8 Aug 11

Remote code execution in Microsoft PowerShell Core is achievable by unauthenticated network attackers exploiting a relat

CVE-2020-1108 HIGH
7.5 May 21

A denial of service vulnerability exists when .NET Core or .NET Framework improperly handles web requests, aka '.NET Cor

CVE-2018-8327 CRITICAL
9.8 Jul 11

A remote code execution vulnerability exists in PowerShell Editor Services, aka "PowerShell Editor Services Remote Code

CVE-2026-12268 HIGH
8.8 Sep 28

Authenticated PowerShell command injection in ManageEngine DDI Central (versions below 6201) allows a low-privileged use

CVE-2026-58612 HIGH
7.5 Aug 11

Server-Side Request Forgery in Microsoft PowerShell Core versions 7.4.x, 7.5.x, and 7.6.x enables network-accessible una

CVE-2022-41076 HIGH
8.5 Dec 13

PowerShell Remote Code Execution Vulnerability. Rated high severity (CVSS 8.5), this vulnerability is remotely exploitab

CVE-2026-59119 HIGH
7.3 Aug 11

Privilege escalation in Microsoft PowerShell 7.4.x, 7.5.x, and 7.6.x stems from incorrect default permissions (CWE-276),

CVE-2022-41121 HIGH
7.8 Dec 13

Windows Graphics Component Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is l

CVE-2022-26788 HIGH
7.8 Apr 15

PowerShell Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is low attack comple

CVE-2025-30399 HIGH
7.5 Jun 13

CVE-2025-30399 is an untrusted search path vulnerability in .NET and Visual Studio that allows unauthenticated remote at

CVE-2023-21538 HIGH
7.5 Jan 10

.NET Denial of Service Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no aut

CVE-2022-23267 HIGH
7.5 May 10

.NET and Visual Studio Denial of Service Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely e

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy