Skip to content
Access control Advisory Advanced CVE-2026-12018

Inappropriate implementation Mojo (CVE-2026-12018)

The Windows Chrome Updater drops the untrusted-process flag when creating an isolated Mojo connection, so the connection is treated as trusted and handle safety checks are skipped. A local unprivileged attacker could use the RelayMessage protocol to make the updater duplicate arbitrary handles back to them, leading to privilege escalation or denial of service.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 17 days

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: When the system-scope Chrome Updater on Windows establishes an isolated connection with local clients, the 'MOJO_SEND_INVITATION_FLAG_UNTRUSTED_PROCESS' flag is dropped during initialization. This causes the client transport to be treated as trusted, completely bypassing Mojo handle type protections during serialization and enabling local unprivileged clients to harvest or close arbitrary handles from the elevated updater process via the 'RelayMessage' protocol.

Affected files:

  • mojo/public/cpp/platform/platform_handle_security_util_win.cc
  • mojo/core/ipcz_driver/transport.cc
  • chrome/updater/ipc/ipc_security_win.cc

Estimated timestamp from git blame: 2025-05-08

Description

A potential Local Privilege Escalation (LPE) and Denial of Service (DoS) vulnerability exists in the Windows system-scope Chrome Updater process due to flag truncation when establishing Mojo 'IsolatedConnection' pipes with local clients.

While the updater configures its endpoint options to treat connections as untrusted by specifying 'MOJO_SEND_INVITATION_FLAG_UNTRUSTED_PROCESS' in 'chrome/updater/ipc/ipc_security_win.cc', this flag is dropped when the server sets up an 'IsolatedConnection'. Consequently, the transport is initialized as trusted ('ProcessTrust::kTrusted'). An unprivileged local client can abuse the Mojo/Ipcz 'RelayMessage' protocol to trick the elevated updater broker into adopting arbitrary handles from its own handle table and duplicating them back to the client with identical permissions, while simultaneously closing them in the updater.

Root Cause Analysis

  1. Truncation of Send Invitation Flags: In 'chrome/updater/ipc/ipc_security_win.cc' (line 25), the updater configures server options with the untrusted process flag. However, in 'NamedMojoMessagePipeServer::OnConnectionAccepted' ('components/named_mojo_ipc_server/named_mojo_message_pipe_server.cc'), when 'is_isolated' is true, the server creates an isolated connection via 'mojo::IsolatedConnection::Connect'. This function ignores the custom invitation flags and delegates to 'OutgoingInvitation::SendIsolated', which initializes an 'OutgoingInvitation' locally without carrying over the caller's invitation flags. As a result, the 'MOJO_SEND_INVITATION_FLAG_UNTRUSTED_PROCESS' flag is discarded.

  2. Trust Level Bypass: Because the untrusted process flag is omitted, the Mojo/Ipcz driver layer in 'mojo/core/ipcz_driver/invitation.cc' initializes the connection's trust level to 'ProcessTrust::kTrusted' instead of 'kUntrusted'.

  3. Mojo Handle Verification Bypass: Since the connection is marked 'kTrusted', any calls to 'EncodeHandle' inside 'mojo/core/ipcz_driver/transport.cc' skip handle safety checks entirely. The 'MaybeCheckIfHandleIsUnsafe' routine—which normally restricts handle transfers to safe types (such as 'File' or 'Section') and crashes on other types—is completely bypassed.

  4. Confused Deputy via RelayMessage: Because 'is_isolated' is true, the transport destination type is initialized as 'Transport::kBroker'. When decoding a handle with 'handle_owner == HandleOwner::kRecipient' in 'DecodeHandle' ('mojo/core/ipcz_driver/transport.cc:203'), the safety check is bypassed since 'destination_type' is 'kBroker'. This allows the updater to adopt any handle matching an active index in its own handle table.

    An attacker can send a raw 'msg::RelayMessage' with a 'HandleOwner::kRecipient' driver object targeting a sensitive handle inside the updater process. The updater adopts the handle, then relays the message back to the attacker using 'DuplicateHandle' with 'DUPLICATE_SAME_ACCESS | DUPLICATE_CLOSE_SOURCE', resulting in the handle being transferred to the attacker and closed in the updater.

Potential Attack Scenario

Note: These are potential steps and findings derived from static analysis of the codebase. Our tooling does not currently have the capability to run code or execute a live proof of concept.

  1. A local low-privileged attacker connects to the system-scope updater's named pipe (granted 'GRGW' to 'Authenticated Users' in the DACL).
  2. The attacker establishes an isolated Mojo connection and locates the index of a target handle (e.g., a write-access file handle or token handle) within the updater process via 'NtQuerySystemInformation'.
  3. The attacker transmits a crafted 'msg::RelayMessage' containing a driver object with the target handle index and 'handle_owner' set to 'HandleOwner::kRecipient'.
  4. The updater adopts the handle, serializes it back to the attacker as part of the relay dispatch, and executes 'DuplicateHandle' with the source close option into the attacker's process.
  5. The attacker obtains the duplicated handle with original permissions, achieving handle harvesting (LPE) or causing the updater to crash (DoS) because its own copy of the handle was closed.

Suggested Fix

  1. Modify 'mojo::IsolatedConnection::Connect' (or add an overload) to accept and forward the extra invitation flags so that 'MOJO_SEND_INVITATION_FLAG_UNTRUSTED_PROCESS' is properly preserved and enforced.
  2. In 'NamedMojoMessagePipeServer::OnConnectionAccepted', ensure that the extra invitation flags are plumbed into the isolated connection object.
  3. In 'MaybeCheckIfHandleIsUnsafe', return a status boolean rather than crashing the process via 'NOTREACHED()' on invalid handle types to prevent Denial of Service attacks on the updater.

Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the isolated connection setup ignores the caller's invitation flags, so the untrusted-process flag is never applied and the transport defaults to trusted.

Impact

A local unprivileged attacker could obtain handles with original permissions from the elevated updater, achieving privilege escalation, or cause the updater to crash for denial of service.

What the attacker needed

Local access to the machine; low-privileged user account; updater running with elevated privileges

The fix

The isolated connection should forward the untrusted-process flag, and handle safety checks should return an error instead of crashing.

How it was found

  1. Connect to the updater's named pipe as a low-privileged local user.
  2. Establish an isolated Mojo connection and find the index of a target handle in the updater process.
  3. Send a crafted RelayMessage with the target handle index and recipient ownership.
  4. The updater adopts the handle and duplicates it back to the attacker, closing its own copy.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The Chrome Updater runs with high privileges and accepts connections from ordinary users on the same computer. A security flag that should mark those connections as untrusted is lost, so the updater wrongly trusts them. This could let a normal user trick the updater into handing over powerful system handles, which can lead to taking control of the machine or crashing the updater.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.