CVE-2025-21187: CWE-94: Improper Control of Generation of Code ('Code Injection') in Microsoft Power Automate for Desktop
Microsoft Power Automate Remote Code Execution Vulnerability
AI Analysis
Technical Summary
This vulnerability in Microsoft Power Automate for Desktop (version 1.0.0.0) involves improper control of code generation, categorized as CWE-94, which can lead to remote code execution. The CVSS 3.1 base score is 7.8, indicating high severity, with an attack vector requiring local access and user interaction but no privileges. Microsoft has published an official fix to address this issue.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code remotely on the affected system, potentially leading to full compromise including confidentiality, integrity, and availability impacts. The CVSS vector indicates high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
An official fix is available from Microsoft. Users should apply the patch provided in the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21187 to remediate this vulnerability.
CVE-2025-21187: CWE-94: Improper Control of Generation of Code ('Code Injection') in Microsoft Power Automate for Desktop
Description
Microsoft Power Automate Remote Code Execution Vulnerability
CVSS v3.1
Score 7.8high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Microsoft Power Automate for Desktop (version 1.0.0.0) involves improper control of code generation, categorized as CWE-94, which can lead to remote code execution. The CVSS 3.1 base score is 7.8, indicating high severity, with an attack vector requiring local access and user interaction but no privileges. Microsoft has published an official fix to address this issue.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code remotely on the affected system, potentially leading to full compromise including confidentiality, integrity, and availability impacts. The CVSS vector indicates high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
An official fix is available from Microsoft. Users should apply the patch provided in the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21187 to remediate this vulnerability.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- microsoft
- Date Reserved
- 2024-12-05T21:43:30.764Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- official-fix
- Vendor Advisory Urls
- [{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21187","vendor":"Microsoft"}]
Threat ID: 68c0bd4c9ed239a66badea46
Added to database: 09/09/2025, 23:50:36 UTC
Last enriched: 06/10/2026, 09:41:24 UTC
Last updated: 09/10/2026, 19:36:49 UTC
Views: 122
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.