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.
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, revision1672557, 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
-
Open
chrome://extensions, enable Developer mode, and load the attachedextensiondirectory. -
Copy its generated extension ID.
-
Open
https://example.com/#PRIVATE_TAB_SECRET_91B74Cin another tab. -
Open the canonical URL:
chrome-extension://<ID>/sandboxed.html -
Observe that the file loads but reports:
{
"runtimeType": "undefined",
"runtimeId": null,
"tabsApiType": "undefined",
"tabsApiSucceeded": false,
"privateTabSeen": false
}
-
Open the case-only alias:
chrome-extension://<ID>/SANDBOXED.HTML -
The same physical file now reports a privileged extension context:
{
"runtimeType": "object",
"runtimeId": "<ID>",
"tabsApiType": "object",
"tabsApiSucceeded": true,
"privateTabSeen": true
}
-
For the complete sandbox-to-privileged transition, open:
chrome-extension://<ID>/sandboxed.html?escape=caseThe initially sandboxed page navigates itself to
/SANDBOXED.HTML?escaped=case; the final page reads the marker tab throughchrome.tabs.query().
MANUAL-STEPS.md contains the same procedure. The automated matrix can be run
after npm install with:
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.ExtensionURLLoaderconverts the request path to aFilePathand opens it from disk.- APFS/Windows resolve
SANDBOXED.HTMLto the existingsandboxed.htmlfile. - 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.runtimeand successfulchrome.tabs.query()access. - The canonical lowercase resource remained sandboxed.
- Lowercase percent-encoded aliases such as
%73andboxed.htmlandsandboxed%2Ehtmlremained 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:
- Reject resource URLs whose path does not exactly match the canonical packaged entry on case-insensitive platforms.
- Resolve the requested resource against the installed extension's canonical file list, then perform all policy checks against that canonical relative path.
- 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
- Chrome's documented sandbox guarantee: https://developer.chrome.com/docs/extensions/how-to/security/sandboxing-eval
- Percent-encoding fix: https://chromium.googlesource.com/chromium/src/+/a6c88df1ea51133a9f9f9dea1691f692c4519065
- Current
Extension::ResourceMatches()implementation: https://chromium.googlesource.com/chromium/src/+/main/extensions/common/extension.cc - Installed-extension wrong-case resource test: https://chromium.googlesource.com/chromium/src/+/main/chrome/browser/extensions/content_verifier_browsertest.cc
- Fixed issue referenced by that commit: 538969297
- Canary tested revision:
main@1672557
Attachments
extension/run-matrix.mjspackage.jsonMANUAL-STEPS.mdevidence/canary-153/summary.jsonevidence/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
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
- Load the provided extension directory in developer mode and copy its extension ID.
- Open a page containing a marker in another tab.
- Open the canonical lowercase sandboxed page and observe it has no extension APIs.
- Open the same page with only the filename capitalisation changed and observe privileged APIs are available.
- 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.