TLDR

  • Google Project Zero researcher James Forshaw showed how changing one bit in a .NET file can get untrusted code past Windows code integrity checks.

  • Microsoft tracks the flaw as CVE-2026-108398, rates it 8.8, and fixed it on October 13.

  • A related Oracle VirtualBox flaw, CVE-2026-87268, was fixed in September with build 7.2.18.

  • Forshaw first chose not to report the Windows issue because he thought it fell outside Microsoft's rules for fixes.

  • He says a route into Protected Process Light processes should still work after the patch.


A Windows security flaw that one researcher first chose not to report has now been patched, after .NET developers told him the behavior was a mistake. James Forshaw of Google Project Zero laid out the full details in a blog post published on November 23.

The flaw let a local user run untrusted code past Windows code integrity, the system that decides which programs may run. It worked by changing just one bit in a .NET program file.

Microsoft tracks the issue as CVE-2026-108398 and rates it 8.8. The company lists it as publicly disclosed but says it has not been used in attacks.

Yes, a single bit was enough. That is the smallest piece of data a computer can store.

Why the Report Came Late

Forshaw first presented the bypass at the 44Con conference in September. He believed it fell outside Microsoft's rules for which bugs get fixed.

Microsoft's servicing rules say any bypass of Protected Process Light is not in scope. For its application control feature, a fix may not be offered if a policy setting can already block the code.

Forshaw assumed a setting called Dynamic Code Security was meant to stop the trick. .NET developers later told him the setting only blocked it by accident and asked him to file a report.

He reported the flaw in late September. Because he had already shown it in public, it was handled as a zero-day.

Microsoft shipped a fix in October's Patch Tuesday, less than a month later. That is a quick turnaround for a bug that almost never reached the company's inbox. On Windows 11 version 26H2, the update is KB5127694.

How the Trick Works

The .NET Framework version 4 tries to load a program file as an executable image first. If that fails with one specific error, it falls back to reading a plain copy in memory that skips image checks.

Forshaw found that clearing a header flag called IMAGE_FILE_EXECUTABLE_IMAGE made Windows reject the file as an image. .NET ignored the flag and ran the file anyway.

He tested it on Windows 11 S Mode, which uses User Mode Code Integrity to limit what programs can run. A logic error in .NET's policy check let the file load even with that protection turned on.

The same loading path also beat Oracle's VirtualBox process hardening on Windows hosts. That flaw, CVE-2026-87268, scores 7.8 and affects version 7.2.16.

In VirtualBox, an unchanged .NET file compiled as AnyCPU triggered the fallback error. Forshaw used COM hijacking, a way of redirecting a program to load other code, to get the file loaded when a virtual machine started.

Oracle fixed the VirtualBox bug with build 7.2.18, released on September 15. The attacker must already be an ordinary user on the host, so this is not an escape from a guest machine.

Forshaw also ran test code inside a Protected Process Light process at the highest level without administrator rights. He did it by hijacking a COM object that WerSecureFault.exe loads.

Microsoft's October fix corrects the check for User Mode Code Integrity but does not change loading for protected processes. Forshaw says that route should still work, and it carries no separate CVE.