
Google Project Zero researcher James Forshaw has published a write-up of how a quirk in the .NET Framework’s file loading let a local attacker run untrusted code past two separate Windows protections. The Hacker News reports the write-up appeared on November 23 and that both resulting flaws were fixed beforehand. One is CVE-2026-87268 in Oracle VM VirtualBox on Windows hosts; the other is CVE-2026-108398, a Windows code-integrity bypass in .NET Framework that Microsoft fixed on October 13. We briefly mentioned the second in our October Patch Tuesday coverage; this post covers how the bypass worked.
The root cause, as Forshaw describes it, is that .NET Framework 4 normally maps an assembly as an image, where Windows hardening checks can block it, but falls back to reading the file as plain data if that mapping fails. The fallback skips the image checks. For VirtualBox, whose process hardening guards its VM processes against other users on the same machine, he found that any .NET assembly compiled as “AnyCPU” makes the image check return an error without changing the file, so the assembly loads through the unchecked path. He combined that with a COM hijack to get code running inside a protected VirtualBox process. Oracle’s September 2026 critical patch update lists CVE-2026-87268 as a Windows-host-only flaw rated 7.8, exploitable by a low-privileged attacker who can already log on, with “takeover of Oracle VM VirtualBox” as the impact.
The same idea worked against Windows itself. Forshaw found that clearing one bit in a .NET file’s header (the IMAGE_FILE_EXECUTABLE_IMAGE flag) makes Windows refuse to map it as an image while .NET still loads and runs it. On Windows 11 S Mode, which enforces User Mode Code Integrity (UMCI), he ran a modified assembly through the built-in regasm.exe; he says .NET’s own policy check compared the lockdown flags against the wrong value, and S Mode returns exactly that value, so the check passed. The Dynamic Code Security option blocks the attack, he notes, but it is not enabled by default. Microsoft’s fix corrects that check. Forshaw adds that it does not change behavior for Protected Process Light (PPL) processes, which he reached without administrator rights by hijacking a COM object loaded by WerSecureFault.exe, so that route should still work; The Hacker News says it has no separate CVE.
The disclosure history is unusual. Forshaw says he judged the Windows issue out of scope for Microsoft’s servicing criteria and presented it at the 44Con conference in September; .NET developers then told him the behavior he relied on was accidental and asked him to report it. Because it was already public, Microsoft treated it as a zero-day. The Hacker News says Microsoft lists it as publicly disclosed but not used in attacks, with a CVSS score of 8.8. Both flaws are local: the attacker must already run code as an ordinary user, and The Hacker News stresses neither is a way to take over a Windows machine over the internet.
How to check if you’re affected
Affected versions for CVE-2026-87268, per Oracle’s September 2026 risk matrix, are Oracle VM VirtualBox 7.2.16 on Windows hosts; the row does not name a fixed build. The Hacker News says VirtualBox 7.2.18, released on September 15, carries the September fixes, though its text also lists 7.2.18 as affected, which we could not reconcile. Check the VirtualBox version installed on each Windows host and confirm the fixed build against Oracle’s advisory.
Affected products for CVE-2026-108398 are Windows systems running .NET Framework 4. Microsoft’s .NET Framework October 2026 cumulative update (released October 13, 2026) lists the CVE and has a different KB number per Windows version; for example, Windows 11 version 26H2 is KB5127694 and Windows 11 version 25H2 and 24H2 are KB5127690. If your system has installed the October 13 or a later cumulative update, the fix is included. The protection this flaw defeats is UMCI, which is enforced through Windows Defender Application Control (WDAC) policies, so in our reading it matters mainly where those policies are in use.
Sources
- Google Project Zero: VirtualBox Process Hardening on Windows 2026 Edition: What’s a Single Bit Between Friends?
- Oracle: Text Form of Oracle CSPU September 2026 Risk Matrices
- Microsoft Learn: .NET Framework October 2026 cumulative update
- VirtualBox commit “SUPHardNt: Avoid returning STATUS_INVALID_IMAGE_FORMAT from NtCreateS…” (linked from The Hacker News; only the commit title was read)
- The Hacker News: Google Researcher Shows How a Single Bit Change in .NET Files Bypassed Windows Code Integrity
