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

Incorrect authorization in Extensions (CVE-2026-106253)

The chrome.tabs.query API checks host permissions against the visible URL but matches the title filter against the last-committed page title. During a browser-initiated navigation, an extension with permission for the destination site can use the title filter as a one-bit oracle to learn whether a cross-origin tab's title matches a pattern.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 5 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: The chrome.tabs.query API incorrectly uses the visible URL for permission checks while matching against the last-committed page title. During a browser-initiated navigation, this allows an extension to leak a cross-origin site's title using the title filter as an oracle.

Affected files:

  • chrome/browser/extensions/api/tabs/tabs_api.cc
  • chrome/browser/extensions/extension_tab_util.cc
  • content/browser/web_contents/web_contents_impl.cc
  • content/browser/renderer_host/navigation_controller_impl.cc

Estimated timestamp from git blame: 2016-01-21

Root Cause Analysis

In TabsQueryFunction::MatchesTab (located in chrome/browser/extensions/api/tabs/tabs_api.cc), the logic gates access to privileged tab data (title and URL) by checking the extension's host permissions. However, there is a discrepancy between the URL used for the permission check and the title data actually matched.

Specifically, the check uses web_contents->GetURL(), which returns the visible URL. During a pending browser-initiated navigation (e.g., initiated via the omnibox), GetURL() returns the destination URL. Conversely, the matching logic uses web_contents->GetTitle(), which returns the last-committed title—the title of the page the user is currently navigating away from.

C++
// chrome/browser/extensions/api/tabs/tabs_api.cc
if (check_title || !target_url_patterns.is_empty()) {
  if (!extension_->permissions_data()->HasAPIPermissionForTab(...) &&
      !extension_->permissions_data()->HasHostPermission(
          web_contents->GetURL())) {        // Returns visible URL (pending destination)
    return false;
  }

  if (check_title &&
      !base::MatchPattern(web_contents->GetTitle(),   // Returns last-committed title
                          base::UTF8ToUTF16(*query_info_.title))) {
    return false;
  }
}

WebContentsImpl::GetURL() calls GetVisibleURL(), which for browser-initiated pending entries returns the pending destination. In contrast, WebContentsImpl::GetTitle() typically uses the last-committed entry's title during navigations to maintain UI stability. This discrepancy creates a Time-of-Check Time-of-Use (TOCTOU) window.

Potential Vulnerability Mechanism

  1. Victim State: A tab is on https://victim.example with a sensitive title (e.g., "Inbox (5) - [email protected]").
  2. User Action: The user initiates a navigation to https://permitted.example via the omnibox. This creates a browser-initiated pending navigation. GetVisibleURL() now returns https://permitted.example because browser-initiated pending entries are considered safe to show in the omnibox.
  3. Exploitation: An extension with host permissions for https://permitted.example (but no tabs permission and no permissions for victim.example) calls chrome.tabs.query({title: 'Inbox*'}) while the navigation is in flight.
  4. Bypass: The permission check passes because the visible URL matches the permitted destination. However, the title match is evaluated against the victim's title retrieved via GetTitle().

Even though the resulting Tab object is scrubbed before being returned to the extension (removing the title and URL fields), the fact that the tab is included in the result array confirms the match, acting as a 1-bit oracle.

Suggested Fix

Ensure that the permission check and the data matching logic use consistent NavigationEntries. TabsQueryFunction::MatchesTab should likely check permissions against the same entry used to retrieve the title. Specifically, the permission check should verify host permissions against the last-committed URL if the title being matched is the last-committed title.

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

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 permission check uses the visible (pending destination) URL while the title filter uses the last-committed title, creating a time-of-check time-of-use mismatch.

Impact

An extension could learn whether a cross-origin tab's title matches a guessed pattern, one bit at a time, but only during a browser-initiated navigation and only if it has permission for the destination site.

What the attacker needed

Extension with host permission for destination; user starts omnibox navigation; navigation must be in flight

The fix

The permission check and title matching should use the same navigation entry, checking host permissions against the last-committed URL when matching the last-committed title.

How it was found

  1. A tab is on a victim site with a sensitive title.
  2. The user starts a navigation to a permitted site via the omnibox.
  3. An extension with permission for the permitted site calls chrome.tabs.query with a title filter while the navigation is pending.
  4. The permission check passes against the destination URL, but the title match is evaluated against the victim's title.
  5. The tab's inclusion in the result array confirms the title match.

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.

Browser extensions can ask Chrome for a list of open tabs, but Chrome is supposed to hide sensitive details like page titles unless the extension has permission for that site. Here, Chrome checked permission using the address the user is navigating to, but checked the title of the page they are leaving. That mismatch lets an extension confirm whether a page it should not see has a title matching a guess, one guess at a time.

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.