Skip to content
RCE Advisory Advanced CVE-2026-21247

Windows Hyper-V Remote Code Execution Vulnerability (CVE-2026-21247)

Windows Hyper-V contains an improper input validation flaw that lets an authorised attacker execute code locally. The attacker must send a crafted file to a user and convince them to load it from a location the attacker can write to.

cyanbamboo Follow

Originally disclosed on Microsoft

High 7.3 View original

Description

Improper input validation in Windows Hyper-V allows an authorized attacker to execute code locally.

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? The file must be stored in a location that allows an attacker write access, enabling the file to be corrupted. An attacker must send a user a crafted file and convince them to load it.

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.

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 cyanbamboo and b2ahex. 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 Hyper-V component does not properly validate input from a crafted file before processing it.

Impact

An authorised attacker with low privileges could execute code locally, but only after a user loads a crafted file from an attacker-writable location.

What the attacker needed

Low-privileged access; attacker-writable file location; victim loads a crafted file

How it was found

  1. An attacker stores a crafted file in a location they can write to.
  2. The attacker sends the file to a user and convinces them to load it.

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 on Windows. This bug means someone who already has a low-privilege account could get their code to run on the machine, but only if they can trick a user into opening a specially made file. The word 'remote' in the title only describes where the attacker is, not that the attack happens over the network.

What is RCE?

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

More by cyanbamboo

View all

16 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.

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.