---
title: "Windows Exploitation Techniques: Dangling COM Object Registrations"
description: "CVE-2026-66804 is an incomplete fix for the “Dark Elevator” COM privilege-escalation bug: a dangling CrossDevice COM registration points to a missing DLL under C:\\ProgramData, a writable location where any user can plant a DLL for a privileged process to load."
url: "https://swe.quest/articles/windows-exploitation-techniques-dangling-com-object-registrations-6320bfb3a1010ecd"
canonical: "https://projectzero.google/2026/09/windows-dangling-com.html"
source: "Google Project Zero"
published: "2026-09-21"
difficulty: "hard"
kind: "Deep dive"
reading_minutes: 7
tags: ["vulnerability-research","security","operating-systems","rpc"]
---

# Windows Exploitation Techniques: Dangling COM Object Registrations

A post on [Google Project Zero](https://swe.quest/sources/project-zero.md), published 2026-09-21, 7 min read, Deep dive. Original: [https://projectzero.google/2026/09/windows-dangling-com.html](https://projectzero.google/2026/09/windows-dangling-com.html)

## Summary

CVE-2026-66804 is an incomplete fix for the “Dark Elevator” COM privilege-escalation bug: a dangling CrossDevice COM registration points to a missing DLL under C:\\ProgramData, a writable location where any user can plant a DLL for a privileged process to load. With the earlier InstallService route fixed, the exploit instead abuses custom COM marshaling, using a fake IMarshal to return the dangling CLSID and delivering the marshaled object to the SYSTEM-hosted Shell Create Object Handler, which permits custom marshaling and unmarshals during activation through ICreateObject. Working exploit code and a PowerShell script for finding other in-process COM registrations with missing DLLs are included; the same technique can also target buggy custom unmarshalers.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Vulnerability research](https://swe.quest/tags/vulnerability-research.md) (Security)
- [Security](https://swe.quest/tags/security.md) (Security)
- [Operating systems](https://swe.quest/tags/operating-systems.md) (Infrastructure)
- [RPC & gRPC](https://swe.quest/tags/rpc.md) (Backend & APIs)

## Prerequisites

- Windows COM activation
- DCOM marshaling and OBJREF
- Windows registry ACLs
- Windows privilege escalation

## Keywords

CVE-2026-66804, CVE-2026-50343, CrossDevice, COM, DCOM, IMarshal, OBJREF, Shell Create Object Handler

## Related posts

- [Dark Elevator: Windows Install Service Local Privilege Escalation (CVE-2026-50343)](https://swe.quest/articles/dark-elevator-windows-install-service-local-privilege-escalation-cve-2026-50343-a3f1d4a295edc964.md): Calif · 2026-07-22 · Hard · 3 min read · Security, Vulnerability research, Operating systems
  Windows 11's SYSTEM \`InstallService\` can be made to load an attacker-controlled DLL by chaining a user-writable \`StaticPluginMap\` registry key with a Windows-shipped CrossDevice COM class whose \`InprocServer32\` DLL path sits under \`C:\\ProgramData\`.
- [Apple MIE exploitation challenge](https://swe.quest/articles/apple-mie-exploitation-challenge-6bb99bffe40b464f.md): Calif · 2026-07-27 · Hard · 8 min read · Vulnerability research, Memory safety, Operating systems, Security
  A public bypass of Apple MIE on macOS 26.4.1 chains two kernel bugs: an SMB create-context type confusion (CVE-2026-64704) in which a malicious server replies with a lease context and the parser reinterprets the client's Resolve ID object as a lease, and a WebDAV information leak (CVE-2026-64699) where the kext copies the full requested length from an uninitialized buffer after accepting an empty successful HTTP response.
- [VirtualBox Process Hardening on Windows 2026 Edition: What’s a Single Bit Between Friends?](https://swe.quest/articles/virtualbox-process-hardening-on-windows-2026-edition-what-s-a-single-bit-1069b5979c740309.md): Google Project Zero · 2026-11-23 · Hard · 13 min read · Vulnerability research, Sandboxing & isolation, .NET, Virtualization, Security
  The .NET Framework v4 loader falls back from an image-section mapping (SEC\_IMAGE) to a plain data mapping (FlatImageLayout) whenever NtCreateSection fails with STATUS\_INVALID\_IMAGE\_FORMAT, so assemblies can execute without passing image-based DLL verification.
- [Well, That Wasn't Fun: October 16 '26](https://swe.quest/articles/well-that-wasn-t-fun-october-16-26-83d1120fe160ef39.md): Fly.io · 2026-11-06 · Medium · 7 min read · Incidents & postmortems, Vulnerability research, Linux, Virtualization, Networking
  A Linux kernel bug in IPv4 checksum offload validation let a guest VM direct the host to write its computed checksum into an already-trusted IPv4 header field.
- [Virtualization, Responsible Disclosure, and CVE-2026-99312](https://swe.quest/articles/virtualization-responsible-disclosure-and-cve-2026-99312-bf7fb4a905c9145d.md): DigitalOcean · 2026-11-19 · Easy · 3 min read · Virtualization, Vulnerability research, Linux, Multi-tenancy
  A KVM flaw on AMD hosts with nested virtualization let root inside a guest read and write physical host memory.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
