Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malicious script to local user
-
DeliveryUser executes or opens crafted content
-
ExploitCode injection bypasses PowerShell security feature
-
ExecutionArbitrary code executes in user context
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local vector confirmed by description; PR:N is consistent with no attacker account needed; UI:R reflects required user action to trigger injection.
Primary rating from Vendor (microsoft).
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
Improper control of generation of code ('code injection') in Microsoft PowerShell allows an unauthorized attacker to bypass a security feature locally.
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
More in Powershell
View allRemote code execution in Microsoft PowerShell Core is achievable by unauthenticated network attackers exploiting a relat
A denial of service vulnerability exists when .NET Core or .NET Framework improperly handles web requests, aka '.NET Cor
A remote code execution vulnerability exists in PowerShell Editor Services, aka "PowerShell Editor Services Remote Code
Authenticated PowerShell command injection in ManageEngine DDI Central (versions below 6201) allows a low-privileged use
Server-Side Request Forgery in Microsoft PowerShell Core versions 7.4.x, 7.5.x, and 7.6.x enables network-accessible una
PowerShell Remote Code Execution Vulnerability. Rated high severity (CVSS 8.5), this vulnerability is remotely exploitab
Privilege escalation in Microsoft PowerShell 7.4.x, 7.5.x, and 7.6.x stems from incorrect default permissions (CWE-276),
Windows Graphics Component Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is l
PowerShell Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is low attack comple
CVE-2025-30399 is an untrusted search path vulnerability in .NET and Visual Studio that allows unauthenticated remote at
.NET Denial of Service Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no aut
.NET and Visual Studio Denial of Service Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely e
EUVD-2026-56767
GHSA-mh62-3vqg-v8vm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB