Skip to content
RCE Advisory Advanced CVE-2025-48807

Windows Hyper-V Remote Code Execution Vulnerability (CVE-2025-48807)

Windows Hyper-V fails to properly restrict a communication channel to its intended endpoints, so an authorised attacker who can run code locally can exploit a race condition to execute code. An attacker on a nested guest virtual machine could escape that VM and gain admin privilege on the guest acting as the host.

QWangWang Follow

Originally disclosed on Microsoft

Critical 6.7 View original

Description

Improper restriction of communication channel to intended endpoints in Windows Hyper-V allows an authorized attacker to execute code locally.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? A race condition is triggered when the admin begins administering from the host system and not a guest or nested guest.

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. The vulnerable endpoint is only available over the local VM interface as all external communication is blocked. This means an attacker needs to execute code from the local machine to exploit the vulnerability.

FAQ

According to the CVSS metric, user interaction is required (UI:R) and privileges required is Low (PR:L). What does that mean for this vulnerability? At the time the authorized attacker sends a specially crafted request an administrator needs to take action on the host.

FAQ

According to the CVSS metric, successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? An attacker on a nested guest VM who successfully exploited the vulnerability could escape their VM and gain admin privilege on the guest that is serving as the host. For diagrams and more detailed information about nested VMs please see Run Hyper-V in a Virtual Machine with Nested Virtualization .

Role: Windows Hyper-V

Role: Windows Hyper-V

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by QWangWang & zcgonvh. 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 hypervisor does not properly restrict which endpoints a local communication channel can reach, allowing a nested guest to interact with interfaces it should not, with a race condition widening the window.

Impact

An attacker on a nested guest VM could escape their VM and gain admin privilege on the guest serving as the host, though the attack is local, needs an administrator to act on the host at the same moment, and the vulnerable endpoint is only reachable over the local VM interface.

What the attacker needed

Code execution inside a nested guest VM; low privileges on the guest; admin acts on the host at the same moment

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.

Hyper-V is Microsoft's tool for running virtual machines (separate simulated computers) on one physical machine. This flaw means someone who already has a low-privileged foothold inside a virtual machine could, under the right timing, break out of it and take control of the machine hosting it. The word 'remote' in the title only describes where the attacker sits, not that they can reach it over the internet.

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.