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

Incorrect authorization in Core (CVE-2026-91734)

The Chrome Updater's named pipe server drops the untrusted-process flag on isolated connections, so an unprivileged local client is treated as trusted. An attacker could then forge an introduction to register a trusted secondary link and duplicate privileged handles from the SYSTEM process, leading to local privilege escalation.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 months

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: An unprivileged local attacker can connect to the system-scope Chrome Updater's named pipe over an isolated connection on Windows. Due to a bug in NamedMojoMessagePipeServer, the MOJO_SEND_INVITATION_FLAG_UNTRUSTED_PROCESS flag is dropped on the isolated connection path, which defaults the client process trust to trusted. This can potentially be exploited to register an arbitrary fully-trusted secondary NodeLink and duplicate privileged handles from the SYSTEM process, leading to local privilege escalation.

Affected files:

  • third_party/ipcz/src/ipcz/node_link.cc
  • third_party/ipcz/src/ipcz/node.cc
  • mojo/core/ipcz_driver/transport.cc
  • mojo/core/ipcz_driver/invitation.cc
  • components/named_mojo_ipc_server/named_mojo_message_pipe_server.cc

Estimated timestamp from git blame: 2022-07-22

Description

A potential vulnerability has been identified in Chrome's Mojo/IPCZ IPC framework and the NamedMojoMessagePipeServer class. On Windows, the system-scope Chrome Updater configures its named pipe using the security descriptor D:(A;;GA;;;SY)(A;;GA;;;BA)(A;;GRGW;;;AU), granting access to Authenticated Users (AU). To restrict unprivileged clients, the server attempts to enforce the MOJO_SEND_INVITATION_FLAG_UNTRUSTED_PROCESS flag. However, this flag is discarded when establishing isolated connections.

Root Cause Analysis

1. Trust Flag Drop in NamedMojoMessagePipeServer

In components/named_mojo_ipc_server/named_mojo_message_pipe_server.cc inside NamedMojoMessagePipeServer::OnClientConnected:

C++
  if (is_isolated) {
    // Create isolated connection.
    auto connection = std::make_unique<mojo::IsolatedConnection>();
    mojo::ScopedMessagePipeHandle message_pipe =
        connection->Connect(std::move(endpoint), std::move(peer_process));
    ...
    return;
  }

  // Create non-isolated connection.
  mojo::OutgoingInvitation invitation;
  invitation.set_extra_flags(options_.extra_send_invitation_flags);

While the non-isolated connection path explicitly propagates options_.extra_send_invitation_flags (which contains MOJO_SEND_INVITATION_FLAG_UNTRUSTED_PROCESS), the isolated branch creates a fresh mojo::IsolatedConnection and calls Connect(). This under-the-hood invokes OutgoingInvitation::SendIsolated without inheriting any of the configured security flags.

Consequently, in mojo/core/ipcz_driver/invitation.cc:

C++
  if (options &&
      (options->flags & MOJO_SEND_INVITATION_FLAG_UNTRUSTED_PROCESS) != 0) {
    remote_process_trust = Transport::ProcessTrust::kUntrusted;
  } else {
    remote_process_trust = Transport::ProcessTrust::kTrusted;
  }

Because the flag is missing, the unprivileged client is assigned a default process trust of Transport::ProcessTrust::kTrusted.

2. Acceptance of Introduction Validation Bypass

Because isolated connections require both connecting nodes to act as brokers, the remote node's type is registered as Node::Type::kBroker. When a client issues a forged msg::AcceptIntroduction to the host over the link, it is handled in third_party/ipcz/src/ipcz/node_link.cc:

C++
bool NodeLink::OnAcceptIntroduction(msg::AcceptIntroduction& accept) {
  if (remote_node_type_ != Node::Type::kBroker) {
    return false;
  }
  ...
}

Since the client is connected as a broker, the check succeeds. No verification is performed to ensure the introduction is received from the actual primary broker.

During transport deserialization in Transport::Deserialize (mojo/core/ipcz_driver/transport.cc):

C++
  const bool is_source_trusted = from_transport.is_peer_trusted() ||
                                 from_transport.destination_type() == kBroker;

Because from_transport.destination_type() == kBroker is true, the source is designated as trusted (is_source_trusted = true), bypassing subsequent security checks on the deserialized transport and registering a new, fully-trusted secondary link pointing to the attacker's process space.

Potential Attack Steps

Note: These steps represent a potential attack vector analyzed via static code flow; our current tooling has not executed a working proof of concept.

  1. An unprivileged local client connects to the system-scope Chrome Updater's named pipe.
  2. The broker-to-broker handshake finishes, resulting in a trusted NodeLink representing the client connection in the SYSTEM host process.
  3. The client sends a forged msg::AcceptIntroduction containing a transport configuration pointing to the client's process.
  4. The host process accepts the introduction (bypassing broker verification) and instantiates a new fully-trusted link X referencing the attacker.
  5. The client issues a relayed message (msg::RelayMessage) targeting X with a WrappedPlatformHandle whose ownership flag is set to HandleOwner::kRecipient, containing a raw handle of the host (SYSTEM) process (e.g., a process, thread, or token handle).
  6. The host deserializes this on link X. Since X is fully-trusted, safety checks inside DecodeHandle are bypassed. The host duplicates the specified handle from its space into the client's process (permissible because the host opened the client with PROCESS_DUP_HANDLE permissions when setting up the initial connection).

Suggested Remediation

  1. Modify mojo::IsolatedConnection::Connect (and the underlying OutgoingInvitation::SendIsolated implementations) to accept and forward MojoSendInvitationFlags to preserve the MOJO_SEND_INVITATION_FLAG_UNTRUSTED_PROCESS restriction.
  2. In NodeLink::OnAcceptIntroduction, restrict introductions to be accepted only from the designated primary broker link rather than any arbitrary broker-type connection.

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 path in NamedMojoMessagePipeServer creates a fresh IsolatedConnection without forwarding the configured invitation flags, so the client is assigned trusted process trust by default.

Impact

An unprivileged local attacker could potentially escalate privileges to SYSTEM by duplicating privileged handles, though the report notes that no working proof of concept has been executed.

What the attacker needed

Local access to the Windows machine; ability to connect to the Chrome Updater named pipe

The fix

The isolated connection path should forward the invitation flags to preserve the untrusted-process restriction, and introductions should only be accepted from the designated primary broker link.

How it was found

  1. An unprivileged local client connects to the system-scope Chrome Updater's named pipe.
  2. The broker-to-broker handshake finishes, resulting in a trusted NodeLink representing the client connection in the SYSTEM host process.
  3. The client sends a forged msg::AcceptIntroduction containing a transport configuration pointing to the client's process.
  4. The host process accepts the introduction and instantiates a new fully-trusted link X referencing the attacker.
  5. The client issues a relayed message targeting X with a WrappedPlatformHandle whose ownership flag is set to HandleOwner::kRecipient, containing a raw handle of the host (SYSTEM) process.
  6. The host deserializes this on link X, bypassing safety checks, and duplicates the specified handle from its space into the client's process.

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.

On Windows, programs can talk to each other through a named pipe, which is like a private phone line. The Chrome Updater runs with high privileges and uses such a pipe, but it is supposed to mark ordinary users as untrusted. A coding mistake removes that mark, so an ordinary user can pretend to be a trusted partner and ask the updater to hand over powerful system handles, which can lead to taking over the machine.

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.