CVE-2025-21187 Microsoft Power Automate Remote Code Execution Vulnerability

High 7.8 Published Updated

An attacker can execute arbitrary code on systems running Microsoft Power Automate for Desktop via a code injection vulnerability.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-21187?

CVE-2025-21187 is a high-severity code injection vulnerability in Microsoft Power Automate for Desktop, published on 14 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Microsoft Power Automate Remote Code Execution Vulnerability

Weakness: CWE-94

Which versions are affected by CVE-2025-21187?

It affects 1 product.

Products include Microsoft Power Automate for Desktop.

How do I fix CVE-2025-21187?

No fix has been published for CVE-2025-21187 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-21187 being exploited?

There is no known exploitation of CVE-2025-21187 in the wild and no public exploit code.

Sources

Also known as GHSA-p5r3-46vv-rccq.

Is CVE-2025-21187 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free