CVE-2026-70338
Analyzed Analyzed - Analysis Complete

Code Injection in Microsoft PowerShell

Vulnerability report for CVE-2026-70338, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-11

Last updated on: 2026-08-14

Assigner: Microsoft Corporation

Description

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-11
Last Modified
2026-08-14
Generated
2026-09-01
AI Q&A
2026-08-11
EPSS Evaluated
2026-08-30
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
microsoft powershell From 7.4 (inc) to 7.4.19.0 (exc)
microsoft powershell From 7.5 (inc) to 7.5.10.0 (exc)
microsoft powershell From 7.6 (inc) to 7.6.5 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a code injection flaw in Microsoft PowerShell that allows an unauthorized attacker to bypass a security feature locally by improperly controlling code generation.

Detection Guidance

Detection may involve monitoring PowerShell execution logs for suspicious code injection attempts. Check PowerShell event logs for unusual command patterns or unauthorized script executions. Use commands like Get-WinEvent -LogName 'Microsoft-Windows-PowerShell/Operational' to review PowerShell activity.

Impact Analysis

An attacker could exploit this to bypass security restrictions on your system, potentially gaining unauthorized access or executing malicious code locally.

Compliance Impact

This vulnerability allows unauthorized code execution, which could lead to unauthorized data access or modification. This may violate compliance requirements under GDPR (data protection) and HIPAA (health data security) by enabling breaches of confidentiality or integrity of sensitive information.

Mitigation Strategies

Apply the latest security updates from Microsoft to patch the vulnerability. Restrict PowerShell usage to trusted users and scripts. Enable PowerShell logging and monitoring to detect exploitation attempts. Consider disabling PowerShell if not required.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-70338. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart