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

Missing authorization in API (CVE-2026-113035)

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 7 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 without the security team.

Overview: A compromised renderer can spoof a connection from a native application to an extension by providing an unvalidated ChannelType::kNative in the OpenChannelToExtension IPC. This triggers the extension's chrome.runtime.onConnectNative listener, bypassing the security boundary between web content and trusted native messaging.

Affected files:

  • extensions/browser/api/messaging/message_service_bindings.cc
  • extensions/renderer/api/messaging/messaging_util.cc
  • extensions/renderer/api/messaging/native_renderer_messaging_service.cc
  • extensions/browser/api/messaging/message_service.cc
  • extensions/browser/extension_frame_host.cc

Estimated timestamp from git blame: 2024-05-03

Description

The browser-process IPC validation layer in MessageService::OpenChannelToExtension (located in extensions/browser/api/messaging/message_service_bindings.cc) fails to validate the channel_type parameter provided by the renderer process.

While the code correctly validates info.source_endpoint via IsValidMessagingSource() (rejecting kNativeApp endpoint types originating from renderers), the channel_type parameter is passed through to the target extension without any checks.

A compromised renderer can exploit this by sending a LocalFrameHost::OpenChannelToExtension (or ServiceWorkerHost::OpenChannelToExtension) IPC with a legitimate source_endpoint.type (e.g., kWebPage) but with channel_type set to mojom::ChannelType::kNative. This unvalidated channel_type flows through MessageService::OpenChannelToExtension in the browser process and finally to the target extension's renderer process.

On the receiving side, messaging_util::GetEventForChannel (in extensions/renderer/api/messaging/messaging_util.cc) determines the Javascript event to fire based strictly on the channel_type. For kNative, it unconditionally returns kOnConnectNativeEvent. Consequently, the target extension's chrome.runtime.onConnectNative listener is triggered.

Impact

The chrome.runtime.onConnectNative event is architecturally reserved for connections originating from trusted, local native messaging binaries. Extensions that implement onConnectNative handlers (such as enterprise agents, password managers, or hardware authenticators) typically treat the peer as authenticated and highly trusted.

A compromised renderer for an origin allowed by an extension's externally_connectable.matches can spoof this identity. While the port.sender object will lack the nativeApplication field, many extensions do not explicitly check for its presence, relying instead on the fact that the onConnectNative event fired at all.

This violates the extension security model, resulting in a potential privilege escalation and sandbox escape depending on the capabilities exposed by the extension's native messaging interface.

Potential Reproduction Steps

Note: These are suggested steps; we have not yet run a working proof of concept.

  1. Identify a target extension with the nativeMessaging permission that implements a chrome.runtime.onConnectNative listener.
  2. Ensure the extension allows external connections from a specific web origin via externally_connectable in its manifest.
  3. From a compromised renderer hosting that origin, acquire the extensions.mojom.LocalFrameHost Mojo interface.
  4. Invoke the OpenChannelToExtension IPC with the following parameters:
    • info.source_endpoint.type = MessagingEndpoint::Type::kWebPage
    • info.target_id = <target_extension_id>
    • channel_type = mojom::ChannelType::kNative
  5. Observe that the target extension receives an onConnectNative event, even though the connection originated from a web page renderer.

Recommended Fix

Add validation in MessageService::OpenChannelToExtension (in extensions/browser/api/messaging/message_service_bindings.cc) to reject requests where channel_type == mojom::ChannelType::kNative. Connections from legitimate native applications do not originate from renderer processes and use a different initialization path (OpenChannelToNativeApp or are initiated by the browser process directly). If channel_type == mojom::ChannelType::kNative is observed arriving via this renderer-facing IPC, the browser should call bad_message::ReceivedBadMessage to terminate the process.

Evaluated with Chrome root at commit: ff3d2b74fa39431785bd60e51463b08fcc71ee33


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.

What is known

A medium-severity access control bug in API (Google Chrome). Chrome VRP made it public on 20 October 2026 as CVE-2026-113035. Fixed in version 156.0.8078.47.

About 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.

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

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.