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

Insufficient validation of untrusted input in UI (CVE-2026-10942)

The Google Updater on Windows connects to a named pipe with a predictable name without verifying the server's identity, allowing a local attacker to impersonate the server. Due to flaws in Mojo IPCz, the attacker can bypass handle decoding checks and force the SYSTEM-privileged updater to close arbitrary handles, potentially leading to privilege escalation.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 46 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 without the Chrome Security team. Please see go/chrome-ai-generated-security-bugs-faq for more information.

Overview: The Google Updater on Windows connects to a predictable named pipe without verifying the server's identity, allowing a local attacker to intercept the connection. Due to flaws in how Mojo IPCz handles isolated connections and queries process IDs, the attacker is trusted as a broker, bypassing handle decoding security checks. This allows the attacker to force the SYSTEM-privileged updater to close arbitrary handles.

Affected files:

  • chrome/enterprise_companion/enterprise_companion_client.cc
  • mojo/core/ipcz_driver/transport.cc
  • mojo/core/ipcz_driver/invitation.cc
  • mojo/public/cpp/platform/named_platform_channel_win.cc
  • chrome/updater/policy/policy_fetcher.cc

Estimated timestamp from git blame: 2025-12-18

Description

A potential local privilege escalation (LPE) vulnerability exists in the Google Updater on Windows. When the SYSTEM-privileged updater attempts to connect to the Chrome Enterprise Companion App (CECA), it does so over a named pipe with a predictable name and fails to verify the identity of the server. This allows a local, unprivileged attacker to squat the pipe and act as a malicious server.

Due to the way the updater establishes this connection (mojo::IsolatedConnection), Mojo IPCz classifies the connection as broker-to-broker. Furthermore, a logic error in OpenRemoteProcess causes the updater to query its own process ID instead of the attacker's, leaving the remote process handle invalid. These conditions inadvertently bypass critical security checks in IPCz handle decoding, granting the attacker the ability to pass arbitrary handle values that the SYSTEM process will then close via base::win::ScopedHandle destruction. This provides a reliable Arbitrary CloseHandle primitive, which is a known vector for privilege escalation.

Technical Details

  1. Named Pipe Squatting: The updater connects to \\.\pipe\mojo.ChromeEnterpriseCompanionService via ConnectWithRetries(). The connection logic (mojo::NamedPlatformChannel::CreateClientEndpoint) uses SECURITY_ANONYMOUS to prevent impersonation but does not verify the identity (e.g., owner SID or process signature) of the server that created the pipe. Windows named pipes are first-come-first-served, so an unprivileged attacker can create this pipe before the legitimate CECA server does.

  2. Broker Trust via Isolated Connection: The updater wraps the connection in a mojo::IsolatedConnection. When this is passed down to IPCz via OutgoingInvitation::SendIsolated(), the MOJO_SEND_INVITATION_FLAG_ISOLATED flag causes Invitation::Send() to set the transport's destination type to Transport::kBroker.

  3. Invalid Remote Process via Logic Flaw: Because IsolatedConnection does not explicitly provide the remote process, Invitation::Send() attempts to derive it by calling OpenRemoteProcess(*transport_endpoint, /* remote_is_server= */ false). Because remote_is_server is false, it calls GetNamedPipeClientProcessId. However, the updater is the client of this named pipe. It receives its own PID, detects the mismatch, and returns an invalid base::Process. Consequently, the transport is created with an invalid remote_process.

  4. Handle Verification Bypass: When the attacker sends an IPCz message, the handles are decoded in Transport::DecodeHandle(). The attacker can specify HandleOwner::kRecipient for a handle. The security check designed to prevent untrusted peers from sending kRecipient handles is:

    C++
    if (from_transport.destination_type() != Transport::kBroker &&
        !from_transport.is_peer_trusted() && !remote_process.is_current()) {
        return std::nullopt;
    }
    

    Because the destination type was set to Transport::kBroker (Step 2), this check is entirely bypassed.

  5. Arbitrary CloseHandle: Because the check is bypassed, DecodeHandle takes the attacker's arbitrary 64-bit value, calls ::GetHandleInformation to verify the handle exists in the local (SYSTEM) process, and wraps it in a base::win::ScopedHandle (held by PlatformHandle). If the attacker intentionally crafts a malformed message so that Transport::DeserializeObject() fails, the PlatformHandle objects are destroyed. The destruction of the ScopedHandle invokes the Windows API ::CloseHandle() on the attacker-controlled value.

Potential Attack Steps

Note: Our tooling agent cannot run code, so these are suggested steps based on static analysis.

  1. As a non-admin user, create a named pipe at \\.\pipe\mojo.ChromeEnterpriseCompanionService.
  2. Wait for the scheduled task or invoke the COM method (IUpdater::FetchPolicies) to trigger the SYSTEM updater to connect to the pipe.
  3. Upon connection, send a serialized Mojo IPCz message (e.g., ConnectFromBrokerToBroker).
  4. Include handle data in the message with handle_owner = kRecipient and raw values corresponding to valid handles inside the SYSTEM process (e.g., small multiples of 4 like 0x4, 0x8, 0xC).
  5. Intentionally malform the rest of the message so that deserialization fails.
  6. The SYSTEM updater processes the message, wraps the handles, fails deserialization, and automatically closes the attacker-specified handles, disrupting the process or opening a window for LPE via handle re-use.

Suggested Fix

  1. Verify Server Identity: Modify named_mojo_ipc_server::ConnectToServer or mojo::NamedPlatformChannel::CreateClientEndpoint to verify the process ID, owner SID, or digital signature of the server process after successfully connecting to the named pipe.
  2. Fix PID Query Logic: Update OpenRemoteProcess in mojo/core/ipcz_driver/invitation.cc to ensure that when a client is attempting to verify a peer, it uses GetNamedPipeServerProcessId, and vice versa.
  3. Review Isolated Connection Trust: Re-evaluate whether IsolatedConnection should unconditionally set the destination_type to Transport::kBroker, especially when the remote process is unknown or unverified.

Evaluated with Chrome root at commit: 7353d249d9cacf9c7218e1d7b8a39cf39c72d646


Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; 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 updater fails to verify the identity of the named pipe server, and Mojo IPCz incorrectly trusts the connection as broker-to-broker while also querying the wrong process ID, bypassing handle decoding security checks.

Impact

A local unprivileged attacker could force the SYSTEM-privileged updater to close arbitrary handles, potentially leading to privilege escalation.

What the attacker needed

Local access as non-admin user; ability to create named pipes; updater connects to the pipe

The fix

The report suggests verifying the server's identity, fixing the PID query logic, and reviewing the trust of isolated connections; it does not state that a fix was applied.

How it was found

  1. As a non-admin user, create a named pipe with the predictable name.
  2. Wait for the scheduled task or invoke the COM method to trigger the SYSTEM updater to connect to the pipe.
  3. Upon connection, send a serialized Mojo IPCz message.
  4. Include handle data in the message with handle_owner set to kRecipient and raw values corresponding to valid handles inside the SYSTEM process.
  5. Intentionally malform the rest of the message so that deserialization fails.
  6. The SYSTEM updater processes the message, wraps the handles, fails deserialization, and automatically closes the attacker-specified handles.

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.

A program running with high privileges (SYSTEM) connects to a communication channel (named pipe) whose name is predictable. A regular user can create that channel first and pretend to be the legitimate server. Because of mistakes in the communication library, the attacker can then make the high-privilege program close handles (references to system resources) that the attacker chooses, which can crash the program or help the attacker gain higher privileges.

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.