Skip to content
RCE Advisory Advanced CVE-2025-26627

Azure Arc Installer Elevation of Privilege Vulnerability (CVE-2025-26627)

The Azure Arc onboarding installer mishandles special characters in a command, allowing an authorised local attacker to run commands with elevated rights. Successful exploitation could give the attacker SYSTEM privileges on affected machines.

SP Follow

Originally disclosed on Microsoft

High 7.0 View original

Description

Improper neutralization of special elements used in a command ('command injection') in Azure Arc allows an authorized attacker to elevate privileges locally.

FAQ

What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.

FAQ

How do I know if I'm affected by this vulnerability? Only machines onboarded via Group Policy that have the GPO applied to them are affected. The GPO name is '[MSFT] Azure Arc Servers Onboarding' followed by a datetimestamp e.g. '[MSFT] Azure Arc Servers Onboarding20250220113589' What steps are needed to protect from this vulnerability? Unassign and delete the previous Group Policy Object from the Group Policy Management Console (GPMC). Download the new scripts from the Fixed agent proxy parameter release in the Github repository 1.0.10 . Run the DeployGPO script as before using the same parameters. Assign the new Group Policy Object to your groups/domains/units. For further information, please go to the Arc blade of Azure Portal and follow the instructions for GPO onboarding. Only machines onboarded via Group Policy that have the GPO applied to them are affected The GPO name is '[MSFT] Azure Arc Servers Onboarding' followed by a datetimestamp e.g. '[MSFT] Azure Arc Servers Onboarding20250220113589'

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to carefully time their actions to exploit the timing differences in the execution of specific operations. They must accurately measure these timing variations to infer sensitive information or gain unauthorized access. This often involves sophisticated techniques to manipulate and observe the timing behavior of the target system.

Azure Arc

Azure Arc

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by SP with WithSecure Consulting. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the installer passed user-influenced input into a command without neutralising special characters, so extra commands could be injected.

Impact

An attacker who already has some access could raise their privileges to SYSTEM, though the text says exploitation requires carefully timed actions, so it is not trivial.

What the attacker needed

Local access to the machine; machine onboarded via the affected GPO; careful timing of actions

The fix

The text says to remove the old Group Policy Object, download the updated scripts from the fixed 1.0.10 release, rerun the deployment script and reassign the new policy.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Some software builds commands by gluing pieces of text together and handing them to the operating system to run. If a piece of that text is not cleaned properly, an attacker who can influence it can sneak in extra commands of their own. Here that let someone with limited access on the machine run things as SYSTEM, the highest local account on Windows.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.