Insufficient policy enforcement in Mojo (CVE-2026-14109)
The Mojo BinderMap does not check RuntimeFeature gates when registering or dispatching interfaces, so a compromised renderer can trigger browser-side binder callbacks for interfaces that are meant to be disabled. This can cause side effects such as instantiating services or emitting metrics before the request is dropped.
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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: The mojo::BinderMap class fails to consult [RuntimeFeature] gates during interface registration and dispatch. This allows a compromised renderer to trigger the execution of browser-side binder callbacks for interfaces that have been explicitly disabled via feature flags.
Affected files:
mojo/public/cpp/bindings/binder_map.hmojo/public/cpp/bindings/lib/binder_map_internal.hchrome/browser/chrome_browser_interface_binders.cc
Estimated timestamp from git blame: Unknown (Google3 checkout)
Summary
A potential security control bypass exists in Mojo's BinderMap implementation where [RuntimeFeature] gates are not consulted during interface registration or dispatch. This allows a compromised renderer process to reach and execute binder callbacks in the browser process for interfaces that are supposedly disabled via the [RuntimeFeature] mojom attribute and its corresponding feature flag.
Root Cause Analysis
mojo::BinderMapWithContext is a registry used by BrowserInterfaceBroker to expose per-frame interfaces to renderers. Unlike mojo::ServiceFactory, which checks if an interface is enabled before allowing registration (see mojo/public/cpp/bindings/service_factory.h), BinderMap registration and dispatch code does not consult the generated GetRuntimeFeature_IsEnabled<Interface>() function.
When a renderer requests an interface via BrowserInterfaceBroker::GetInterface, the request is handled by BrowserInterfaceBrokerImpl::BindInterface, which calls TryBind on its BinderMap. The TryBind implementation in mojo/public/cpp/bindings/binder_map.h extracts the raw message pipe handle from the GenericPendingReceiver using PassPipe():
it->second.BindInterface(std::move(context), receiver->PassPipe());
By using PassPipe(), it bypasses the GenericPendingReceiver::As<Interface>() method, which is the standard path that enforces [RuntimeFeature] checks (see mojo/public/cpp/bindings/generic_pending_receiver.h). The raw pipe is then re-wrapped into a strongly-typed PendingReceiver<Interface> using an unchecked constructor in mojo/public/cpp/bindings/lib/binder_map_internal.h before being passed to the developer-provided binder callback.
This bypass means that any interface registered via BinderMap::Add<Interface> can have its binder callback executed even if its associated [RuntimeFeature] is disabled, unless the developer has manually added a feature check at the registration site.
Impact
An attacker who has compromised a renderer process can trigger the execution of binder callbacks for disabled interfaces. While the eventual Bind() call on a browser-side Receiver or ReceiverSet will typically fail and reset the pipe if the feature is disabled, the binder callback itself is executed first. This callback may have unintended side effects such as instantiating KeyedServices, allocating objects, or emitting UMA metrics before the bound state is finally checked.
For example, screen_ai::mojom::ScreenAIAnnotator is guarded by [RuntimeFeature=ax.mojom.features.kScreenAIOCREnabled]. It is registered in chrome/browser/chrome_browser_interface_binders.cc without a manual feature check. If the feature is disabled, a compromised renderer can still trigger BindScreenAIAnnotator, which instantiates a ScreenAIServiceRouter (a KeyedService) and emits UMA histograms before the request is eventually dropped.
Potential Reproduction Steps
- Identify a
[RuntimeFeature]-guarded interface registered viaBinderMapin the browser process that lacks a manual feature check at registration (e.g.,screen_ai::mojom::ScreenAIAnnotatorinchrome_browser_interface_binders.cc). - Disable the corresponding feature flag (e.g., via
--disable-features=ScreenAIOCREnabled). - From a compromised renderer, call
blink.mojom.BrowserInterfaceBroker::GetInterfacerequesting the disabled interface name. - Observe (via breakpoint or logging) that the browser-side binder callback is executed despite the feature being disabled.
Note: These are potential steps as our current analysis is based on code review.
Suggested Fix
Mirror the implementation of mojo::ServiceFactory::Add: in each BinderMap::Add<Interface> overload, early-return if !internal::GetRuntimeFeature_IsEnabled<Interface>(). Additionally, TryBind could be updated to use As<Interface>() to ensure feature gates are respected during dispatch.
Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a
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.
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 BinderMap uses PassPipe() to extract the raw message pipe and re-wrap it without calling As<Interface>(), which is the path that enforces RuntimeFeature checks.
Impact
A compromised renderer could trigger binder callbacks for disabled interfaces, causing side effects such as instantiating KeyedServices or emitting UMA metrics, though the eventual Bind() call typically fails and resets the pipe.
What the attacker needed
Compromised renderer process; feature flag disabled; interface registered via BinderMap
The fix
The BinderMap::Add overloads should early-return when the RuntimeFeature is not enabled, and TryBind should use As<Interface>() to respect feature gates during dispatch.
How it was found
- Find a RuntimeFeature-guarded interface registered via BinderMap without a manual feature check.
- Disable the corresponding feature flag.
- From a compromised renderer, request the disabled interface through BrowserInterfaceBroker.
- Observe that the browser-side binder callback runs despite the feature being disabled.
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 web browser separates web pages into a less trusted part (the renderer) and a more trusted part (the browser process). Some features are turned off by flags, but the code that connects the two parts does not always check those flags. This report says a malicious page that has already broken out of the renderer could still make the browser run setup code for a disabled feature, though the actual feature connection is then refused.
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.