James Forshaw published a write-up yesterday describing something that should have been harder than it was.
One quirk in how the .NET Framework loads a program file let a local attacker run untrusted code past two separate protections built to block exactly that. Both were fixed before the write-up appeared. Neither fix is the end of the story.
The Quirk
The .NET Framework can run a .NET program file from a plain copy in memory when the normal way of loading it, as an executable image, fails.
Version 4 of the framework takes that fallback on one specific error. And the memory copy skips the image checks that a loaded program would face.
That is the whole mechanism. A loader fallback path that was never meant to be a security boundary is now standing in front of one.
The VirtualBox Bypass
VirtualBox on Windows monitors the system calls that load program files into its virtual machine processes. The point is that a less-trusted user on the same computer should not be able to push code into them.
Forshaw got past that watch through the .NET Framework.
The VirtualBox check returned the specific error that triggers the .NET fallback for any .NET file compiled as AnyCPU. That is a common build target, meant to run on any processor. So an unchanged file loaded through the path the hardening never inspects.
|
Detail |
Value |
|
CVE |
CVE-2026-87268 |
|
CVSS |
7.8 |
|
Affected |
VirtualBox 7.2.16 and 7.2.18 on Windows hosts |
|
Requirements |
Local access, low privileges, no user interaction |
|
Fixed |
Oracle's September update, build 7.2.18 |
|
Oracle's impact statement |
"Takeover of Oracle VM VirtualBox" |
The COM Hijacking Step
Getting the file loaded while a virtual machine started required one more piece.
Forshaw registered a COM object in the current user's settings that a protected VirtualBox process would pull in. That technique is COM hijacking, and he documented the mechanism in his technical analysis.
The result is code running inside the protected VirtualBox process.
What This Is Not
Worth stating plainly, because the wording invites misreading.
This is not a break out of a guest virtual machine onto the host. The attacker begins as an ordinary user on that host, and the code executes within VirtualBox's own process on that host.
It is a local privilege boundary being crossed. That is significant. It is not a hypervisor escape.
The Windows Code Integrity Bypass
The same underlying idea worked against Windows' own code-integrity checks, which decide what user-mode code is allowed to run.
There is no VirtualBox hook involved here. The relevant target is the system call that maps a file as an image.
Forshaw found that clearing a single bit in a .NET file's header, the IMAGE_FILE_EXECUTABLE_IMAGE flag, made that system call reject the file while .NET still loaded and ran it.
His summary is direct. This single bit change is all you need to load an untrusted .NET assembly.
|
Detail |
Value |
|
CVE |
CVE-2026-108398 |
|
CVSS |
8.8 |
|
Affected |
.NET Framework 4 on Windows |
|
Tested on |
Windows 11 S Mode with UMCI enforced |
|
Fixed |
October 13, 2026 update, per-version KB |
|
Microsoft's classification |
Local, low-privilege security-feature bypass |
He tested it on Windows 11 S Mode, which enables User Mode Code Integrity. UMCI is the policy that limits which user-mode programs can run.
A logic error in .NET's own policy check let the file load even with UMCI enforced.
Two constraints on the impact. The flaw works through the .NET Framework version 4 loading path, and it needs a program willing to load the assembly. It is not a way to seize any Windows machine over the internet.
Microsoft lists it as publicly disclosed but not used in attacks.
The PPL Target
The same file reached something more sensitive.
Protected Process Light is a category of Windows process that ordinary programs, even ones with administrator rights, are not meant to enter.
By hijacking a COM object that WerSecureFault.exe loads, Forshaw ran his test code inside a PPL process at the highest protection level, without administrator rights.
That is the result worth pausing on. Not administrator. An ordinary local user, inside a process designed to be unreachable from ordinary local users.
The Unfixed Route
The older Protected Process type resisted the technique, because the .NET runtime files lack the page hashes it requires.
And this is where the story continues past the patch. The October fix corrects the policy check for UMCI. It does not change loading behavior for protected processes.
So the PPL route should still work, according to the researcher. It carries no separate CVE.
That is an unusual outcome. Two protections fixed, one path acknowledged as still open, and no identifier attached to it.
The Disclosure Timeline
Forshaw first presented the Windows code-integrity bypass at the 44Con conference in September, having judged it fell outside Microsoft's rules for what gets fixed.
After .NET developers told him the behavior he had relied on was accidental, he reported it in late September.
The fix arrived in October's Patch Tuesday, less than a month later.
That sequence is instructive. The initial judgment was that it would not be fixed. It was fixed quickly once the underlying behavior was confirmed to be unintended, which is the actual criterion that moved it.
What to Patch
Two products, two different update paths.
VirtualBox
Update to a build carrying the September fixes. Affected versions are 7.2.16 and 7.2.18. Build 7.2.18 shipped on September 15 with that set.
The source's wording here is worth flagging. It lists 7.2.16 and 7.2.18 as affected, and also lists 7.2.18 as the build that shipped with the fixes. That is internally inconsistent, and it matters for anyone deciding whether their installed version is safe.
The safe approach is to verify the running build rather than reasoning from the version number. An upstream code fix is not the same as a released binary.
.NET Framework
You need the October 13 update that matches the exact Windows and .NET Framework version in use. There is no single shared package.
The update release notes list the right KB for each combination. On Windows 11 version 26H2, for example, it is KB5127694.
That per-version requirement is the practical difficulty. Fleets with mixed Windows builds need the mapping table, not a single patch to deploy.
What This Teaches
Two protections, both designed to constrain what local code can do, both bypassed by the same loading quirk.
The quirk was not a vulnerability in itself. It was a fallback path, added for compatibility, that happened to skip checks the primary path performs.
That is a recurring pattern in platform security. The primary code path gets hardened, and the fallback gets forgotten, and the fallback is reachable.
The PPL outcome sharpens it further. A user without administrator rights reached the highest protection level available for a process. The fix addressed the code-integrity check. The protected-process loading path remains as the researcher described it.
What Administrators Should Do
- Verify your VirtualBox build, do not assume it. The source's version data is contradictory. Check the running version, and confirm it carries the September fixes.
- Patch .NET Framework per version. Use the update release notes to find the right KB for each Windows and .NET Framework combination in your fleet.
- Do not rely on UMCI as a complete boundary. The bypass worked with UMCI enforced on Windows 11 S Mode. Policy enforcement on user-mode code has a dependency on the loaders it trusts.
- Treat COM registration as an attack surface. The VirtualBox technique and the PPL technique both used COM hijacking. Per-user COM registrations that privileged processes will load are worth auditing.
- Watch for unusual COM objects registered in user profiles. That is the mechanism, and it is detectable if you know to look.
- Note the open PPL route. The October fix does not close it, and no CVE covers it. If PPL integrity is part of your threat model, that gap is documented and unresolved.
- Track the .NET loader fallback behavior. The fallback exists for compatibility. It will keep being relevant to how code-integrity policies are enforced.
- Reassess what "local, low privilege" means in your environment. Both CVEs are rated local. On a shared workstation or a VDI host, local is a crowded category.
FAQ
What did James Forshaw discover?
That a .NET Framework loading quirk, where the framework runs a program file from a memory copy when image loading fails, let him run untrusted code past VirtualBox hardening and Windows code integrity.
What is the VirtualBox flaw?
CVE-2026-87268, rated 7.8. VirtualBox monitors the system calls that load program files into its VM processes, and the .NET fallback path bypassed that watch. Oracle lists VirtualBox 7.2.16 on Windows hosts as affected and describes the impact as takeover of Oracle VM VirtualBox.
Is this a VM escape?
No. The attacker begins as an ordinary user on the host, and the code runs inside the protected VirtualBox process on that host. It is not a break out of a guest virtual machine.
How did he trigger the load?
He registered a COM object in the current user's settings that a protected VirtualBox process would pull in. That is COM hijacking.
What is the Windows code-integrity flaw?
CVE-2026-108398, rated 8.8. Clearing the IMAGE_FILE_EXECUTABLE_IMAGE flag in a .NET file's header made the system call that maps a file as an image reject it, while .NET still loaded and ran it.
Did it work with UMCI enforced?
Yes. He tested it on Windows 11 S Mode, where User Mode Code Integrity is enforced. A logic error in .NET's own policy check let the file load anyway.
What about Protected Process Light?
By hijacking a COM object that WerSecureFault.exe loads, he ran test code inside a PPL process at the highest protection level without administrator rights.
Is the PPL route fixed?
No. The October fix corrects the UMCI policy check but does not change loading behavior for protected processes. The researcher says the PPL route should still work, and it carries no separate CVE.
Which VirtualBox versions are affected?
The source lists 7.2.16 and 7.2.18 as affected, and also lists 7.2.18 as the build that shipped with the September fixes. That is contradictory, so verify the running build rather than the version number.
What .NET update do I need?
The October 13 update matching your exact Windows and .NET Framework version. There is no shared package. On Windows 11 26H2, for example, it is KB5127694.
Why was this not fixed initially?
Forshaw first presented it at 44Con in September, having judged it fell outside Microsoft's rules for what gets fixed. After .NET developers confirmed the behavior he relied on was accidental, he reported it in late September, and the fix came in October's Patch Tuesday.
Has it been exploited?
Microsoft lists CVE-2026-108398 as publicly disclosed but not used in attacks.
What is the practical takeaway for defenders?
Verify running versions rather than assuming, patch per-version, audit per-user COM registrations, and do not treat UMCI as a complete boundary.