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

Incorrect authorization in Extensions (CVE-2026-113262)

The chrome.cookies.onChanged event dispatch checks only the extension's host permissions and ignores enterprise or user block lists, so an extension with broad host permissions can receive cookie change events from origins that policy has blocked. This could let a restricted extension leak sensitive session tokens.

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.cookies.onChanged event can potentially allow an extension with cookies and host permissions to passively monitor cookie modifications on enterprise-blocked or user-blocked origins. This occurs because the event dispatch system relies on a bare pattern-matching check in EventDispatchHelper::CheckPermissions that does not consult policy-aware or user-restricted filters. This bypass could potentially allow a restricted extension to leak sensitive session tokens.

Affected files:

  • extensions/browser/events/event_dispatch_helper.cc

Estimated timestamp from git blame: 2017-04-17

Root Cause

In extensions/browser/events/event_dispatch_helper.cc, the helper function CheckPermissions acts as the primary host-permission gate during event dispatch. For events associated with a URL (such as cookie changes), it verifies access by calling PermissionSet::HasEffectiveAccessToURL:

C++
if (!event.event_url.is_empty() &&
    event.event_url.GetHost() != extension->id() &&
    !extension->permissions_data()
         ->active_permissions()
         .HasEffectiveAccessToURL(event.event_url)) {
  return false;
}

However, PermissionSet::HasEffectiveAccessToURL (defined in extensions/common/permissions/permission_set.cc) only checks whether the URL is matched by the extension's configured host patterns (e.g. <all_urls>):

C++
bool PermissionSet::HasEffectiveAccessToURL(const GURL& url) const {
  return effective_hosts().MatchesURL(url);
}

This check completely bypasses policy-aware filters such as IsPolicyBlockedHostUnsafe() (enterprise runtime_blocked_hosts policy) and IsUrlBlockedByUser() (user-level block lists), which are only consulted in helper classes like PermissionsData during API method execution. Because of this, while imperative methods like chrome.cookies.get or chrome.cookies.set correctly enforce host-blocking policies, passive event listeners do not.

Potential Attack Scenario

An attacker could potentially exploit this behavior using the following steps:

  1. The attacker publishes a browser extension requesting the "cookies" permission and broad host permissions (such as "<all_urls>").

  2. A user installs the extension in a profile where an enterprise administrator has set the ExtensionSettings policy to block a sensitive target origin (e.g., *://victim.example) via runtime_blocked_hosts.

  3. The extension registers a listener for chrome.cookies.onChanged in its background context:

    JavaScript
    chrome.cookies.onChanged.addListener((changeInfo) => {
      console.log("Leaked cookie modification:", changeInfo);
    });
    
  4. A cookie change occurs on https://victim.example (e.g., during login or session updates).

  5. CookiesEventRouter::OnCookieChange (in chrome/browser/extensions/api/cookies/cookies_api.cc) serializes the new cookie value and constructs an event with event_url set to the cookie's origin.

  6. The browser process routes the event to EventDispatchHelper. Since CheckPermissions only evaluates pattern-matching constraints on active permissions and ignores policy block lists, the check passes.

  7. The event is successfully delivered to the extension's listener, leaking sensitive cookie data (including potential HttpOnly session tokens) from a restricted host.

Note: These steps are suggested and potential; our analysis has been conducted statically as our tooling agent does not have the ability to run code.

Suggested Fix

To remediate this potential bypass, CheckPermissions in extensions/browser/events/event_dispatch_helper.cc should check if the target event_url is blocked by enterprise policy or user-configured block lists. For example:

C++
if (!event.event_url.is_empty() &&
    event.event_url.GetHost() != extension->id()) {
  if (!extension->permissions_data()
           ->active_permissions()
           .HasEffectiveAccessToURL(event.event_url)) {
    return false;
  }
  if (extension->permissions_data()->IsPolicyBlockedHost(event.event_url) ||
      extension->permissions_data()->IsUrlBlockedByUser(event.event_url)) {
    return false;
  }
}

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 event dispatch permission check uses only host pattern matching and does not consult policy-aware or user-configured block lists.

Impact

A restricted extension could passively receive cookie change events from enterprise-blocked or user-blocked origins, potentially leaking sensitive session tokens.

What the attacker needed

Attacker publishes an extension; extension has cookies and broad host permissions; victim installs the extension; enterprise or user block list configured

The fix

The permission check should also reject events whose URL is blocked by enterprise policy or user-configured block lists.

How it was found

  1. The attacker publishes an extension requesting the cookies permission and broad host permissions.
  2. A user installs the extension in a profile where an administrator has blocked a sensitive origin via policy.
  3. The extension registers a listener for chrome.cookies.onChanged.
  4. A cookie change occurs on the blocked origin.
  5. The browser routes the event to the extension, and the permission check passes because it ignores block lists.
  6. The extension receives the cookie change data, including potential HttpOnly session tokens.

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 for permission to see cookies on websites. Administrators can block certain websites so extensions cannot access them. This report says that when a cookie changes, the browser tells the extension about it without checking those block lists, so the extension may learn about cookies on sites it should not see.

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.