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

Incorrect authorization in Extensions (CVE-2026-87544)

Chrome's extension sandbox policy matched sandbox.pages URLs case-sensitively, but the file loader on macOS and Windows opened files case-insensitively, so a wrong-case alias of a sandboxed page loaded as a normal privileged extension page. An attacker-controlled script in the sandbox could navigate to the alias and regain chrome.runtime and chrome.tabs, reading another tab's title and URL.

antoniosmr02 Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 36 days

Report description

sandbox.pages bypass via case-insensitive extension resource aliases exposes privileged APIs


Bug location

Where do you want to report your vulnerability?

Chrome VRP – Report security issues affecting the Chrome browser. See program rules


The problem

Please describe the technical details of the vulnerability

Summary

Chrome decides whether an extension resource listed in sandbox.pages should receive a unique origin and no extension APIs by matching its URL path against a case-sensitive URLPattern. On macOS and Windows, the extension resource loader opens files through a case-insensitive filesystem.

As a result, sandboxed.html and SANDBOXED.HTML load the same physical file, but only the lowercase URL is recognized as sandboxed. The uppercase alias is hosted as a normal privileged extension page and receives the extension's chrome.* APIs.

The attached PoC demonstrates that code starting on the canonical sandboxed resource can navigate to the case-only alias, regain chrome.runtime and chrome.tabs, and read the title and URL of an unrelated browser tab.

This still reproduces in Chrome for Testing Canary 153.0.7989.0, revision 1672557. That revision includes the recent percent-encoding fix at main@1671293 for issue 538969297, so this is a bypass of the current fix rather than the already-fixed %2E case.

Tested versions

  • Google Chrome Stable 150.0.7871.183 (Official Build), macOS arm64
  • Chrome for Testing Stable 150.0.7871.124, macOS arm64
  • Chrome for Testing Canary 153.0.7989.0, revision 1672557, macOS arm64
  • macOS default case-insensitive APFS filesystem

Chromium's installed-extension content-verifier browser test also explicitly states that wrong-case extension resource paths load successfully on macOS and Windows, including an extension installed through the Web Store test path.

Steps to reproduce

  1. Open chrome://extensions, enable Developer mode, and load the attached extension directory.

  2. Copy its generated extension ID.

  3. Open https://example.com/#PRIVATE_TAB_SECRET_91B74C in another tab.

  4. Open the canonical URL:

    chrome-extension://<ID>/sandboxed.html

  5. Observe that the file loads but reports:

JSON
{
  "runtimeType": "undefined",
  "runtimeId": null,
  "tabsApiType": "undefined",
  "tabsApiSucceeded": false,
  "privateTabSeen": false
}
  1. Open the case-only alias:

    chrome-extension://<ID>/SANDBOXED.HTML

  2. The same physical file now reports a privileged extension context:

JSON
{
  "runtimeType": "object",
  "runtimeId": "<ID>",
  "tabsApiType": "object",
  "tabsApiSucceeded": true,
  "privateTabSeen": true
}
  1. For the complete sandbox-to-privileged transition, open:

    chrome-extension://<ID>/sandboxed.html?escape=case

    The initially sandboxed page navigates itself to /SANDBOXED.HTML?escaped=case; the final page reads the marker tab through chrome.tabs.query().

MANUAL-STEPS.md contains the same procedure. The automated matrix can be run after npm install with:

Bash
node run-matrix.mjs "/absolute/path/to/Google Chrome for Testing" artifacts

Root cause

The recent fix changed Extension::ResourceMatches() to percent-decode a URL into a relative FilePath before applying URLPatternSet::MatchesURL(). This aligns %2E and similar encodings, but it does not canonicalize aliases that the platform filesystem treats as the same path.

The relevant mismatch is:

  • URLPattern::MatchesPath() uses case-sensitive string pattern matching.
  • ExtensionURLLoader converts the request path to a FilePath and opens it from disk.
  • APFS/Windows resolve SANDBOXED.HTML to the existing sandboxed.html file.
  • The security policy therefore sees a non-sandboxed URL while the loader serves the manifest-declared sandbox resource.

A second direct-navigation variant uses a double leading slash. The policy path is resolved as a URL authority and fails to match, while the file conversion drops all leading slashes and opens sandboxed.html. The casing variant is the primary report because it also completes the self-navigation impact flow.

Mutation results

In Canary 153 after the percent-encoding fix:

  • 18/18 wrong-case aliases loaded the same resource with chrome.runtime and successful chrome.tabs.query() access.
  • The canonical lowercase resource remained sandboxed.
  • Lowercase percent-encoded aliases such as %73andboxed.html and sandboxed%2Ehtml remained sandboxed, confirming the existing fix works.
  • Dot-segment, query, and fragment controls remained sandboxed.
  • A double-leading-slash direct alias was also privileged.
  • The canonical-to-uppercase self-navigation completed and read the marker tab.

Stable 150 produced the same casing results and also remained vulnerable to the older percent-encoding variants, as expected.

Full results are attached in evidence/*/summary.json.

Suggested fix

Use one canonical extension-resource identity for sandbox, CSP, process/API, web-accessible-resource, content-verification, and file-loading decisions. Possible approaches are:

  1. Reject resource URLs whose path does not exactly match the canonical packaged entry on case-insensitive platforms.
  2. Resolve the requested resource against the installed extension's canonical file list, then perform all policy checks against that canonical relative path.
  3. Avoid resolving a path beginning with // as a URL authority before policy matching, or reject such extension resource paths consistently in the loader.

Add installed-extension regression tests on macOS and Windows for wrong-case sandbox.pages URLs and tests for multiple leading slashes.

Supporting public changes

Attachments

  • extension/
  • run-matrix.mjs
  • package.json
  • MANUAL-STEPS.md
  • evidence/canary-153/summary.json
  • evidence/official-stable-150/summary.json
  • canonical and escaped screenshots for both builds

Impact analysis

Security impact

Chrome's extension sandbox is intended for code that requires relaxed CSP, including inline script, eval(), and third-party content. Chrome documents two essential guarantees for pages listed in sandbox.pages: a unique origin and no access to extension APIs.

The alias bypass removes both protections. Any attacker-controlled code path that can select or navigate the sandbox resource alias can execute in the extension's privileged context and use the permissions already granted to that extension. The PoC uses the tabs permission and proves disclosure of a separate tab's title and URL; extensions with stronger permissions expose a correspondingly larger impact.

The PoC's web_accessible_resources: ["*"] and custom sandbox CSP provide a standalone route from the sandbox document to the alias. They are valid extension configurations, not Chrome command-line switches or disabled security features. Without that route, privileged extension code can still load the wrong-case URL directly.


The cause

What version of Chrome have you found the security issue in?

oficial 150.0.7871.183

Is the security issue related to a crash?

No, it is not related to a crash.

Choose the type of vulnerability

Permissions Bypass

How would you like to be publicly acknowledged for your report?

yes

The original report as published on the Chromium issue tracker, by antoniosmr02. 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 sandbox policy compared URL paths case-sensitively while the platform filesystem resolved them case-insensitively, so policy and file loading disagreed about which resource was being served.

Impact

Code in a sandboxed extension page could regain the extension's privileged APIs and use its granted permissions, for example reading the title and URL of an unrelated tab; the impact grows with stronger permissions, and the bypass works on macOS and Windows but relies on a case-insensitive filesystem.

What the attacker needed

Chrome on macOS or Windows; An installed extension with sandbox.pages; Attacker-controlled code in the sandbox page

The fix

The report suggests resolving the requested resource to a canonical packaged path and performing all policy checks against that canonical path, rejecting wrong-case and multiple-leading-slash paths on case-insensitive platforms, plus regression tests.

How it was found

  1. Load the provided extension directory in developer mode and copy its extension ID.
  2. Open a page containing a marker in another tab.
  3. Open the canonical lowercase sandboxed page and observe it has no extension APIs.
  4. Open the same page with only the filename capitalisation changed and observe privileged APIs are available.
  5. Open the sandboxed page with the escape parameter and watch it navigate itself to the uppercase alias, which then reads the marker tab.

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 pages as 'sandboxed', meaning they run in an isolated place with no access to the extension's special powers. Chrome checked the page address with exact letter matching, but the operating system's file lookup ignores letter case, so the same file reached through different capitalisation was treated as an ordinary, fully powered extension page. That let code escape the sandbox and use the extension's permissions.

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 by antoniosmr02

View all

1 more disclosed report, best first.

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.