Information leak in Extensions (CVE-2026-87658)
A logic flaw in Chrome's extension system may allow an extension with the activeTab permission to leak the URL, title, and favicon of a cross-origin navigation. An attacker could exploit this to obtain sensitive data such as OAuth tokens from the new URL.
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.
Overview: A potential logic flaw in Chrome's extension system may allow an extension with the activeTab permission to leak the URL, title, and favicon of the subsequent cross-origin navigation. This occurs because the tabs.onUpdated event is dispatched before the activeTab permission is revoked for the new origin. Consequently, sensitive data like OAuth tokens in the new URL might be exposed to the extension.
Affected files:
chrome/browser/extensions/extension_tab_util.ccchrome/browser/extensions/api/tabs/tabs_event_router.ccchrome/browser/extensions/active_tab_permission_granter.cc
Estimated timestamp from git blame: 2026-01-07
Background
The activeTab permission temporarily grants an extension access to the currently active tab when the user invokes the extension. To maintain security, this grant (internally the kTab API permission) is designed to be revoked when the user navigates the tab to a different origin, preventing the extension from tracking the user across sites.
The Vulnerability
A potential ordering bug exists during the navigation commit phase, where a cross-origin URL is leaked to the extension before its activeTab permission is formally revoked.
- Event Ordering: When a navigation commits,
Navigator::DidNavigatefirst triggers theNavigationEntryCommittednotification. Later, when theNavigationRequestis destroyed, it triggers theDidFinishNavigationnotification. - The Leak:
TabsEventRouterobservesNavigationEntryCommittedand synchronously builds and dispatches thetabs.onUpdatedevent to extensions.- To determine if the new URL should be redacted (scrubbed), it calls
ExtensionTabUtil::GetScrubTabBehaviorImpl, which checks if the extension holds thekTabpermission for that tab. - However,
ActiveTabPermissionGranterrelies on the laterDidFinishNavigationevent to revoke thekTabpermission on cross-origin navigations.
- Result: Because
DidFinishNavigationhas not yet fired whentabs.onUpdatedis dispatched, the extension technically still holds thekTabpermission. The scrubbing logic returnskDontScrubTab, and the full, unredacted cross-origin URL is sent to the extension.
Note: This is a potential vulnerability identified by an AI agent (Fortify). A runnable proof-of-concept has not yet been executed to confirm the exact IPC timing, but the synchronous C++ call chains indicate the leak occurs.
Proposed Attacker Steps
- An attacker publishes a malicious extension requiring the
activeTabpermission and registers a listener forchrome.tabs.onUpdated. - The user installs the extension, opens a tab to a benign site (e.g.,
https://attacker.example), and clicks the extension icon, grantingactiveTabaccess. - The extension injects a script that triggers a navigation to a sensitive cross-origin endpoint, such as an OAuth flow that results in a server-side redirect to
https://victim.example/callback?token=SECRET_OAUTH_CODE. - As the browser commits the navigation to
victim.example,NavigationEntryCommittedfires. TabsEventRoutersynchronously queries the extension's permissions. SinceDidFinishNavigationhasn't fired to revokeactiveTab, the check passes.- The extension's background script receives the
tabs.onUpdatedevent containing the fullvictim.exampleURL, including the sensitive OAuth token. - Shortly after,
DidFinishNavigationfires and revokes the permission, but the data has already been exfiltrated.
Suggested Fix
Revoke the activeTab permission earlier in the navigation lifecycle to ensure it precedes the event dispatch.
Instead of revoking the permission in ActiveTabPermissionGranter::DidFinishNavigation, consider moving the revocation logic to ActiveTabPermissionGranter::ReadyToCommitNavigation or ActiveTabPermissionGranter::NavigationEntryCommitted (ensuring it runs before TabsEventRouter processes the same event, though relying on observer ordering can be fragile).
Alternatively, update the scrubbing logic in ExtensionTabUtil::GetScrubTabBehaviorImpl to verify that the tab's newly committed origin strictly matches the origin for which the activeTab permission was originally granted.
Evaluated with Chrome root at commit: bb48272cafb7e24c93f55ef40da398cd206ee651
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.
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 an ordering bug where the tabs.onUpdated event is dispatched before the activeTab permission is revoked on cross-origin navigation.
Impact
A malicious extension could obtain sensitive data such as OAuth tokens from the new URL, but the report notes that a runnable proof-of-concept has not yet been executed to confirm the exact IPC timing.
What the attacker needed
Victim installs a malicious extension; extension has activeTab permission; victim clicks the extension icon; victim navigates to a sensitive URL
The fix
The activeTab permission should be revoked earlier in the navigation lifecycle, before the tabs.onUpdated event is dispatched, or the scrubbing logic should verify that the tab's newly committed origin matches the origin for which the permission was granted.
How it was found
- An attacker publishes a malicious extension requiring the activeTab permission and registers a listener for chrome.tabs.onUpdated.
- The user installs the extension, opens a tab to a benign site, and clicks the extension icon, granting activeTab access.
- The extension injects a script that triggers a navigation to a sensitive cross-origin endpoint, such as an OAuth flow that results in a server-side redirect to a URL containing a token.
- As the browser commits the navigation to the victim site, NavigationEntryCommitted fires.
- TabsEventRouter synchronously queries the extension's permissions; since DidFinishNavigation hasn't fired to revoke activeTab, the check passes.
- The extension's background script receives the tabs.onUpdated event containing the full victim URL, including the sensitive OAuth token.
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.
Chrome extensions can ask for a permission called activeTab, which gives temporary access to the current tab when you click the extension. Normally, this access is removed when you navigate to a different website, so the extension cannot spy on you. This report suggests that due to the order in which Chrome processes events, the extension might still have access for a moment and could see the new website's address, which might contain a secret token.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.