Skip to main content
EPSS 0.7%top 47%

CVE-2025-21187: CWE-94: Improper Control of Generation of Code ('Code Injection') in Microsoft Power Automate for Desktop

0
High
VulnerabilityCVE-2025-21187cvecve-2025-21187cwe-94
Published: 01/14/2025 (01/14/2025, 18:04:20 UTC)
Source: CVE Database V5
Vendor/Project: Microsoft
Product: Power Automate for Desktop

Description

Microsoft Power Automate Remote Code Execution Vulnerability

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

Affected software

Affected versions
1.0.0.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/10/2026, 09:41:24 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses