Insufficient policy enforcement in Extensions (CVE-2026-11026)
A logic error in the extension navigation registry made a redirect ownership check always succeed, so an attacker extension could redirect a browser-initiated navigation to another extension's private, non-web-accessible resources. This could let the attacker fingerprint which extensions are installed and, in some cases, trigger actions in other extensions' private pages.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 2 months
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: A logic error in ExtensionNavigationRegistry::CanRedirect unconditionally returns true, failing to validate extension IDs. When combined with a browser-initiated navigation (e.g., chrome.tabs.create), an attacker extension can redirect to another extension's private resources, completely bypassing Web Accessible Resource (WAR) checks.
Affected files:
extensions/browser/extension_navigation_registry.ccextensions/browser/extension_navigation_throttle.ccextensions/browser/api/declarative_net_request/indexed_rule.ccextensions/browser/api/web_request/extension_web_request_event_router.cc
Estimated timestamp from git blame: 2025-02-06
Summary
There is a logic bug in ExtensionNavigationRegistry::CanRedirect where the function unconditionally returns true instead of false. This undermines the validation intended to ensure that only the extension that initiated a redirect can redirect to its own resources. In combination with how ExtensionNavigationThrottle handles browser-initiated navigations, this allows an attacker extension to force the browser to load private, non-Web Accessible Resources (WAR) belonging to a different extension.
Technical Details
In extensions/browser/extension_navigation_registry.cc, the CanRedirect function is implemented as follows:
bool ExtensionNavigationRegistry::CanRedirect(int64_t navigation_id,
const GURL& gurl,
const Extension& extension) {
// ... lookup logic ...
if (metadata.extension_id == extension.id()) {
return true;
}
return true; // Logic bug: should return false
}
The final return true (at line 89) makes the previous equality check for extension_id redundant. This function is used by ExtensionNavigationThrottle to determine if an extension-initiated redirect to a non-WAR resource should be permitted.
Potential Attack Chain
Note: These are suggested steps; we have not run a live proof-of-concept for this issue.
- Malicious Redirect Rule: An attacker extension uses
declarativeNetRequest(or blockingwebRequest) to create a redirect rule. The rule targets a URL (e.g.,http://example.com/trigger) and redirects it to a private resource of a target Extension B (e.g.,chrome-extension://<ExtensionB_ID>/internal/admin.html). The DNR rule validation does not restrictchrome-extension://targets to the extension defining the rule. - Browser-Initiated Navigation: The attacker extension initiates a navigation to the trigger URL using an API that creates a browser-initiated navigation, such as
chrome.tabs.create({url: "http://example.com/trigger"}). Because this is browser-initiated, the navigation request does not have an initiator origin. - Throttle Bypass 1: The redirect occurs.
ExtensionNavigationThrottleencounters the redirect to a non-WAR resource. It callsExtensionNavigationRegistry::CanRedirectto see if the redirecting extension owns the target resource. Due to the logic bug, this returnstrueeven though the attacker's ID does not match the victim extension's ID. This prevents an immediate block at line 344 ofextension_navigation_throttle.cc. - Throttle Bypass 2: Execution continues to line 356. For browser-initiated navigations (like those from
chrome.tabs.create),navigation_handle()->GetInitiatorOrigin()returnsstd::nullopt.ExtensionNavigationThrottle::WillStartOrRedirectRequestsees this and immediately returnsPROCEED(line 357), completely bypassing the subsequent second-stage cross-origin WAR check that would normally catch this.
Impact
This vulnerability allows an extension to bypass the Web Accessible Resources security boundary. An attacker can:
- Detect if specific extensions are installed by attempting to navigate to their private pages (fingerprinting).
- Perform "confused deputy" or CSRF-style attacks against other extensions if those extensions have private pages that perform actions based on URL parameters or page load events.
Suggested Fix
In extensions/browser/extension_navigation_registry.cc, change the final return statement in CanRedirect from return true; to return false;. Additionally, ensure that the TODO (crbug.com/40060076) regarding verifying WAR access for the recorded extension is addressed to provide robust validation.
Evaluated with Chrome root at commit: a9cbf6e8b275fe4147435aa905f3b7f5a656f5f0
Results from 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. And please feel free to reach out to me directly if you have concerns or feedback on the project.
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 a logic error where the final return in the redirect ownership check returns true instead of false, making the earlier extension ID comparison pointless, and this is compounded by browser-initiated navigations having no initiator origin so a later check is skipped.
Impact
An attacker could bypass the web accessible resources boundary to fingerprint installed extensions and potentially perform confused deputy or CSRF-style attacks against other extensions whose private pages act on URL parameters or page load; the report notes no live proof-of-concept was run.
What the attacker needed
Attacker installs a malicious extension; victim has a target extension installed; no user interaction beyond normal browsing
The fix
The final return in the redirect check should return false, and the outstanding TODO about verifying web accessible resource access for the recorded extension should be addressed.
How it was found
- The attacker extension creates a redirect rule that sends a trigger URL to a private page of a target extension.
- The attacker extension opens the trigger URL with an API that produces a browser-initiated navigation, so there is no initiator origin.
- The redirect happens and the navigation throttle asks the registry whether the redirect is allowed; the faulty check returns true.
- Because the navigation is browser-initiated, the initiator origin is empty and the throttle proceeds, skipping the second cross-origin check.
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.
Extensions can mark some of their internal pages as private, meaning other extensions and websites should not be able to load them. A check meant to confirm that only the owning extension can redirect to those private pages was written so that it always said yes. That let a malicious extension point the browser at another extension's private page, which could reveal which extensions a person has installed or poke at pages that act on load.
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.