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

Insufficient validation of untrusted input in COOP (CVE-2026-7945)

A compromised renderer can supply the token of a frame in the back-forward cache to establish a cross-BrowsingInstance opener relationship with a COOP-isolated page. This bypasses Cross-Origin-Opener-Policy and Site Isolation, enabling cross-site leaks, Spectre isolation defeat, and browser process denial of service.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 43 days

Project Fortify, an experimental security project, has identified the following potential security issue.

Overview: RenderFrameHostManager::DidChangeOpener fails to verify the lifecycle state of the RenderFrameHost corresponding to a renderer-supplied opener token. A compromised renderer can supply the token of a BFCached frame to establish a cross-BrowsingInstance opener relationship to a COOP-isolated page. This triggers cross-BrowsingInstance proxy creation, bypassing Cross-Origin-Opener-Policy and Site Isolation.

Affected files:

  • content/browser/renderer_host/render_frame_host_manager.cc
  • content/browser/renderer_host/render_frame_host_impl.cc
  • content/browser/renderer_host/render_frame_proxy_host.cc
  • content/browser/renderer_host/frame_tree_node.cc
  • content/browser/renderer_host/browsing_context_state.cc

Estimated timestamp from git blame: 2025-12-11

Summary

A potential security vulnerability exists in RenderFrameHostManager::DidChangeOpener where renderer-supplied frame tokens are resolved to FrameTreeNode objects without verifying the lifecycle state of the associated RenderFrameHost.

A compromised renderer can provide a token for a RenderFrameHost that is currently in the BackForward Cache (BFCache). Because BFCached RenderFrameHost instances retain a pointer to their original FrameTreeNode, and because that FrameTreeNode now hosts a new page in a potentially different BrowsingInstance, this allows the renderer to establish a window.opener relationship across BrowsingInstance boundaries. This bypasses Cross-Origin-Opener-Policy (COOP) and Site Isolation guarantees.

Technical Details

The vulnerability is located in the RenderFrameHostManager::DidChangeOpener method in content/browser/renderer_host/render_frame_host_manager.cc.

When a renderer sends a DidChangeOpener message (e.g., via the RemoteFrameHost Mojo interface), the browser resolves the provided opener_frame_token using RenderFrameHostImpl::FromFrameToken:

C++
// content/browser/renderer_host/render_frame_host_manager.cc:1093
void RenderFrameHostManager::DidChangeOpener(
    const std::optional<blink::LocalFrameToken>& opener_frame_token,
    SiteInstanceGroup* source_site_instance_group) {
  FrameTreeNode* opener = nullptr;
  if (opener_frame_token) {
    RenderFrameHostImpl* opener_rfhi = RenderFrameHostImpl::FromFrameToken(
        source_site_instance_group->process()->GetDeprecatedID(),
        *opener_frame_token);
    if (opener_rfhi)
      opener = opener_rfhi->frame_tree_node();
  }
  // ...

RenderFrameHostImpl::FromFrameToken (in render_frame_host_impl.cc:2327) only validates that the requesting process ID matches the owner of the RenderFrameHost by looking it up in GetTokenFrameMap(). It does not filter out RenderFrameHost instances in the kInBackForwardCache or pending-deletion lifecycle states.

While in the BFCache, the RenderFrameHost remains in the global token map and its frame_tree_node_ member continues to point to the active FrameTreeNode that originally hosted it. However, that FrameTreeNode may now be hosting a new page in a different BrowsingInstance (e.g., due to a COOP-enforced navigation).

By providing the token of a BFCached RenderFrameHost, a compromised renderer causes the browser to set an attacker-controlled frame's opener to a FrameTreeNode belonging to a different BrowsingInstance. The subsequent proxy-creation logic in RenderFrameHostManager::CreateOpenerProxies explicitly lacks IsRelatedSiteInstanceGroup checks (acknowledged by TODO(crbug.com/40205442) at line 5707 of render_frame_host_manager.cc), which allows cross-BrowsingInstance proxies to be created.

Suggested Potential Steps to Trigger

(Note: These steps represent a theoretical exploit path based on code analysis, as an automated working PoC has not yet been executed.)

  1. Setup Setup: An attacker controls a compromised renderer process (Process A) hosting a malicious webpage in a main frame (FrameTreeNode 1 / FTN 1). The active RenderFrameHostImpl is RFH 1. Process A records the LocalFrameToken of RFH 1.
  2. Open Popup: The attacker's page opens a popup window, creating FrameTreeNode 2 (FTN 2) with an active RenderFrameHostImpl (RFH 2) also hosted in Process A.
  3. Navigate to Victim (COOP): The attacker navigates FTN 1 to a cross-origin victim site (e.g., victim.com) that employs a strict Cross-Origin-Opener-Policy (COOP).
  4. BFCache Entry: Due to the COOP header, the browser enforces a strict BrowsingInstance swap. The victim page is loaded into a new RenderFrameHostImpl (RFH 3) in an isolated process (Process B). The attacker's original RFH 1 is preserved and placed into the BackForward Cache, retaining its pointer to FTN 1.
  5. Navigate Popup: The attacker navigates the popup (FTN 2) to another attacker-controlled site (e.g., attacker2.com), which requires a SiteInstance swap to a new Process C (RFH 4). Process A is granted a RenderFrameProxyHost (Proxy A) for FTN 2.
  6. Send Malicious IPC: The compromised Process A constructs and sends a DidChangeOpener Mojo message on the RemoteFrameHost interface associated with Proxy A, providing the LocalFrameToken of the BFCached RFH 1.
  7. Token Resolution & Opener Hijack: The browser receives this in RenderFrameProxyHost::DidChangeOpener and routes it to RenderFrameHostManager::DidChangeOpener. FromFrameToken successfully returns the BFCached RFH 1. The browser extracts its frame_tree_node_ (which points to the COOP-isolated FTN 1) and forcibly sets it as the opener of FTN 2.
  8. Cross-BrowsingInstance Proxy Creation: Because the active RenderFrameHost for FTN 2 (Process C) is in a different SiteInstanceGroup than the IPC sender (Process A), the browser calls UpdateOpener. This invokes CreateOpenerProxies, which blindly creates RenderFrameProxyHost objects in Process C's SiteInstanceGroup pointing to the victim in Process B.
  9. Exploitation: Process C now possesses a fully functional window.opener handle to the COOP-isolated victim page.

Impact

This flaw allows a compromised renderer to bypass COOP isolation and obtain a window.opener handle to a page in a different BrowsingInstance. This can be exploited to:

  1. Perform Cross-Site Leaks (XS-Leaks), such as detecting navigations or counting frames in the victim page.
  2. Defeat Spectre BrowsingInstance-level isolation by forcing the browser to create cross-process frame proxies that shouldn't exist.
  3. Cause browser-process state corruption by populating a BrowsingContextState's proxy map with entries from unrelated SiteInstanceGroups. This will eventually trigger security assertions and CHECK_EQ failures (e.g., at content/browser/renderer_host/frame_tree.cc:803), leading to a Denial of Service of the browser process.

Evaluated with Chrome root at commit: 0eb4855bda702feaaa8b899336664f97e3df88b8


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. Please feel free to reach out to me if you have concerns or feedback.

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 browser fails to check whether a frame token belongs to a frame that is still active, allowing a cached frame's token to be used to create an opener link across browsing contexts.

Impact

This could allow a compromised renderer to bypass COOP isolation, perform cross-site leaks, defeat Spectre BrowsingInstance-level isolation, and cause browser process denial of service through state corruption.

What the attacker needed

Compromised renderer process; victim site uses strict COOP

How it was found

  1. An attacker controls a compromised renderer process hosting a malicious page in a main frame and records its frame token.
  2. The attacker's page opens a popup window, creating a second frame tree node.
  3. The attacker navigates the main frame to a cross-origin victim site that uses strict COOP.
  4. Due to COOP, the browser swaps BrowsingInstance and puts the original frame into the back-forward cache.
  5. The attacker navigates the popup to another attacker-controlled site, causing a site instance swap and granting the attacker's process a proxy for the popup.
  6. The compromised process sends a DidChangeOpener message with the token of the cached frame, causing the browser to set the popup's opener to the COOP-isolated frame and create cross-BrowsingInstance proxies.

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.

When you open a new window from a page, the browser normally keeps a link between them called 'opener'. A security feature called COOP can cut that link for sensitive sites. This report shows that a malicious page could trick the browser into reconnecting that link even after COOP should have blocked it, by using a saved copy of an old page.

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.