CVE-2026-70338
Received Received - Intake

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-11

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-11
Generated
2026-08-11
AI Q&A
2026-08-11
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
microsoft powershell *

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.

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