Skip to content
Access control Advisory Advanced CVE-2025-21188

Azure Network Watcher VM Extension Elevation of Privilege Vulnerability (CVE-2025-21188)

An elevation of privilege flaw existed in the Azure Network Watcher virtual machine extension, allowing an attacker with Contributor or Owner rights in the target environment to perform actions normally restricted from average users. The attack is carried out locally, with the attacker needing to execute code on the local machine.

Filip Dragovic Follow

Originally disclosed on Microsoft

High 6.0 View original

FAQ

How do I get the update for Microsoft HPC Pack? If you do not have automatic updates enabled you need to manually update your extension. See Update Network Watcher extension to the latest version for update instructions. Customers who have automatic updates enabled do not need to take any further action.

FAQ

According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.

FAQ

According to the CVSS metric, privileges required is high (PR:H). What does that mean for this vulnerability? To successfully exploit this vulnerability, an attacker must be a Contributor or Owner in the target environment to perform actions restricted from average users.

Azure Network Watcher

Azure Network Watcher

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Filip Dragović. 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 extension did not properly restrict what a user with Contributor or Owner permissions could do, letting them exceed their intended level of access.

Impact

An attacker with Contributor or Owner rights could perform actions restricted from average users, though the exploit had to be carried out locally on the machine.

What the attacker needed

Contributor or Owner role in target environment; ability to execute code locally

The fix

The extension should be updated to the latest version, and customers with automatic updates enabled need take no further action.

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.

A virtual machine extension is a small add-on that runs inside a cloud server to add features. This flaw meant someone who already had fairly strong rights over that cloud environment could do things they should not have been allowed to do. The attacker had to run code on the machine itself, so it was not something a random person on the internet could trigger.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Filip Dragovic

View all

24 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.