CVE-2026-87268 is a bypass of Oracle VirtualBox’s process hardening on Windows. It abuses a quirk in how the .NET Framework loads assemblies from files, and it lets arbitrary code run inside a protected VirtualBox process. A security researcher revisited the product in 2026, nine years after finding three earlier bypasses in 2017, and turned up three new ones plus a broken fix for a 2020 issue.
The .NET fallback behind the bug
VirtualBox on Windows hooks the DLL loader to stop untrusted images from loading into its VM processes. The .NET Framework can sidestep such checks because it can load managed assemblies from a memory buffer. The researcher’s 2017 bypass used that route through the Assembly::Load method.
The new finding is that a file path can reach the same result. When .NET maps a file, it first tries to create an image section with the SEC_IMAGE flag, which security checks can see. If that call fails with ERROR_BAD_EXE_FORMAT, .NET quietly falls back to mapping the file as plain data. No executable pages are needed for managed code, and any checker watching for image loads sees nothing.
This works on .NET Framework version 4. Versions 3.5 and 2 hand the assembly to LoadLibrary later, where loading fails. Modern .NET, version 5 and above, wasn’t investigated.
How VirtualBox triggered it
This is the heart of CVE-2026-87268: VirtualBox’s own hook produced the error that .NET needed.
VirtualBox hooks the NtCreateSection system call. When a section request looks executable, the hook screens the file. That screening can return an invalid-image-format status when a file’s architecture doesn’t match the host but it contains executable sections. A managed-only .NET assembly fits that description, so the hook itself produced the error that pushed .NET onto its fallback path. The unmodified assembly could then load without the hardening checks.
One bit against Windows code integrity
The same fallback works against Windows’ own protections. Clearing the IMAGE_FILE_EXECUTABLE_IMAGE flag in the COFF header makes NtCreateSection refuse the image, yet .NET ignores the flag and loads the file. No checksum fix is needed, only a hex editor.
.NET does check the Windows Lockdown Policy first. The check was wrong, though. It tested that the policy flags weren’t equal to the value for configurable code integrity, which is exactly what Windows 11 S Mode returns when user mode code integrity is on. On S Mode, the Assembly Registration Tool, regasm.exe, loaded a modified assembly and ran code from its unregister function even with UMCI enabled.
Setting the Dynamic Code Security option blocks the attack, but it also disables .NET’s dynamic loading, so it isn’t on by default.
Protected processes are exposed too
On a default Windows install, the lockdown check doesn’t apply to protected processes at all, and .NET doesn’t check protected status. Only Protected Process Light is exploitable. Full Protected Process requires page hashes that the .NET runtime DLLs lack. By hijacking a COM registration loaded by WerSecureFault.exe, the researcher got arbitrary code at the TCB level of PPL without administrator rights.
Disclosure and the fix
Microsoft’s servicing criteria exclude PPL bypasses, and WDAC wording suggested a policy that could stop the code might make the issue ineligible. The researcher assumed the lockdown check was working as designed and presented the work at the 2026 44Con conference instead of reporting it. .NET developers later said the policy’s blocking effect was accidental and asked for a report.
By then, in late September 2026, the details were public, so it was handled as a zero-day, tracked as CVE-2026-108398 and fixed in October, less than a month after reporting. The patch changes the check to look for enforced UMCI. It won’t alter PPL behavior, so that route likely remains open.
What defenders should take away
CVE-2026-87268 is specific to VirtualBox, but the underlying .NET behavior reaches well beyond it.
Teams relying on UMCI should apply the October 2026 update. The wider lesson is about disclosure: when expected behavior is unclear, a real bug may never get reported.
Source: projectzero.google