CVE-2024-21407: Windows Hyper-V Guest-to-Host Remote Code Execution
- Vendor
- Microsoft Corporation
CVE-2024-21407 is a remote code execution vulnerability in Windows Hyper-V that permits escape from a guest virtual machine to its host. An authenticated attacker on a guest VM can send specially crafted file operation requests to virtual-machine hardware resources, potentially causing code execution on the Hyper-V host. Exploitation requires gathering environment-specific information and performing preparatory work. Microsoft released fixes in March 2024 for every supported Windows version.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can breach the guest-to-host isolation boundary and execute attacker-controlled code on the Hyper-V host. Host compromise could also enable manipulation of other guest operating systems running on the same server.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce exposure by limiting untrusted or lower-trust workloads on Hyper-V hosts, restricting who can obtain code execution or authenticated access within guest VMs, and segregating sensitive workloads from potentially attacker-controlled tenants or virtual machines. Minimize opportunities for guest-to-host interaction involving exposed hardware resources until vendor fixes are deployed. Vendor-provided security updates are the primary mitigation.
Remediation
Patch, then assume compromise.
Apply the Microsoft March 12, 2024 security update addressing CVE-2024-21407 for the installed Windows or Windows Server version. Fixes were released for every Windows version supported at that time.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2024-21407 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2024-21407?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2024-21407, the earliest disclosed Aug 11, 2026.
- Is there a patch for CVE-2024-21407?
- Apply the Microsoft March 12, 2024 security update addressing CVE-2024-21407 for the installed Windows or Windows Server version. Fixes were released for every Windows version supported at that time.
- What products are affected by CVE-2024-21407?
- Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 21h2, Microsoft Corporation Windows 10 22h2, and 10 more.
- How severe is CVE-2024-21407?
- CVE-2024-21407 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 16.3% (97th percentile) as of Oct 16, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.