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

Incorrect authorization in WebUI (CVE-2026-113148)

WebUI data sources were resolved by host name alone, ignoring the request scheme, so a compromised devtools:// renderer could request chrome://-only sources such as prefs-internals and extensions-internals. That could let an attacker read user preferences and extension metadata from the browser process.

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: A potential logical vulnerability in URLDataManagerBackend allows WebUI data sources to be resolved purely by host name, ignoring the request's scheme. This can allow a compromised devtools:// renderer to bypass scheme isolation boundaries and request sensitive chrome://-exclusive data sources. Consequently, an attacker could potentially extract user preferences and extension metadata from the browser process.

Affected files:

  • content/browser/webui/url_data_manager_backend.cc
  • content/browser/webui/web_ui_url_loader_factory.cc
  • content/public/browser/url_data_source.cc
  • chrome/browser/ui/webui/prefs_internals_source.cc
  • chrome/browser/ui/webui/extensions/extensions_internals_source.cc

Estimated timestamp from git blame: 2018-03-01

Root Cause Analysis

There is a potential logical security boundary bypass in how WebUI URL data sources are resolved and validated across different schemes in the browser process:

  1. Host-Only Lookup in URLDataManagerBackend: In URLDataManagerBackend::GetDataSourceFromURL (content/browser/webui/url_data_manager_backend.cc), standard (non-chrome-untrusted://) requests are resolved purely by host name, completely ignoring the scheme of the requested URL:

    C++
    // content/browser/webui/url_data_manager_backend.cc
    auto i = data_sources_.find(url.GetHost());
    if (i != data_sources_.end())
      return i->second.get();
    

    As a result, a request targeting devtools://prefs-internals/ or devtools://extensions-internals/ successfully resolves to the browser-registered PrefsInternalsSource or ExtensionsInternalsSource, despite carrying a devtools:// scheme.

  2. Permissive Default Scheme Handling: Neither PrefsInternalsSource nor ExtensionsInternalsSource overrides the ShouldServiceRequest validation check. Consequently, execution falls back to the default implementation in URLDataSource::ShouldServiceRequest (content/public/browser/url_data_source.cc), which explicitly trusts and permits requests from devtools:// (kChromeDevToolsScheme):

    C++
    bool URLDataSource::ShouldServiceRequest(const GURL& url,
                                             BrowserContext* browser_context,
                                             int render_process_id) {
      return url.SchemeIs(kChromeDevToolsScheme) || url.SchemeIs(kChromeUIScheme) ||
             url.SchemeIs(kChromeUIUntrustedScheme);
    }
    
  3. Mojo Loader Factory Configuration: When a devtools:// frame commits navigation, RenderFrameHostImpl::CommitNavigation (content/browser/renderer_host/render_frame_host_impl.cc) instantiates a WebUIURLLoaderFactory for the devtools scheme with an empty allowed_hosts_ filter. Since allowed_hosts_ is empty, the factory allows requests to any host name under that scheme, bypassing host-filtering in CreateLoaderAndStart (content/browser/webui/web_ui_url_loader_factory.cc).

Potential Attack Scenario / Trigger Path

Note: These are suggested/potential steps compiled from static code tracing; our tooling agent does not currently have the capability to run code to verify with a live proof of concept.

  1. A user opens DevTools, resulting in a frame committing navigation to devtools://devtools/bundled/devtools_app.html. The browser grants this renderer process a WebUIURLLoaderFactory bound to the devtools scheme with no host constraints.
  2. An attacker compromises the sandboxed devtools:// renderer process (e.g., via a compromised renderer, DOM-XSS on a remote-hosted DevTools front-end, or a malicious DevTools-extension panel).
  3. The attacker issues a direct Mojo request (or standard asynchronous fetch()) to the registered WebUIURLLoaderFactory targeting devtools://prefs-internals/ or devtools://extensions-internals/.
  4. On the browser side, the WebUIURLLoaderFactory passes scheme validation because the requested scheme matches its own (devtools). The empty allowed_hosts_ check succeeds.
  5. URLDataManagerBackend::GetDataSourceFromURL extracts the host name (e.g., 'prefs-internals') and returns a pointer to the matching PrefsInternalsSource.
  6. The browser checks ShouldServiceRequest, which evaluates to true because the request scheme is 'devtools'.
  7. The browser process executes the data request, compiling sensitive data (user preferences, account details, sync configurations, or extension metadata) and streaming it back to the compromised renderer over the Mojo data pipe.

Security Impact

An attacker in possession of a compromised devtools:// renderer could read highly sensitive configuration and configuration metadata, bypassing renderer sandbox restrictions for data access. Specifically, this leaks:

  • Full user profile preferences (PrefsInternalsSource): including user email addresses, synchronization states, per-origin content settings, and metadata.
  • Extension lists (ExtensionsInternalsSource): leaking installed extensions, permissions, and extension file paths.

Suggested Fix

To prevent scheme-agnostic routing:

  1. Update URLDataManagerBackend::GetDataSourceFromURL to verify that the incoming URL's scheme matches the scheme expected by the resolved URLDataSource.
  2. Or, more restrictively, override ShouldServiceRequest on sensitive internal sources such as PrefsInternalsSource and ExtensionsInternalsSource to return true only if the requested scheme is explicitly chrome:// (kChromeUIScheme), rather than defaulting to the base implementation that permits the devtools:// scheme.

Evaluated with Chrome root at commit: fb72408a8493c46bc75fae1c70d03daec96b3040


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

Likely the data source lookup matched on host name only and the default request check accepted the devtools scheme, so scheme isolation was never enforced.

Impact

An attacker who already controls a devtools renderer could read user preferences and extension metadata, though the report is based on code tracing and was not verified with a live proof of concept.

What the attacker needed

Attacker controls a devtools renderer; user has DevTools open

The fix

The lookup should check that the URL scheme matches the scheme the data source expects, or sensitive sources should only accept the chrome:// scheme.

How it was found

  1. A user opens DevTools, giving that frame a loader factory for the devtools scheme with no host restrictions.
  2. The attacker compromises the sandboxed devtools renderer process.
  3. The attacker sends a request through that factory to an internal data source host such as prefs-internals.
  4. The browser accepts the scheme and the empty host filter, then resolves the data source by host name.
  5. The request check passes because the scheme is devtools, and the data is streamed back to the renderer.

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 separates its internal pages by scheme, the prefix like chrome:// or devtools://, so one kind of page should not read another kind's data. Here the lookup only checked the host name part of the address, so a page from the developer tools scheme could reach internal pages meant only for chrome://. The report is based on reading the code, not on a working demonstration.

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.