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

Inappropriate implementation in Navigation (CVE-2026-14017)

A logic bug in the browser's frame teardown path leaves child frames alive and bound to a compromised renderer after their parent placeholder frame is unloaded during inner-delegate attachment. The attacker could keep hidden frames running scripts and making requests that are skipped by normal cross-tree security checks.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 35 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: A potential logic bug in RenderFrameHostImpl::OnUnloadACK allows a compromised renderer to retain active child frames under a placeholder frame that is attaching an inner WebContents. This occurs because the inner-delegate early-return path invokes RenderFrameDeleted() but omits the necessary ResetChildren() subtree cleanup. This leaves the frame tree in an inconsistent state where active child frames are invisible to cross-tree walks.

Affected files:

  • content/browser/renderer_host/render_frame_host_impl.cc
  • content/browser/web_contents/web_contents_impl.cc
  • extensions/browser/guest_view/mime_handler_view/mime_handler_view_embedder.cc
  • content/browser/renderer_host/frame_tree.cc

Estimated timestamp from git blame: 2019-02-26

Root Cause Analysis

In content/browser/renderer_host/render_frame_host_impl.cc (around lines 7150-7158), the inner-delegate early-return path inside OnUnloadACK handles the scenario where a frame is unloaded during inner-delegate attachment:

C++
RenderFrameHostOwner* owner =
    IsPendingDeletion() ? GetFrameTreeNodeForUnload() : owner_;
if (!is_main_frame() &&
    owner->GetRenderFrameHostManager().is_inner_delegate_attached()) {
  // This RFH was unloaded while attaching an inner delegate. The RFH
  // will stay around but it will no longer be associated with a RenderFrame.
  RenderFrameDeleted();
  return;
}

Crucially, this path invokes RenderFrameDeleted() but completely omits the ResetChildren() subtree-teardown that every other standard frame-teardown path performs (such as the renderer-process-death path at line 4464 or the destructor at line 2867).

Additionally, there is no guard in OnCreateChildFrame or AddChild that prevents a renderer from successfully requesting and creating child frames under a placeholder RenderFrameHost during the active or early-attachment phases.

Potential Trigger Scenario

(Note: These are potential steps based on static analysis of the codebase, as our tooling does not have the capability to run code or execute a proof of concept.)

  1. A compromised renderer process (Process A) hosts a frame that navigates to a GuestView-eligible resource (such as a PDF handled via MimeHandlerView).
  2. The browser creates a MimeHandlerViewEmbedder in extensions/browser/guest_view/mime_handler_view/mime_handler_view_embedder.cc and commits a template HTML page inside the subframe in Process A.
  3. The template HTML creates a child <embed> element with a unique name, resulting in the creation of a placeholder RenderFrameHostImpl in the browser which enters the kActive state.
  4. During the asynchronous preparation phase for attaching the inner WebContents (e.g., during Mojo round-trips for CreateBeforeUnloadControl at mime_handler_view_embedder.cc line 162), the placeholder RFH remains active in the browser.
  5. The compromised renderer takes advantage of this window to call FrameHost::CreateChildFrame on the placeholder frame's Mojo interface. This successfully adds a child gc1 FrameTreeNode to placeholder->children_ because the placeholder is active and its render frame is created.
  6. The browser proceeds with the guest attachment inside WebContentsImpl::AttachInnerWebContentsImpl (defined in content/browser/web_contents/web_contents_impl.cc at line 3273), updating inner_tree_main_frame_tree_node_id_ and calling SwapOuterDelegateFrame(), which sends Unload to the placeholder frame in Process A.
  7. The compromised renderer ignores the unload command for the child gc1 but responds with an unload ACK for the placeholder.
  8. The browser receives the unload ACK inside RenderFrameHostImpl::OnUnloadACK. It matches the early-return condition and invokes RenderFrameDeleted() on the placeholder, but skips ResetChildren() cleanup.
  9. This leaves the child frame gc1 alive and active inside placeholder->children_ with its Mojo endpoints fully bound to Process A.

Security Implications

This behavior leads to a severe desynchronization of the browser-process frame tree:

  • Ghost Frames: The child gc1 remains alive and fully bound in the background even though the placeholder has been marked "deleted". A compromised renderer can continue to run scripts, make requests, and execute IPCs through gc1 without any visible UI or active frame presence.
  • Inconsistent Iteration: As defined in content/browser/renderer_host/frame_tree.cc (at line 337), SubtreeAndInnerTreeNodes descends directly into the inner tree, skipping the placeholder because include_delegate_nodes_for_inner_frame_trees is false by default. Thus, gc1 is skipped during normal cross-tree walks (such as ForEachRenderFrameHost), making it invisible to security or policy checks that rely on global frame traversal.

Suggested Remediation

Ensure that when a placeholder RFH is unloaded or detached during inner-delegate attachment, any children in its subtree are properly torn down. This can be accomplished by calling ResetChildren() before RenderFrameDeleted() inside the inner-delegate early-return branch of RenderFrameHostImpl::OnUnloadACK:

C++
if (!is_main_frame() &&
    owner->GetRenderFrameHostManager().is_inner_delegate_attached()) {
  // Properly tear down child subtrees before marking the frame deleted.
  ResetChildren();
  RenderFrameDeleted();
  return;
}

Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8


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.

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

The inner-delegate early-return path in OnUnloadACK calls RenderFrameDeleted() but omits the ResetChildren() subtree cleanup that other teardown paths perform.

Impact

A compromised renderer could keep hidden child frames alive and fully bound, allowing scripts and requests to run without visible UI and be skipped by cross-tree security checks; the text notes this is based on static analysis and no proof of concept was executed.

What the attacker needed

Compromised renderer process; GuestView-eligible resource such as a PDF; timing during inner-delegate attachment

The fix

The inner-delegate early-return branch of OnUnloadACK should call ResetChildren() before RenderFrameDeleted() so child subtrees are torn down.

How it was found

  1. A compromised renderer navigates a frame to a GuestView-eligible resource such as a PDF.
  2. The browser creates a MimeHandlerViewEmbedder and commits a template page in the subframe.
  3. The template creates an embed element, producing a placeholder RenderFrameHostImpl in the active state.
  4. During asynchronous preparation for attaching the inner WebContents, the renderer calls CreateChildFrame on the placeholder.
  5. The browser attaches the guest and sends Unload to the placeholder; the renderer ACKs the unload.
  6. OnUnloadACK takes the early-return path, calls RenderFrameDeleted() but skips ResetChildren(), leaving the child frame alive.

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 builds a tree of frames for each page. When a frame is removed, the browser is supposed to clean up all of its child frames too. Here, one cleanup path forgot to remove the children, so a malicious page could keep hidden child frames alive and running code that the browser no longer notices.

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.