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

Missing authorization in Extensions (CVE-2026-95301)

The browser-side handler for the extensions RendererAutomationRegistry interface accepted a caller-supplied accessibility receiver without validating which process sent it, and it was registered for every web frame. A compromised, site-locked renderer could therefore join the process-global accessibility broadcast and receive other origins' page text, non-password form values and frame URLs while a legitimate chrome.automation consumer was active.

OGINOME Tomohito Follow

Originally disclosed on Chrome VRP

Bounty$5,000 High View original
  • Fix shipped in 56 days

Report description

Site Isolation bypass: the ungated extensions RendererAutomationRegistry handler lets a compromised web renderer read cross-origin/cross-profile accessibility trees (page text, frame URLs).


Bug location

Where do you want to report your vulnerability?

Chrome VRP – Report security issues affecting the Chrome browser. See program rules

Which URL (or repository) have you found the vulnerability in?

https://chromium.googlesource.com/chromium/src/+/HEAD/extensions/browser/api/automation_internal/automation_event_router.cc


The problem

Please describe the technical details of the vulnerability

Extensions automation registry: a compromised web renderer joins the accessibility broadcast and reads cross-origin / cross-profile page content (Site Isolation bypass)

TL;DR

The browser-side handler for the extensions associated interface extensions.mojom.RendererAutomationRegistry (BindAutomation) performs no caller validation, yet it is registered for every RenderFrameHost — including ordinary web frames. A compromised, site-locked web renderer can therefore register its own ax.mojom.Automation receiver into the process-global accessibility broadcast set.

Impact: while any legitimate chrome.automation consumer (e.g. ChromeVox on ChromeOS) is active, the browser broadcasts every tab's full serialized accessibility tree — visible text, non-password form-field values, ARIA, cross-site frame URLs — to that rogue receiver. That is a cross-origin content read from a renderer Site Isolation is supposed to contain. Because the handler is a process-global singleton with no BrowserContext key, in source the reach also spans profiles including Incognito (the reproducer exercises the cross-origin case within one profile).

The sibling interface extensions.mojom.EventRouter, registered by the identical mechanism two lines below, validates the caller process (ProcessMap + CanAccessDataForOrigin + bad-message); automation does not.

Severity

Chrome VRP High per the rubric (https://chromium.googlesource.com/chromium/src/+/main/docs/security/severity-guidelines.md) — a Site Isolation bypass / cross-site data disclosure (severity-guidelines.md, "Web Platform & UX": "Site Isolation bypasses: … Cross-site data disclosure"). The affected data (cross-origin page text, form-field values, URLs) is exactly the asset docs/security/compromised-renderers.md commits to protect from a compromised renderer.

Affected component

extensions/browser/api/automation_internal/automation_event_router.cc (AutomationEventRouter::BindAutomation / BindForRenderer / DispatchAccessibilityEvents); registration at chrome/browser/extensions/chrome_content_browser_client_extensions_part_bindings.cc:70-72. Verified on origin/main (Chrome 152, 2026-07). Default Stable configuration; no experimental flag.

Attack scenario

  • Attacker: code executing in a compromised renderer process — the standard Site Isolation threat model (docs/security/compromised-renderers.md: a compromised renderer "can forge malicious IPC messages, impersonate a Chrome Extension content script"). The process is site-locked to the attacker's own origin.
  • What the attacker gains: read access to the full accessibility tree (visible text, non-password form-field values, ARIA, cross-site frame URLs) of other origins and other tabs — data the attacker's process is isolated from. The handler is a process-global singleton with no profile key, so in source the reach also spans other profiles including Incognito (the attached reproducer exercises the cross-origin case within one profile).
  • How: the renderer requests the associated interface extensions.mojom.RendererAutomationRegistry from its own frame and calls BindAutomation, passing an Automation receiver it controls. The browser adds that receiver to the process-global automation_remote_set_ with no check. From then on the browser pushes every serialized tree to it.
  • Prior access required: a single prior renderer compromise (the premise of the Site Isolation threat model). No extension permission, no user interaction on the attacker side.
  • Victim assumption: a legitimate chrome.automation consumer is active. On ChromeOS this is routine (ChromeVox, Select-to-Speak, Switch Access are chrome.automation component extensions). Per severity-guidelines.md, that a bug "applies only to … those users running with accessibility features enabled" is explicitly not a mitigating factor.

The defect — an unenforced trust assumption its own sibling enforces

Extension associated interfaces are intentionally exposed to all renderer processes, because extension content scripts run inside web renderers. The security model therefore relies on browser-side per-caller validation. docs/security/ax-tree-security-guidelines.md states the invariant directly:

"The tree … holds sensitive content that should not be passed back down to renderers to avoid data leaks between them." "Some fields … represent sensitive data from the origin … and should not be shared into unrelated renderer processes."

EventRouter enforces this: EventRouter::BindForRenderer stores the calling render_process_id as receiver context, and every message validates it via ProcessMap::Get(browser_context_)->Contains(extension_id, process) + ChildProcessSecurityPolicy::CanAccessDataForOrigin, killing an unauthorized caller with ReportBadMessage (extensions/browser/event_router.cc:408-465).

AutomationEventRouter::BindForRenderer stores the identical render_process_id context (automation_event_router.cc:355) — but BindAutomation never reads it:

C++
void AutomationEventRouter::BindAutomation(
    mojo::PendingAssociatedRemote<ax::mojom::Automation> automation) {
  automation_remote_set_.Add(std::move(automation));   // no caller check
}

The permission/tree-scope bookkeeping that should gate delivery (listeners_, populated only by the permission-gated Register/EnableTree extension functions) is a separate structure the dispatch loop never consults:

C++
void AutomationEventRouter::DispatchAccessibilityEvents(...) {
  ...
  for (const auto& remote : automation_remote_set_)          // every remote
    remote->DispatchAccessibilityEvents(tree_id, updates, ...); // every tree
}

So the browser passes the full cross-origin/cross-profile tree "back down to renderers" — the precise leak the security guidelines forbid — because the caller is never validated.

Reachability — a compromised web frame's request routes to the unvalidated handler

The attacker's sole capability is a compromised renderer forging an associated-interface request by name (docs/security/compromised-renderers.md). Below is the entire browser-side path from that request to the unvalidated BindAutomation, quoted from origin/main (Chrome 152).

1. The extensions associated interfaces are registered for every RenderFrameHost, unconditionally — chrome/browser/chrome_content_browser_client_receiver_bindings.cc:400-407:

C++
void ChromeContentBrowserClient::
    RegisterAssociatedInterfaceBindersForRenderFrameHost(
        content::RenderFrameHost& render_frame_host,
        blink::AssociatedInterfaceRegistry& associated_registry) {
  for (auto& ep : extra_parts_) {
    ep->ExposeInterfacesToRendererForRenderFrameHost(render_frame_host,
                                                     associated_registry);
  }

No frame-type / scheme / origin filter guards the loop. (Chrome gates registration by extension scheme where it means to — the service-worker broker path at :372-383 early-returns if (!site.SchemeIs(extensions::kExtensionScheme)) — and deliberately does not here, because extension content scripts execute inside ordinary web renderers.)

2. That set includes RendererAutomationRegistry, bound with the frame's own process id, no gate — chrome/browser/extensions/chrome_content_browser_client_extensions_part_bindings.cc:66-75:

C++
  content::ChildProcessId render_process_id = frame_host.GetProcess()->GetID();
  ...
  associated_registry.AddInterface<mojom::RendererAutomationRegistry>(
      base::BindRepeating(&AutomationEventRouter::BindForRenderer,
                          render_process_id));
  ...
  associated_registry.AddInterface<mojom::EventRouter>(
      base::BindRepeating(&EventRouter::BindForRenderer, render_process_id));

render_process_id is the browser's own view of the calling frame's process — auto-injected into the handler, unforgeable by the attacker. The sibling EventRouter is registered just below by the identical idiom (the elided ... is the RendererHost registration and an #if BUILDFLAG(ENABLE_EXTENSIONS) guarding automation — a build flag that is on for every desktop/ChromeOS Chrome, i.e. wherever the automation system exists at all, not a runtime gate): the exposure is intentional and shared, the caller id is trustworthy; the only question is whether the handler reads it.

3. A live frame's request reaches the handler by name lookup, with no security gate — content/browser/renderer_host/render_frame_host_impl.cc:10299-10318 (GetAssociatedInterface, the browser end of the frame's AssociatedInterfaceProvider):

C++
void RenderFrameHostImpl::GetAssociatedInterface(
    const std::string& name,
    mojo::PendingAssociatedReceiver<blink::mojom::AssociatedInterface>
        receiver) {
  CHECK(associated_registry_);
  if (mojo_binder_policy_applier_ &&      // prerender capability control only
      !mojo_binder_policy_applier_->ApplyPolicyToAssociatedBinder(name)) {
    return;
  }
  mojo::ScopedInterfaceEndpointHandle handle = receiver.PassHandle();
  if (associated_registry_->TryBindInterface(name, &handle)) {
    return;
  }
}

The only pre-bind check, mojo_binder_policy_applier_, is non-null only while prerendering (null for a live, committed frame); no process-type, scheme, or origin check exists. associated_registry_ is the frame's single registry, created in SetUpMojoConnection and handed to the step-1 embedder hook — render_frame_host_impl_interface_binders.cc:176 then :298-302 (GetContentClient()->browser()->RegisterAssociatedInterfaceBindersForRenderFrameHost(*this, *associated_registry_)) — so it is exactly the registry steps 1-2 populate. TryBindInterface(name, …) therefore resolves the step-2 callback: AutomationEventRouter::BindForRenderer(render_process_id, receiver).

4. The handler stores the caller id, then never reads it — extensions/browser/api/automation_internal/automation_event_router.cc:347-356 then :342-345:

C++
void AutomationEventRouter::BindForRenderer(
    RenderProcessHostId render_process_id,
    mojo::PendingAssociatedReceiver<
        extensions::mojom::RendererAutomationRegistry> receiver) {
  AutomationEventRouter* router = AutomationEventRouter::GetInstance();
  CHECK(router);
  router->receivers_.Add(router, std::move(receiver), render_process_id);
}
void AutomationEventRouter::BindAutomation(
    mojo::PendingAssociatedRemote<ax::mojom::Automation> automation) {
  automation_remote_set_.Add(std::move(automation));   // caller id ignored
}

The sibling proves this is an omission, not the design. EventRouter stores the same context and its handlers consume it — RenderProcessHost::FromID(receivers_.current_context()) (event_router.cc:374) → ProcessMap::Get(...)->Contains(extension_id, process.GetID()) (:411-412) / ChildProcessSecurityPolicy::CanAccessDataForOrigin(...) (:420-422) → receivers_.ReportBadMessage(...) on failure (:447). Automation stores the identical context (:355) and reads it nowhere; a grep of automation_internal/ for CanAccessDataForOrigin|ProcessMap|ReportBadMessage is empty — the missing per-caller check is the sole defense.

Delivery is then an unfiltered broadcast to the process-global set — automation_event_router.cc:253-268:

C++
void AutomationEventRouter::DispatchAccessibilityEvents(...) {
  if (remote_router_) { ...; return; }   // dead: RegisterRemoteRouter has no callers
  for (const auto& remote : automation_remote_set_) {
    remote->DispatchAccessibilityEvents(tree_id, updates, mouse_location, events);
  }
}

listeners_, tree ids, and origin are never consulted; the set is a process-global base::Singleton (:32-37) with no BrowserContext key, so the reach spans profiles in source. The payload (services/accessibility/public/mojom/automation.mojom AXTreeUpdate) carries kName (text), kValue (non-password form-field values — password fields are masked in the accessibility tree), kUrl (cross-site frame URLs), placeholders, and descriptions.

Reproduction

RendererAutomationRegistry is an associated Mojo interface, reachable only through the frame's AssociatedInterfaceProvider (render_frame_host_impl.cc:10299), not through BrowserInterfaceBroker. Blink's MojoJS exposes only non-associated bindInterface — there is no way to acquire this interface (or pass the associated Automation remote) from page JavaScript, so no HTML/JS reproducer is constructible. A faithful compromised-renderer reproducer is therefore a browsertest driving the real production path, at the same fidelity Chromium's own security test uses for the sibling: extension_security_exploit_browsertest.cc's EventRouterExploitTest binds EventRouter::BindForRenderer(web_process->GetID(), receiver) "as though process were the renderer sending the message" (:1221-1228, :1256-1258), driving a real foo.com web-page process. The attached automation_registry_exploit_browsertest.cc applies that harness to automation, adding no production code and modifying no existing test:

  1. Navigate an attacker tab to evil.com; capture its render process.
  2. Navigate a victim tab to victim.com carrying a marker secret in an accessible node; stand up a normal chrome.automation consumer over it (a stand-in for ChromeVox). Assert the two processes differ (Site Isolation active).
  3. As that compromised renderer, AutomationEventRouter::BindForRenderer(attacker_process_id, …) + BindAutomation(rogue_receiver) — the browser-side-static fidelity above (the routing that delivers a real web frame's request to this handler is traced verbatim in §Reachability).
  4. Trigger an accessibility event on victim.com.
  5. Assert the rogue receiver, hosted for the evil.com web renderer, receives victim.com's tree id and the marker secret — with no bad-message / renderer kill (contrast: EventRouterExploitTest asserts a kill for the analogous spoof).

Build/run: add the file to chrome/browser/extensions/BUILD.gn test_sources, then autoninja -C out/Default browser_tests && out/Default/browser_tests --gtest_filter=AutomationRegistryExploitTest.* --single-process-tests.

Suggested remediation

Validate the caller in BindAutomation, mirroring the sibling. The calling render_process_id is already stored as receiver context (automation_event_router.cc:355); retrieve it (RenderProcessHost::FromID(receivers_.current_context())) and reject a process that does not host an extension holding the automation permission — the same authority EventRouter consults (util::CanRendererActOnBehalfOfExtension / ProcessMap) — with receivers_.ReportBadMessage(...). Defense in depth: scope DispatchAccessibilityEvents per-remote against the listeners_ permissions instead of broadcasting to the whole automation_remote_set_.

Scope considerations

  • Realistic impact is ChromeOS-centric. ChromeVox / Select-to-Speak / Switch Access are chrome.automation component extensions routinely active on ChromeOS, so the precondition is satisfied there and the leak spans origins and profiles. On desktop the automation permission is allow-list-restricted, so a consumer must be one of those trusted/component extensions; the code-level crossing is real on all platforms, but the routine real-world exposure is ChromeOS.
  • Primitive is read-only. The ungated interface only lets the attacker receive; the accessibility action/write path (performAction) is a separate permission-gated extension function and is not reachable here.
  • Unconditional low-value signal. Independent of any consumer, the rogue receiver also gets DispatchTreeDestroyedEvent for every document teardown browser-wide (opaque tree ids) — a cross-profile activity-timing oracle. Noted for completeness; the content read above is the substantive issue.

Anticipated objections

  • "Your reproducer calls the browser-side BindForRenderer directly, not a real renderer IPC — does a live web frame actually reach it?" Yes; §Reachability quotes the entire path verbatim: registration runs for every RenderFrameHost with no frame-type/scheme filter (receiver_bindings.cc:400-407), binds RendererAutomationRegistry with the frame's auto-injected process id (extensions_part_bindings.cc:66-72), and a live frame's GetAssociatedInterface request reaches the handler through a name lookup with no security gate (render_frame_host_impl.cc:10299-10318) — no intermediate extension-frame/process-type check anywhere. The browser-side-static call is not a shortcut around a check; it is the exact fidelity Chromium's own security suite uses for the identical interface class (EventRouterExploitTest binds EventRouter::BindForRenderer(web_process->GetID(), receiver) "as though process were the renderer"), applied to the sibling that omits the validation. The runtime PASS then confirms the handler accepts it with no bad-message.
  • "Broadcast-to-all is intended; the automation renderer bindings filter by tree id." Renderer-side filtering is a functional convenience, not a boundary against a compromised renderer, which keeps every tree; the browser performs no per-remote/origin filter at dispatch. The sibling EventRouter shows the intended enforcement point is browser-side.
  • "Requires a compromised renderer." That is the premise of the Site Isolation threat model; compromised-renderers.md lists cross-site frame text and URLs as assets the browser must protect from exactly this attacker.

Disclosure

Reported privately to Google only; standard 14-week post-fix disclosure. Happy to adjust the timeline on request.

Impact analysis

Impact analysis

Confidentiality — cross-origin data disclosure (Site Isolation bypass). A single compromised, site-locked renderer gains a persistent read feed of other origins' serialized accessibility trees: visible page text (kName), non-password form-field values (kValue; password fields are masked in the AX tree), ARIA, and cross-site frame URLs (kUrl). This is exactly the "Text … of cross-site frames" and "Full URL … of cross-site frames" that docs/security/compromised-renderers.md commits to protect from a compromised renderer, and the "sensitive data from the origin [that] should not be shared into unrelated renderer processes" that docs/security/ax-tree-security-guidelines.md forbids passing back down to renderers.

Worst case. While any legitimate chrome.automation consumer is active, the rogue receiver reads the full accessibility tree of every tab that consumer serializes — a broad cross-origin content read from a process Site Isolation is meant to contain. The handler is a process-global singleton with no BrowserContext key, so in source the reach also spans other profiles, including Incognito.

Affected population. The precondition — an active chrome.automation consumer — is routine on ChromeOS, where ChromeVox, Select-to-Speak, and Switch Access are component extensions; so the realistic exposure is ChromeOS-centric. Per the severity rubric, that a bug affects "only … users running with accessibility features enabled" is explicitly not a mitigating factor.

Bounds. The primitive is read-only — the accessibility action/write path (performAction) is a separate permission-gated function and is not reachable here. The cross-profile reach is established at source level; the attached reproducer exercises the cross-origin case within one profile.

Severity. Chrome VRP High per the severity rubric — a Site Isolation bypass / cross-site data disclosure.


The cause

What version of Chrome have you found the security issue in?

152.0.7961.0 (main channel; commit 2a43c44b, 2026-07-28) — verified: the attached browsertest reproducer PASSes on this build against otherwise-pristine production code. The affected code (BindAutomation with no caller check, the RendererAutomationRegistry registration, and the validating EventRouter sibling) is core extensions/accessibility infrastructure enabled by default — no chrome://flags entry, no Finch/experimental gate, not DISABLED_BY_DEFAULT — so it is not a dev-channel-only feature.

Is the security issue related to a crash?

No, it is not related to a crash.

Choose the type of vulnerability

Sensitive data exposure

How would you like to be publicly acknowledged for your report?

OGINOME Tomohito

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

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 11 min read.

Context

Chrome exposes a set of extension-related Mojo interfaces to renderer processes, because extension content scripts run inside ordinary web renderers. One of these is extensions.mojom.RendererAutomationRegistry, whose BindAutomation method lets a caller register an ax.mojom.Automation receiver. The browser then pushes serialised accessibility tree updates to every registered receiver through AutomationEventRouter. The accessibility tree is the structure assistive technology consumes: it carries visible text, form-field values, ARIA metadata and frame URLs.

The security model for these associated interfaces relies on browser-side validation of the calling process. The report argues that RendererAutomationRegistry does not perform that validation, while its sibling extensions.mojom.EventRouter, registered by the same mechanism, does. The result is a Site Isolation bypass: a compromised, site-locked web renderer can join the process-global accessibility broadcast and read trees belonging to other origins.

The affected code lives in extensions/browser/api/automation_internal/automation_event_router.cc (AutomationEventRouter::BindAutomation, BindForRenderer, DispatchAccessibilityEvents), with registration at chrome/browser/extensions/chrome_content_browser_client_extensions_part_bindings.cc:70-72. The report states it was verified on origin/main (Chrome 152, 2026-07) in the default configuration, with no experimental flag.

Setup

The researcher reports against the Chrome VRP, for issues affecting the Chrome browser. The version given in the report is 152.0.7961.0 (main channel; commit 2a43c44b, 2026-07-28), and the attached browsertest reproducer passes on that build against otherwise-pristine production code. The affected code is described as core extensions/accessibility infrastructure enabled by default: no chrome://flags entry, no Finch or experimental gate, not DISABLED_BY_DEFAULT.

The threat model is the standard one from docs/security/compromised-renderers.md: code executing in a compromised renderer process, site-locked to the attacker's own origin, which can forge malicious IPC messages and impersonate a Chrome Extension content script. No extension permission and no user interaction on the attacker side are required. The victim-side precondition is that a legitimate chrome.automation consumer is active. On ChromeOS this is routine, since ChromeVox, Select-to-Speak and Switch Access are chrome.automation component extensions. The report notes that the severity rubric explicitly does not treat "applies only to users running with accessibility features enabled" as a mitigating factor.

Because RendererAutomationRegistry is an associated Mojo interface, it is reachable only through the frame's AssociatedInterfaceProvider, not through BrowserInterfaceBroker. Blink's MojoJS exposes only the non-associated bindInterface, so there is no way to acquire this interface, or to pass the associated Automation remote, from page JavaScript. No HTML or JS reproducer is constructible; the reproducer is a browsertest driving the real production path.

Finding it

The starting point is the asymmetry between two sibling interfaces. Extension associated interfaces are intentionally exposed to all renderer processes, so the security model depends on per-caller validation in the browser. docs/security/ax-tree-security-guidelines.md states the invariant directly:

"The tree … holds sensitive content that should not be passed back down to renderers to avoid data leaks between them." "Some fields … represent sensitive data from the origin … and should not be shared into unrelated renderer processes."

EventRouter enforces this. EventRouter::BindForRenderer stores the calling render_process_id as receiver context, and every message validates it via ProcessMap::Get(browser_context_)->Contains(extension_id, process) plus ChildProcessSecurityPolicy::CanAccessDataForOrigin, killing an unauthorised caller with ReportBadMessage (extensions/browser/event_router.cc:408-465).

AutomationEventRouter::BindForRenderer stores the identical render_process_id context (automation_event_router.cc:355), but BindAutomation never reads it:

C++
void AutomationEventRouter::BindAutomation(
    mojo::PendingAssociatedRemote<ax::mojom::Automation> automation) {
  automation_remote_set_.Add(std::move(automation));   // no caller check
}

The permission and tree-scope bookkeeping that should gate delivery (listeners_, populated only by the permission-gated Register/EnableTree extension functions) is a separate structure the dispatch loop never consults:

C++
void AutomationEventRouter::DispatchAccessibilityEvents(...) {
  ...
  for (const auto& remote : automation_remote_set_)          // every remote
    remote->DispatchAccessibilityEvents(tree_id, updates, ...); // every tree
}

So the browser passes the full cross-origin and cross-profile tree back down to renderers, which is the leak the guidelines forbid, because the caller is never validated. A grep of automation_internal/ for CanAccessDataForOrigin|ProcessMap|ReportBadMessage is empty.

Exploitation

The attacker's sole capability is a compromised renderer forging an associated-interface request by name. The report traces the entire browser-side path from that request to the unvalidated BindAutomation, quoted from origin/main (Chrome 152).

Step 1: registration for every RenderFrameHost

The extensions associated interfaces are registered for every RenderFrameHost, unconditionally, in chrome/browser/chrome_content_browser_client_receiver_bindings.cc:400-407:

C++
void ChromeContentBrowserClient::
    RegisterAssociatedInterfaceBindersForRenderFrameHost(
        content::RenderFrameHost& render_frame_host,
        blink::AssociatedInterfaceRegistry& associated_registry) {
  for (auto& ep : extra_parts_) {
    ep->ExposeInterfacesToRendererForRenderFrameHost(render_frame_host,
                                                     associated_registry);
  }

No frame-type, scheme or origin filter guards the loop. The report contrasts this with the service-worker broker path at :372-383, which early-returns if (!site.SchemeIs(extensions::kExtensionScheme)). Registration is deliberately not gated here, because extension content scripts execute inside ordinary web renderers.

Step 2: binding with the frame's own process id

That set includes RendererAutomationRegistry, bound with the frame's own process id and no gate, in chrome/browser/extensions/chrome_content_browser_client_extensions_part_bindings.cc:66-75:

C++
  content::ChildProcessId render_process_id = frame_host.GetProcess()->GetID();
  ...
  associated_registry.AddInterface<mojom::RendererAutomationRegistry>(
      base::BindRepeating(&AutomationEventRouter::BindForRenderer,
                          render_process_id));
  ...
  associated_registry.AddInterface<mojom::EventRouter>(
      base::BindRepeating(&EventRouter::BindForRenderer, render_process_id));

render_process_id is the browser's own view of the calling frame's process, auto-injected into the handler and unforgeable by the attacker. The sibling EventRouter is registered just below by the identical idiom. The elided ... covers the RendererHost registration and an #if BUILDFLAG(ENABLE_EXTENSIONS) guarding automation, a build flag that is on for every desktop and ChromeOS Chrome, so it is not a runtime gate. The exposure is intentional and shared, and the caller id is trustworthy; the only question is whether the handler reads it.

Step 3: name lookup with no security gate

A live frame's request reaches the handler by name lookup, with no security gate, in content/browser/renderer_host/render_frame_host_impl.cc:10299-10318 (GetAssociatedInterface, the browser end of the frame's AssociatedInterfaceProvider):

C++
void RenderFrameHostImpl::GetAssociatedInterface(
    const std::string& name,
    mojo::PendingAssociatedReceiver<blink::mojom::AssociatedInterface>
        receiver) {
  CHECK(associated_registry_);
  if (mojo_binder_policy_applier_ &&      // prerender capability control only
      !mojo_binder_policy_applier_->ApplyPolicyToAssociatedBinder(name)) {
    return;
  }
  mojo::ScopedInterfaceEndpointHandle handle = receiver.PassHandle();
  if (associated_registry_->TryBindInterface(name, &handle)) {
    return;
  }
}

The only pre-bind check, mojo_binder_policy_applier_, is non-null only while prerendering and is null for a live, committed frame. No process-type, scheme or origin check exists. associated_registry_ is the frame's single registry, created in SetUpMojoConnection and handed to the step-1 embedder hook: render_frame_host_impl_interface_binders.cc:176 then :298-302 (GetContentClient()->browser()->RegisterAssociatedInterfaceBindersForRenderFrameHost(*this, *associated_registry_)). It is exactly the registry steps 1 and 2 populate, so TryBindInterface(name, …) resolves the step-2 callback: AutomationEventRouter::BindForRenderer(render_process_id, receiver).

Step 4: the caller id is stored and never read

The handler stores the caller id, then never reads it, in extensions/browser/api/automation_internal/automation_event_router.cc:347-356 then :342-345:

C++
void AutomationEventRouter::BindForRenderer(
    RenderProcessHostId render_process_id,
    mojo::PendingAssociatedReceiver<
        extensions::mojom::RendererAutomationRegistry> receiver) {
  AutomationEventRouter* router = AutomationEventRouter::GetInstance();
  CHECK(router);
  router->receivers_.Add(router, std::move(receiver), render_process_id);
}
void AutomationEventRouter::BindAutomation(
    mojo::PendingAssociatedRemote<ax::mojom::Automation> automation) {
  automation_remote_set_.Add(std::move(automation));   // caller id ignored
}

The sibling proves this is an omission rather than the design. EventRouter stores the same context and its handlers consume it: RenderProcessHost::FromID(receivers_.current_context()) (event_router.cc:374), then ProcessMap::Get(...)->Contains(extension_id, process.GetID()) (:411-412) or ChildProcessSecurityPolicy::CanAccessDataForOrigin(...) (:420-422), then receivers_.ReportBadMessage(...) on failure (:447). Automation stores the identical context (:355) and reads it nowhere.

Step 5: unfiltered broadcast to the process-global set

Delivery is then an unfiltered broadcast to the process-global set, in automation_event_router.cc:253-268:

C++
void AutomationEventRouter::DispatchAccessibilityEvents(...) {
  if (remote_router_) { ...; return; }   // dead: RegisterRemoteRouter has no callers
  for (const auto& remote : automation_remote_set_) {
    remote->DispatchAccessibilityEvents(tree_id, updates, mouse_location, events);
  }
}

listeners_, tree ids and origin are never consulted. The set is a process-global base::Singleton (:32-37) with no BrowserContext key, so in source the reach spans profiles. The payload (services/accessibility/public/mojom/automation.mojom AXTreeUpdate) carries kName (text), kValue (non-password form-field values, since password fields are masked in the accessibility tree), kUrl (cross-site frame URLs), placeholders and descriptions.

The reproducer

A faithful compromised-renderer reproducer is a browsertest driving the real production path, at the same fidelity Chromium's own security test uses for the sibling. extension_security_exploit_browsertest.cc's EventRouterExploitTest binds EventRouter::BindForRenderer(web_process->GetID(), receiver) "as though process were the renderer sending the message" (:1221-1228, :1256-1258), driving a real foo.com web-page process. The attached automation_registry_exploit_browsertest.cc applies that harness to automation, adding no production code and modifying no existing test:

  1. Navigate an attacker tab to evil.com; capture its render process.
  2. Navigate a victim tab to victim.com carrying a marker secret in an accessible node; stand up a normal chrome.automation consumer over it (a stand-in for ChromeVox). Assert the two processes differ (Site Isolation active).
  3. As that compromised renderer, AutomationEventRouter::BindForRenderer(attacker_process_id, …) + BindAutomation(rogue_receiver), the browser-side-static fidelity above (the routing that delivers a real web frame's request to this handler is traced verbatim in the reachability section).
  4. Trigger an accessibility event on victim.com.
  5. Assert the rogue receiver, hosted for the evil.com web renderer, receives victim.com's tree id and the marker secret, with no bad-message and no renderer kill. By contrast, EventRouterExploitTest asserts a kill for the analogous spoof.

Build and run: add the file to chrome/browser/extensions/BUILD.gn test_sources, then:

Bash
autoninja -C out/Default browser_tests && out/Default/browser_tests --gtest_filter=AutomationRegistryExploitTest.* --single-process-tests

Root cause

The defect is an unenforced trust assumption that its own sibling enforces. BindAutomation adds any supplied Automation receiver to the process-global automation_remote_set_ without checking who the caller is. The calling render_process_id is already stored as receiver context by BindForRenderer, but BindAutomation never retrieves it. The permission and tree-scope bookkeeping in listeners_ is populated only by the permission-gated Register/EnableTree extension functions, and the dispatch loop never consults it, so every remote receives every tree.

Existing defences do not stop this. Registration is intentionally open to all renderer processes, because extension content scripts run in web renderers, so the frame-type and scheme filters that exist elsewhere are absent by design. The prerender binder policy is the only pre-bind check and is inactive for a live, committed frame. The browser-side per-caller validation that EventRouter performs is simply missing in the automation path.

Impact

A single compromised, site-locked renderer gains a persistent read feed of other origins' serialised accessibility trees: visible page text (kName), non-password form-field values (kValue, with password fields masked in the AX tree), ARIA, and cross-site frame URLs (kUrl). This is exactly the cross-site frame text and full cross-site frame URLs that docs/security/compromised-renderers.md commits to protect from a compromised renderer, and the sensitive origin data that docs/security/ax-tree-security-guidelines.md forbids sharing into unrelated renderer processes.

While any legitimate chrome.automation consumer is active, the rogue receiver reads the full accessibility tree of every tab that consumer serializes. The handler is a process-global singleton with no BrowserContext key, so in source the reach also spans other profiles, including Incognito. The attached reproducer exercises the cross-origin case within one profile; the cross-profile reach is established at source level.

The realistic exposure is ChromeOS-centric, because ChromeVox, Select-to-Speak and Switch Access are routinely active there. On desktop the automation permission is allow-list-restricted, so a consumer must be one of those trusted or component extensions; the code-level crossing is real on all platforms, but the routine real-world exposure is on ChromeOS.

The primitive is read-only. The accessibility action and write path (performAction) is a separate permission-gated extension function and is not reachable here. Independently of any consumer, the rogue receiver also gets DispatchTreeDestroyedEvent for every document teardown browser-wide, with opaque tree ids, which is a cross-profile activity-timing oracle. The report notes this for completeness and treats the content read as the substantive issue.

The report argues the issue is Chrome VRP High per the severity rubric, as a Site Isolation bypass and cross-site data disclosure.

Fix

The suggested remediation is to validate the caller in BindAutomation, mirroring the sibling. The calling render_process_id is already stored as receiver context (automation_event_router.cc:355); retrieve it with RenderProcessHost::FromID(receivers_.current_context()) and reject a process that does not host an extension holding the automation permission, using the same authority EventRouter consults (util::CanRendererActOnBehalfOfExtension / ProcessMap), with receivers_.ReportBadMessage(...). As defence in depth, scope DispatchAccessibilityEvents per remote against the listeners_ permissions instead of broadcasting to the whole automation_remote_set_.

Variants to test

  • Other associated interfaces registered for every RenderFrameHost. Enumerate the interfaces added in ExposeInterfacesToRendererForRenderFrameHost and check each handler for a read of receivers_.current_context() or an equivalent caller check. A positive result is a handler that accepts a receiver from a web-frame process and later delivers data belonging to another origin or profile.
  • Sibling interfaces with a validating twin. Where two interfaces are registered by the same idiom and one validates with ProcessMap or CanAccessDataForOrigin, test the other with the same harness. A positive result is a browsertest where the spoofed caller receives data with no ReportBadMessage and no renderer kill, while the validating twin kills the process.
  • Process-global singletons without a BrowserContext key. Look for base::Singleton registries that accumulate receivers or listeners and are dispatched to without a profile check. A positive result is a receiver registered from one profile receiving events generated in another, including Incognito.
  • Broadcast dispatch loops. Find dispatch loops that iterate a global remote set without consulting the permission or listener structure. A positive result is a remote that never passed the permission-gated registration path still receiving events.
  • Prerender-only binder policies. For interfaces whose only pre-bind check is mojo_binder_policy_applier_, test from a live, committed frame. A positive result is a successful bind from a normal web frame where the policy would have blocked it during prerendering.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 24 min read.

What happened, in plain words

Chrome is built out of many separate programs that talk to each other. One of them is the browser process, which is the boss: it decides what each tab is allowed to see. The others are renderer processes, which do the actual work of turning a web page into something you can look at and click. A renderer is supposed to be locked to one website, so that a page from evil.com cannot peek at a page from victim.com.

Chrome also has an accessibility system. When someone uses a screen reader or another assistive tool, Chrome builds a structured description of the page, called the accessibility tree, and hands it to that tool. The tree contains the visible text, the values typed into form fields, labels that describe buttons, and the addresses of frames embedded in the page. That is exactly the kind of private content a website would not want another website to read.

The report describes a gap in the code that lets a renderer ask to receive that accessibility tree. The request is supposed to be checked: the browser should confirm that the process asking is allowed to see the data. For one interface, the check is missing. So a renderer that has already been taken over by an attacker can sign itself up to receive the accessibility trees of every tab, including tabs from other websites and, in the code as written, other Chrome profiles such as Incognito.

The researcher calls this a Site Isolation bypass. Site Isolation is the feature that keeps each website in its own renderer process so that one site cannot read another site's data. A bypass means the attacker gets around that wall.

The report was filed with the Chrome Vulnerability Reward Program (Chrome VRP), the scheme Google runs to pay people who find and privately report security bugs in Chrome. The researcher is credited as OGINOME Tomohito and the severity is High. CVE stands for Common Vulnerabilities and Exposures: it is a public catalogue number given to a security flaw so that everyone can refer to the same thing.

The pieces you need to know

Before the technical detail makes sense, here are the ideas the report leans on, explained from scratch.

Processes and Site Isolation

A process is a running program with its own private memory. Two processes cannot normally read each other's memory; the operating system keeps them apart. Chrome uses this as a security wall. Each website gets its own renderer process, so a page from one site runs in a different process from a page on another site. That arrangement is called Site Isolation.

Site Isolation is not perfect by itself. The renderer still has to talk to the browser process to ask for things, and those conversations are messages. If an attacker manages to run their own code inside a renderer (a compromised renderer), they can send any message they like to the browser, including messages Chrome never expected a web page to send. The browser process is therefore the place where every request must be checked. The report quotes Chrome's own security documentation, docs/security/compromised-renderers.md, which assumes exactly this attacker: someone who can forge messages and pretend to be a Chrome extension's content script.

Mojo, interfaces and associated interfaces

Mojo is Chrome's internal messaging system. It lets two processes call functions in each other through named interfaces. Think of an interface as a service counter with a label on it: you walk up, say the name, and the person behind the counter does something for you.

An associated interface is a special kind of Mojo interface that is tied to an existing connection between a frame and the browser. The report notes that RendererAutomationRegistry is an associated interface, which matters later: it can only be reached through the frame's AssociatedInterfaceProvider, not through the other, more general door called BrowserInterfaceBroker.

The accessibility tree

The accessibility tree is a structured map of a page built for assistive technology. Each node in the tree can carry fields. The report names three that matter:

  • kName: the text of the node, such as a heading or a button label.
  • kValue: the value inside a form field. Password fields are masked in the tree, so passwords are not exposed this way.
  • kUrl: the address of a frame, including frames from other websites embedded in the page.

chrome.automation

chrome.automation is a Chrome extension API. An API (Application Programming Interface) is a defined set of functions one program offers to another. This particular API lets an extension receive the accessibility tree and act on it. On ChromeOS, the operating system Chrome runs on many laptops, the built-in accessibility features use it: ChromeVox (a screen reader), Select-to-Speak (reads selected text aloud) and Switch Access (lets people control the computer with one or two switches). Those are component extensions, meaning they ship with Chrome rather than being installed from the store.

The vulnerability class: missing authorization

The weakness here is called missing authorization. Authorization means checking whether the person or program making a request is allowed to make it. Authentication is proving who you are; authorization is deciding what you may do. A missing authorization bug is like a hotel where the front desk writes your room number on a card but the door never reads the card: anyone who walks up can open any room.

The two sibling interfaces

Two interfaces are registered side by side by the same code: extensions.mojom.RendererAutomationRegistry and extensions.mojom.EventRouter. The report calls them siblings because they are set up in the same place in the same way. EventRouter checks its callers. The automation one does not. That contrast is the heart of the report.

Where the bug lives

The report points at this file in the Chromium source repository:

Text
https://chromium.googlesource.com/chromium/src/+/HEAD/extensions/browser/api/automation_internal/automation_event_router.cc

That is the address of the source file on the Chromium code hosting site. The affected functions are AutomationEventRouter::BindAutomation, BindForRenderer and DispatchAccessibilityEvents. The registration of the interface happens in chrome/browser/extensions/chrome_content_browser_client_extensions_part_bindings.cc at lines 70 to 72. The researcher says the code was checked on origin/main, the main development branch, in Chrome 152 around July 2026, in the default Stable configuration, with no experimental flag turned on.

The setup and the version

The report was filed under the Chrome VRP, whose rules page is linked in the submission. The version tested is:

Text
152.0.7961.0 (main channel; commit 2a43c44b, 2026-07-28)

A version number identifies a particular build of Chrome. A commit is a saved snapshot of the source code, identified by a short hash such as 2a43c44b. The researcher says the attached test passes on that build against otherwise untouched production code. The affected code is described as core extensions and accessibility infrastructure that is on by default: there is no chrome://flags entry to switch it on, no Finch experiment (Chrome's system for rolling features out gradually), and it is not marked DISABLED_BY_DEFAULT.

The attacker in this scenario needs no extension permission and no action from the user. The only precondition on the victim side is that a legitimate chrome.automation consumer is running. The report points out that the severity guidelines explicitly say a bug is not made less serious just because it only affects people who have accessibility features turned on.

Finding it: the missing check

The starting observation is the asymmetry between the two siblings. Extension associated interfaces are deliberately exposed to every renderer process, because extension content scripts run inside ordinary web pages. The security therefore has to come from checking each caller in the browser process.

Chrome's own accessibility tree security guidelines state the rule plainly. The report quotes them:

"The tree … holds sensitive content that should not be passed back down to renderers to avoid data leaks between them." "Some fields … represent sensitive data from the origin … and should not be shared into unrelated renderer processes."

EventRouter follows that rule. When a renderer connects, EventRouter::BindForRenderer records the calling process's id as context. Every later message is checked with ProcessMap::Get(browser_context_)->Contains(extension_id, process) and ChildProcessSecurityPolicy::CanAccessDataForOrigin. If the check fails, the caller is killed with ReportBadMessage, which tells the browser that a renderer sent something it should not have and terminates it. That code is in extensions/browser/event_router.cc at lines 408 to 465.

AutomationEventRouter::BindForRenderer stores the very same process id as context, at automation_event_router.cc line 355. But BindAutomation never looks at it:

C++
void AutomationEventRouter::BindAutomation(
    mojo::PendingAssociatedRemote<ax::mojom::Automation> automation) {
  automation_remote_set_.Add(std::move(automation));   // no caller check
}

Line by line:

  • void AutomationEventRouter::BindAutomation( starts the definition of a function called BindAutomation that belongs to the AutomationEventRouter class. void means it returns nothing.
  • mojo::PendingAssociatedRemote<ax::mojom::Automation> automation) is the one parameter: a pending remote, which is Mojo's handle for a connection that has not been fully set up yet. The type says it is an Automation interface from the ax (accessibility) module.
  • automation_remote_set_.Add(std::move(automation)); takes that handle and adds it to a set of remotes kept by the router. std::move hands the handle over rather than copying it.
  • // no caller check is the researcher's comment pointing out that nothing in this function asks who is calling.

The permission and tree-scope bookkeeping that should decide who receives what lives in a structure called listeners_. It is filled only by the Register and EnableTree extension functions, which do check permissions. The dispatch loop never consults it:

C++
void AutomationEventRouter::DispatchAccessibilityEvents(...) {
  ...
  for (const auto& remote : automation_remote_set_)          // every remote
    remote->DispatchAccessibilityEvents(tree_id, updates, ...); // every tree
}

Line by line:

  • void AutomationEventRouter::DispatchAccessibilityEvents(...) begins the function that sends accessibility events out. The ... stands for parameters the report left out.
  • for (const auto& remote : automation_remote_set_) loops over every remote in the set, taking each one by reference without copying it.
  • remote->DispatchAccessibilityEvents(tree_id, updates, ...); calls the same-named function on that remote, passing the tree id, the updates and other arguments. The comments mark that this happens for every remote and every tree.

So the browser sends the full tree, including content from other websites and other profiles, back down to renderers. That is the leak the guidelines forbid, and it happens because the caller is never checked. The researcher also searched the automation_internal/ directory for CanAccessDataForOrigin, ProcessMap and ReportBadMessage and found nothing.

How the attack works, step by step

The attacker's only starting capability is a compromised renderer that can send an associated-interface request by name. The report traces the whole browser-side path from that request to the unchecked BindAutomation, quoting the code from origin/main in Chrome 152.

Step 1: the interfaces are registered for every frame

Every frame in Chrome is represented in the browser by a RenderFrameHost. The extensions interfaces are registered for every one of them, with no condition, in chrome/browser/chrome_content_browser_client_receiver_bindings.cc at lines 400 to 407:

C++
void ChromeContentBrowserClient::
    RegisterAssociatedInterfaceBindersForRenderFrameHost(
        content::RenderFrameHost& render_frame_host,
        blink::AssociatedInterfaceRegistry& associated_registry) {
  for (auto& ep : extra_parts_) {
    ep->ExposeInterfacesToRendererForRenderFrameHost(render_frame_host,
                                                     associated_registry);
  }

Line by line:

  • void ChromeContentBrowserClient:: starts the definition of a member function of ChromeContentBrowserClient, the class that represents Chrome's own customisations of the browser.
  • RegisterAssociatedInterfaceBindersForRenderFrameHost( names the function: it registers the binders, meaning the callbacks that answer when a renderer asks for an interface, for a given frame host.
  • content::RenderFrameHost& render_frame_host, is the frame being set up, passed by reference.
  • blink::AssociatedInterfaceRegistry& associated_registry) { is the registry where the binders are recorded.
  • for (auto& ep : extra_parts_) { loops over the extra parts, the plug-in pieces that add their own interfaces.
  • ep->ExposeInterfacesToRendererForRenderFrameHost(render_frame_host, associated_registry); asks each part to add its interfaces to the registry for this frame.

Nothing in the loop checks the frame's type, its URL scheme (such as https or chrome-extension) or its origin. The report contrasts this with the service-worker path at lines 372 to 383, which returns early with if (!site.SchemeIs(extensions::kExtensionScheme)). Registration is deliberately not restricted here, because extension content scripts run inside ordinary web pages.

Step 2: binding with the frame's own process id

The set from step 1 includes RendererAutomationRegistry, bound with the frame's own process id and no gate, in chrome/browser/extensions/chrome_content_browser_client_extensions_part_bindings.cc at lines 66 to 75:

C++
  content::ChildProcessId render_process_id = frame_host.GetProcess()->GetID();
  ...
  associated_registry.AddInterface<mojom::RendererAutomationRegistry>(
      base::BindRepeating(&AutomationEventRouter::BindForRenderer,
                          render_process_id));
  ...
  associated_registry.AddInterface<mojom::EventRouter>(
      base::BindRepeating(&EventRouter::BindForRenderer, render_process_id));

Line by line:

  • content::ChildProcessId render_process_id = frame_host.GetProcess()->GetID(); asks the frame for its process and stores the process id in a variable. This id comes from the browser's own records, so the attacker cannot fake it.
  • ... stands for code the report left out.
  • associated_registry.AddInterface<mojom::RendererAutomationRegistry>( registers the automation interface in the frame's registry.
  • base::BindRepeating(&AutomationEventRouter::BindForRenderer, render_process_id)); says that when a renderer asks for this interface, call BindForRenderer and pass it the stored process id. BindRepeating means the callback can be called many times.
  • The second ... again stands for omitted code.
  • associated_registry.AddInterface<mojom::EventRouter>( registers the sibling interface in the same way.
  • base::BindRepeating(&EventRouter::BindForRenderer, render_process_id)); does the same for EventRouter, with the same process id.

The process id is injected by the browser and cannot be forged. The sibling is registered just below by the identical pattern. The omitted parts cover the RendererHost registration and an #if BUILDFLAG(ENABLE_EXTENSIONS) around the automation code. That is a build flag, a switch set when Chrome is compiled, and it is on for every desktop and ChromeOS build, so it is not a runtime gate. The exposure is intentional and shared; the caller id is trustworthy. The only question is whether the handler reads it.

Step 3: the request is matched by name, with no security gate

When a live frame asks for an interface, the request arrives in GetAssociatedInterface in content/browser/renderer_host/render_frame_host_impl.cc at lines 10299 to 10318. This is the browser end of the frame's AssociatedInterfaceProvider:

C++
void RenderFrameHostImpl::GetAssociatedInterface(
    const std::string& name,
    mojo::PendingAssociatedReceiver<blink::mojom::AssociatedInterface>
        receiver) {
  CHECK(associated_registry_);
  if (mojo_binder_policy_applier_ &&      // prerender capability control only
      !mojo_binder_policy_applier_->ApplyPolicyToAssociatedBinder(name)) {
    return;
  }
  mojo::ScopedInterfaceEndpointHandle handle = receiver.PassHandle();
  if (associated_registry_->TryBindInterface(name, &handle)) {
    return;
  }
}

Line by line:

  • void RenderFrameHostImpl::GetAssociatedInterface( begins the function that handles a request for an associated interface.
  • const std::string& name, is the name of the interface being requested, passed as text.
  • mojo::PendingAssociatedReceiver<blink::mojom::AssociatedInterface> is the handle for the incoming request.
  • receiver) { closes the parameter list.
  • CHECK(associated_registry_); stops the program if the registry is missing. CHECK is an assertion: it crashes rather than continuing in an impossible state.
  • if (mojo_binder_policy_applier_ && checks whether a policy applier exists.
  • !mojo_binder_policy_applier_->ApplyPolicyToAssociatedBinder(name)) { asks the policy whether this name is allowed. The comment says this only controls prerendering, the stage where Chrome loads a page in the background before you navigate to it.
  • return; exits if the policy refuses.
  • mojo::ScopedInterfaceEndpointHandle handle = receiver.PassHandle(); takes ownership of the connection handle.
  • if (associated_registry_->TryBindInterface(name, &handle)) { looks the name up in the frame's registry and binds it if found.
  • return; exits once the binding is done.

The only check before binding is mojo_binder_policy_applier_, which exists only while prerendering and is empty for a live, committed frame. There is no check of process type, scheme or origin. The registry used here is the frame's single registry, created in SetUpMojoConnection and passed to the step-1 hook at render_frame_host_impl_interface_binders.cc line 176 and then lines 298 to 302, where GetContentClient()->browser()->RegisterAssociatedInterfaceBindersForRenderFrameHost(*this, *associated_registry_) is called. It is the same registry that steps 1 and 2 filled. So TryBindInterface(name, …) finds the step-2 callback and calls AutomationEventRouter::BindForRenderer(render_process_id, receiver).

Step 4: the caller id is stored and then ignored

The handler stores the caller id and never reads it, in extensions/browser/api/automation_internal/automation_event_router.cc at lines 347 to 356 and then 342 to 345:

C++
void AutomationEventRouter::BindForRenderer(
    RenderProcessHostId render_process_id,
    mojo::PendingAssociatedReceiver<
        extensions::mojom::RendererAutomationRegistry> receiver) {
  AutomationEventRouter* router = AutomationEventRouter::GetInstance();
  CHECK(router);
  router->receivers_.Add(router, std::move(receiver), render_process_id);
}
void AutomationEventRouter::BindAutomation(
    mojo::PendingAssociatedRemote<ax::mojom::Automation> automation) {
  automation_remote_set_.Add(std::move(automation));   // caller id ignored
}

Line by line:

  • void AutomationEventRouter::BindForRenderer( begins the function that runs when a renderer connects.
  • RenderProcessHostId render_process_id, is the id of the calling process, supplied by the browser.
  • mojo::PendingAssociatedReceiver< starts the type of the incoming receiver handle.
  • extensions::mojom::RendererAutomationRegistry> receiver) { finishes it and names the parameter.
  • AutomationEventRouter* router = AutomationEventRouter::GetInstance(); fetches the single shared instance of the router. A singleton is a class with exactly one instance for the whole program.
  • CHECK(router); asserts that the instance exists.
  • router->receivers_.Add(router, std::move(receiver), render_process_id); adds the receiver to the router's collection and attaches the process id as context, so the id is available later.
  • void AutomationEventRouter::BindAutomation( begins the second function, the one that registers a remote for receiving events.
  • mojo::PendingAssociatedRemote<ax::mojom::Automation> automation) { is the remote handle supplied by the caller.
  • automation_remote_set_.Add(std::move(automation)); adds it to the global set.
  • // caller id ignored is the researcher's note that the stored id is never consulted here.

The sibling shows this is an oversight, not the intended design. EventRouter stores the same context and its handlers use it: RenderProcessHost::FromID(receivers_.current_context()) at event_router.cc line 374, then ProcessMap::Get(...)->Contains(extension_id, process.GetID()) at lines 411 to 412 or ChildProcessSecurityPolicy::CanAccessDataForOrigin(...) at lines 420 to 422, then receivers_.ReportBadMessage(...) on failure at line 447. Automation stores the identical context at line 355 and reads it nowhere.

Step 5: an unfiltered broadcast to the global set

Delivery is an unfiltered broadcast to the process-global set, in automation_event_router.cc at lines 253 to 268:

C++
void AutomationEventRouter::DispatchAccessibilityEvents(...) {
  if (remote_router_) { ...; return; }   // dead: RegisterRemoteRouter has no callers
  for (const auto& remote : automation_remote_set_) {
    remote->DispatchAccessibilityEvents(tree_id, updates, mouse_location, events);
  }
}

Line by line:

  • void AutomationEventRouter::DispatchAccessibilityEvents(...) { begins the dispatch function.
  • if (remote_router_) { ...; return; } is a branch for a remote router. The comment says it is dead code because RegisterRemoteRouter has no callers, so it never runs.
  • for (const auto& remote : automation_remote_set_) { loops over every registered remote.
  • remote->DispatchAccessibilityEvents(tree_id, updates, mouse_location, events); sends the tree id, the updates, the mouse location and the events to that remote.

listeners_, tree ids and origin are never consulted. The set is a process-global base::Singleton, at lines 32 to 37, with no BrowserContext key. A BrowserContext is the object that represents one profile, so without that key the reach spans profiles in the source code. The payload, defined as AXTreeUpdate in services/accessibility/public/mojom/automation.mojom, carries kName (text), kValue (non-password form-field values, since password fields are masked in the tree), kUrl (cross-site frame URLs), placeholders and descriptions.

The test that proves it

A faithful test of a compromised renderer has to drive the real production path. The report explains why a web page cannot be used to demonstrate this. RendererAutomationRegistry is an associated interface, reachable only through the frame's AssociatedInterfaceProvider at render_frame_host_impl.cc line 10299, not through BrowserInterfaceBroker. Blink's MojoJS, the JavaScript binding that lets page scripts talk to Mojo, exposes only the non-associated bindInterface. So there is no way to obtain this interface, or to pass the associated Automation remote, from page JavaScript, and no HTML or JavaScript reproducer can be built.

The test is therefore a browsertest, a test that runs a real Chrome browser and drives it. It uses the same approach Chromium's own security test uses for the sibling. In extension_security_exploit_browsertest.cc, the EventRouterExploitTest binds EventRouter::BindForRenderer(web_process->GetID(), receiver) "as though process were the renderer sending the message", at lines 1221 to 1228 and 1256 to 1258, against a real foo.com web page process. The attached automation_registry_exploit_browsertest.cc applies that harness to automation, adding no production code and changing no existing test:

  1. Open an attacker tab at evil.com and record its render process.
  2. Open a victim tab at victim.com containing a marker secret in an accessible node, and start a normal chrome.automation consumer over it as a stand-in for ChromeVox. Check that the two processes are different, which confirms Site Isolation is active.
  3. Acting as the compromised renderer, call AutomationEventRouter::BindForRenderer(attacker_process_id, …) and then BindAutomation(rogue_receiver). This is the browser-side fidelity described above; the routing that delivers a real web frame's request to this handler is traced in the reachability section.
  4. Trigger an accessibility event on victim.com.
  5. Check that the rogue receiver, hosted for the evil.com renderer, receives victim.com's tree id and the marker secret, with no bad-message and no renderer kill. By contrast, EventRouterExploitTest checks that the analogous spoof does get the process killed.

To build and run it, add the file to test_sources in chrome/browser/extensions/BUILD.gn, then run:

Bash
autoninja -C out/Default browser_tests && out/Default/browser_tests --gtest_filter=AutomationRegistryExploitTest.* --single-process-tests

Line by line:

  • autoninja -C out/Default browser_tests builds the browser_tests target using the build directory out/Default. autoninja is a wrapper around the Ninja build tool that Chrome uses.
  • && means run the next command only if the build succeeded.
  • out/Default/browser_tests runs the test binary that was just built.
  • --gtest_filter=AutomationRegistryExploitTest.* tells the test framework, Google Test, to run only tests whose names start with AutomationRegistryExploitTest..
  • --single-process-tests is a flag that runs the tests in a single process.

Why it happens

The defect is a trust assumption that is never enforced, while its own sibling enforces it. BindAutomation adds any supplied Automation receiver to the process-global automation_remote_set_ without checking who the caller is. The calling render_process_id is already stored as context by BindForRenderer, but BindAutomation never retrieves it. The permission and tree-scope bookkeeping in listeners_ is filled only by the permission-checked Register and EnableTree extension functions, and the dispatch loop never consults it, so every remote receives every tree.

The existing defences do not stop this. Registration is intentionally open to all renderer processes, because extension content scripts run in web renderers, so the frame-type and scheme filters that exist elsewhere are absent by design. The prerender binder policy is the only check before binding and is inactive for a live, committed frame. The per-caller validation that EventRouter performs is simply missing in the automation path.

What an attacker gets

A single compromised, site-locked renderer gains a persistent read feed of other origins' accessibility trees: visible page text (kName), non-password form-field values (kValue, with password fields masked), ARIA (attributes that describe page elements for assistive technology), and cross-site frame URLs (kUrl). This is exactly the cross-site frame text and full cross-site frame URLs that docs/security/compromised-renderers.md promises to protect from a compromised renderer, and the sensitive origin data that docs/security/ax-tree-security-guidelines.md forbids sharing into unrelated renderer processes.

While any legitimate chrome.automation consumer is active, the rogue receiver reads the full accessibility tree of every tab that consumer serialises. The handler is a process-global singleton with no BrowserContext key, so in the source the reach also spans other profiles, including Incognito. The attached test exercises the cross-origin case within one profile; the cross-profile reach is established at source level.

The realistic exposure is ChromeOS-centric, because ChromeVox, Select-to-Speak and Switch Access are routinely active there. On desktop the automation permission is restricted to an allow-list, so a consumer must be one of those trusted or component extensions. The code-level crossing is real on all platforms, but the routine real-world exposure is on ChromeOS.

The primitive is read-only. The accessibility action and write path, performAction, is a separate permission-checked extension function and is not reachable here. Independently of any consumer, the rogue receiver also gets DispatchTreeDestroyedEvent for every document teardown browser-wide, with opaque tree ids, which the report describes as a cross-profile activity-timing oracle. The report notes this for completeness and treats the content read as the substantive issue.

The report rates the issue Chrome VRP High per the severity rubric, as a Site Isolation bypass and cross-site data disclosure.

The suggested fix

The suggested remediation is to check the caller in BindAutomation, mirroring the sibling. The calling render_process_id is already stored as receiver context at automation_event_router.cc line 355. Retrieve it with RenderProcessHost::FromID(receivers_.current_context()) and reject a process that does not host an extension holding the automation permission, using the same authority EventRouter consults (util::CanRendererActOnBehalfOfExtension or ProcessMap), with receivers_.ReportBadMessage(...). As defence in depth, scope DispatchAccessibilityEvents per remote against the listeners_ permissions instead of broadcasting to the whole automation_remote_set_.

Other places to look

The report lists variants worth testing, in case the same pattern appears elsewhere:

  • Other associated interfaces registered for every RenderFrameHost. List the interfaces added in ExposeInterfacesToRendererForRenderFrameHost and check each handler for a read of receivers_.current_context() or an equivalent caller check. A positive result is a handler that accepts a receiver from a web-frame process and later delivers data belonging to another origin or profile.
  • Sibling interfaces with a validating twin. Where two interfaces are registered by the same pattern and one validates with ProcessMap or CanAccessDataForOrigin, test the other with the same harness. A positive result is a browsertest where the spoofed caller receives data with no ReportBadMessage and no renderer kill, while the validating twin kills the process.
  • Process-global singletons without a BrowserContext key. Look for base::Singleton registries that collect receivers or listeners and are dispatched to without a profile check. A positive result is a receiver registered from one profile receiving events generated in another, including Incognito.
  • Broadcast dispatch loops. Find dispatch loops that iterate a global remote set without consulting the permission or listener structure. A positive result is a remote that never passed the permission-checked registration path still receiving events.
  • Prerender-only binder policies. For interfaces whose only pre-bind check is mojo_binder_policy_applier_, test from a live, committed frame. A positive result is a successful bind from a normal web frame where the policy would have blocked it during prerendering.

Disclosure

The report states it was submitted privately to Google only, with the standard 14-week post-fix disclosure timeline, and the researcher offered to adjust the timeline on request.

Glossary

  • API (Application Programming Interface): a defined set of functions one program offers to another so they can work together.
  • ARIA: attributes added to web page elements that describe them for assistive technology, such as a role or a label.
  • Associated interface: a Mojo interface tied to an existing frame-to-browser connection, reachable only through that frame's AssociatedInterfaceProvider.
  • Authentication: proving who you are.
  • Authorization: deciding what an identified caller is allowed to do.
  • autoninja: a wrapper around the Ninja build tool used to build Chrome.
  • base::Singleton: a Chrome helper class that guarantees exactly one instance of something for the whole program.
  • Blink: Chrome's rendering engine, the part that turns HTML and CSS into a page.
  • Bounty: money paid by a bug bounty programme for a valid security report.
  • Browser process: the central Chrome process that controls tabs and enforces security.
  • BrowserContext: the object representing one Chrome profile, such as your normal profile or an Incognito window.
  • BrowserInterfaceBroker: the general Mojo door a frame uses to request non-associated interfaces.
  • Browsertest: a test that runs a real Chrome browser and drives it.
  • Build flag: a switch set when Chrome is compiled that includes or excludes code.
  • BUILDFLAG(ENABLE_EXTENSIONS): a build flag that turns extension support on or off at compile time.
  • Callback: a function passed to another piece of code so it can be called later.
  • Chrome VRP (Chrome Vulnerability Reward Program): Google's programme that pays researchers for privately reported Chrome security bugs.
  • ChromeOS: Google's operating system, used on Chromebooks, where accessibility features are commonly active.
  • ChromeVox: ChromeOS's built-in screen reader, which uses chrome.automation.
  • Commit: a saved snapshot of source code, identified by a hash such as 2a43c44b.
  • Component extension: an extension that ships with Chrome rather than being installed from the store.
  • Compromised renderer: a renderer process in which an attacker is running their own code and can send forged messages to the browser.
  • Content script: JavaScript an extension injects into web pages, which runs inside the page's renderer.
  • CVE (Common Vulnerabilities and Exposures): a public catalogue number given to a security flaw.
  • Dead code: code that exists but can never run because nothing calls it.
  • DISABLED_BY_DEFAULT: a marker meaning a feature is off unless explicitly enabled.
  • Extension: a small program that adds features to Chrome.
  • Finch: Chrome's system for rolling out features gradually to a subset of users.
  • Frame: one document inside a browser tab. A page can contain several frames, including frames from other websites.
  • Google Test: the test framework Chrome uses, which supports filters such as --gtest_filter.
  • Incognito: Chrome's private browsing mode, which uses a separate profile.
  • Interface: a named set of functions one process offers to another through Mojo.
  • IPC (inter-process communication): messages passed between processes.
  • Mojo: Chrome's internal messaging system for communication between processes.
  • MojoJS: the JavaScript binding that lets page scripts talk to Mojo.
  • Origin: the combination of scheme, host and port that identifies a website, such as https://victim.com.
  • performAction: the accessibility function that performs actions on a page, which is permission-checked and not reachable through this bug.
  • Permission: a grant that lets an extension use a particular API.
  • Prerendering: loading a page in the background before you navigate to it.
  • Process: a running program with its own private memory, kept apart from other processes by the operating system.
  • Profile: a separate set of Chrome settings, history and cookies, such as your normal profile or an Incognito window.
  • Renderer process: the process that turns a web page into something you can see and click, locked to one website by Site Isolation.
  • RenderFrameHost: the browser-side object that represents one frame.
  • ReportBadMessage: the call that tells the browser a renderer sent a message it should not have, which terminates that renderer.
  • Scheme: the first part of a URL, such as https or chrome-extension.
  • Screen reader: software that reads a page aloud for people who cannot see it.
  • Select-to-Speak: a ChromeOS feature that reads selected text aloud, using chrome.automation.
  • Severity rubric: the guidelines that map a bug's impact to a rating such as High.
  • Site Isolation: Chrome's feature of putting each website in its own renderer process so one site cannot read another's data.
  • Site Isolation bypass: a bug that lets one site's process read another site's data despite Site Isolation.
  • Singleton: a class with exactly one instance for the whole program.
  • Stable: Chrome's normal release channel, as opposed to beta or developer builds.
  • Switch Access: a ChromeOS feature that lets people control the computer with one or two switches, using chrome.automation.
  • Threat model: a description of who the attacker is and what they can do.
  • Tree id: the identifier Chrome gives to one accessibility tree.
  • Vulnerability: a flaw in software that an attacker can use to do something the software should not allow.
  • chrome://flags: Chrome's built-in page for turning experimental features on and off.

More by OGINOME Tomohito

View all

8 more disclosed reports, best first.

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.