Skip to content
Info disclosure Advisory Advanced CVE-2026-79059

Information leak in BFCache (CVE-2026-79059)

A logic flaw in Chromium's Back/Forward Cache metrics lets a compromised renderer forge a document sequence number so its navigation reuses a previously visited site's metrics object. The attacker's page could then read the victim site's frame-tree details, including URLs and script locations, through the notRestoredReasons API.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A potential logic flaw in Chromium's Back/Forward Cache metrics allows a compromised renderer to bypass Site Isolation and leak cross-origin NotRestoredReasons. By forging a document sequence number (DSN) during navigation, an attacker's renderer can potentially reuse a victim's metrics object containing sensitive frame-tree information. This could expose URLs, iframe properties, and script source locations of the previously visited victim site to the attacker.

Affected files:

  • content/browser/back_forward_cache/back_forward_cache_metrics.cc
  • content/browser/renderer_host/navigation_controller_impl.cc
  • content/browser/renderer_host/navigation_request.cc

Estimated timestamp from git blame: 2019-04-02

Description

A potential vulnerability exists in the Back/Forward Cache metrics subsystem where a compromised renderer can bypass Site Isolation to access sensitive, cross-origin frame-tree metadata of a previously visited page.

In content/browser/back_forward_cache/back_forward_cache_metrics.cc:126-130, the function CreateOrReuseBackForwardCacheMetricsForNavigation is responsible for choosing whether to associate a new navigation with the previous entry's BackForwardCacheMetrics object or create a new one. This decision is made solely based on the equality of a renderer-supplied document_sequence_number (DSN):

C++
// content/browser/back_forward_cache/back_forward_cache_metrics.cc:126-130
if (!is_main_frame_navigation ||
    committing_document_sequence_number ==
        previous_entry_metrics->document_sequence_number_) {
  return previous_entry_metrics;
}

Because the committing renderer controls the document_sequence_number parameter inside the DidCommitProvisionalLoad Mojo IPC, a compromised renderer could forge this sequence number. There is currently no SiteInstance or origin check in this metrics reuse path. While a sibling DSN consumer in content/browser/renderer_host/navigation_controller_impl.cc:5211-5214 was previously hardened with a SiteInstance validation to prevent forgery, this metrics reuse path remains unprotected.

Potential Attack Scenario

(Note: These are potential, suggested steps; our tooling does not currently run active exploits.)

  1. Victim Commit: The user loads https://victim.com (which delivers Cache-Control: no-store to make it BFCache-ineligible). The browser associates a BackForwardCacheMetrics object ($M_v$) with its navigation entry, setting the tracked DSN to $V$.
  2. Navigation and Unload: The user navigates to the attacker's page https://attacker.com. During the unload of the victim page, UnloadOldFrame() runs first. Because the page is ineligible for BFCache, SetNotRestoredReasons() is called, populating $M_v$ with the victim's complete frame-tree details (including subframe URLs, names, attributes, and JavaScript locations).
  3. DSN Forgery: The compromised attacker.com renderer process estimates the victim's DSN ($V$) by bounding the victim process's startup time. Upon commit, the attacker's renderer transmits a forged document_sequence_number equal to $V$ inside the DidCommitProvisionalLoad IPC parameters.
  4. Metrics Hijacking: Because the forged DSN matches the last committed entry's metrics DSN, CreateOrReuseBackForwardCacheMetricsForNavigation returns the victim's metrics object ($M_v$) with no validation. This binds the victim's populated metrics object to the attacker's NavigationEntry ($E_a$).
  5. State Pinning: The attacker renderer performs a same-document navigation (such as a history.pushState()), forging the DSN $V$ again. This creates a new entry $E_{a2}$ that shares $M_v$ and shifts the active nav_entry_id to $E_{a2}$.
  6. Intermediate Navigation: The attacker navigates the tab to a BFCache-eligible page https://attacker.com/third with a normal DSN, putting the primary attacker page into the BFCache (keyed under $E_{a2}$).
  7. BFCache-Bypass Restoration: The attacker's script calls history.go(-2) to target $E_a$. The BFCache lookup misses because the cached page is keyed under $E_{a2}$'s ID. This initiates a full cross-document history restoration navigation to $E_a$.
  8. Data Leaked to Attacker: In content/browser/renderer_host/navigation_request.cc:2282-2294, during the restoration navigation, the browser extracts the web-exposed reasons from the hijacked metrics object ($M_v$) and writes them to commit_params_->not_restored_reasons which are then committed directly to the attacker's renderer. The attacker reads the victim's URL tree from performance.getEntriesByType('navigation')[0].notRestoredReasons.

Suggested Fix

To prevent this cross-origin metrics reuse, enforce a SiteInstance validation gate inside CreateOrReuseBackForwardCacheMetricsForNavigation (or its browser-process callers). For example, ensure that the metrics object is only reused if the previous_entry's SiteInstance matches the SiteInstance associated with the committing navigation request.

C++
// Suggested verification logic:
if (previous_entry->site_instance() && 
    previous_entry->site_instance() != committing_site_instance) {
  // Do not reuse metrics cross-origin
}

Evaluated with Chrome root at commit: 57b021e1fdae94a215627d29aeb1ccf2eb5b3e91


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

Likely the metrics reuse decision trusts a renderer-supplied document sequence number without checking that the previous entry belongs to the same SiteInstance or origin.

Impact

A compromised renderer could leak cross-origin frame-tree information such as URLs, iframe properties and script source locations, though the report notes these are potential steps and no active exploit was run.

What the attacker needed

Compromised renderer process; victim visits a BFCache-ineligible site first; attacker can estimate victim's DSN

The fix

The metrics object should only be reused when the previous entry's SiteInstance matches the committing navigation's SiteInstance.

How it was found

  1. Victim loads a site that is ineligible for the back/forward cache, so its metrics object is created.
  2. User navigates to the attacker's page, and the victim's metrics are populated with frame-tree details.
  3. The attacker's renderer forges the victim's document sequence number when committing its navigation.
  4. The browser reuses the victim's metrics object for the attacker's navigation entry.
  5. The attacker performs a same-document navigation to pin the shared metrics to a new entry.
  6. The attacker navigates to a cacheable page and then goes back, causing the hijacked reasons to be committed to its renderer.

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.

Browsers keep recently visited pages in memory so the back button feels instant; this is called the back/forward cache. When a page cannot be cached, the browser records why, and that record includes details about the page's frames. The report says a malicious page could trick the browser into handing it the record belonging to a different site, revealing that site's structure.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.