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

Insufficient policy enforcement in Extensions (CVE-2026-11168)

The metricsPrivate.getHistogram API was exposed to chrome-untrusted:// contexts due to a missing explicit feature restriction, allowing a compromised renderer to fetch process-global UMA histogram data. An attacker with renderer code execution could fingerprint user activity across all origins, including Incognito mode.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 51 days

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 without the Chrome Security team.

Overview: The metricsPrivate.getHistogram API is inadvertently exposed to several chrome-untrusted:// contexts due to missing explicit feature restrictions. A compromised renderer can call this API to fetch process-global UMA histogram data, bypassing profile isolation. This allows an attacker to fingerprint user activity across all origins, including Incognito mode.

Affected files:

  • extensions/common/api/_api_features.json
  • extensions/browser/api/metrics_private/metrics_private_api.cc
  • extensions/browser/extension_function_dispatcher.cc
  • content/browser/metrics/histogram_synchronizer.cc

Estimated timestamp from git blame: 2025-12-01

Summary

An overly broad API grant in extensions/common/api/_api_features.json exposes the metricsPrivate.getHistogram function to several chrome-untrusted:// origins. Because chrome-untrusted:// surfaces handle untrustworthy content and are treated as potentially compromised, exposing an API that retrieves global browser state allows an attacker with renderer code execution to leak sensitive information that crosses Site Isolation and profile boundaries.

Technical Details

In extensions/common/api/_api_features.json, a ComplexFeature entry for metricsPrivate grants the namespace to contexts: ["webui_untrusted"] for a list of chrome-untrusted:// URLs (e.g., media-app, lens-overlay, boca-app).

The developer's intent was likely to restrict child methods using the "default_parent": true block, which restricts access to privileged_extension. However, default_parent is only processed at compile time by feature_compiler.py for explicitly listed child features. Because metricsPrivate.getHistogram is entirely omitted from the feature JSON files, it bypasses this compile-time logic.

At runtime, when the renderer's API bindings check if metricsPrivate.getHistogram is available, ExtensionAPI::IsAvailable falls back to querying the parent metricsPrivate namespace. Since metricsPrivate is a ComplexFeature, its availability check returns true if any of its underlying rules match. Thus, the webui_untrusted rule satisfies the check, and the browser's ExtensionFunctionDispatcher grants permission.

When metricsPrivate.getHistogram is called, MetricsPrivateGetHistogramFunction::Run() performs the following actions:

  1. Calls content::FetchHistogramsAsynchronously(), which uses HistogramSynchronizer and HistogramController to broadcast a collection request to all live child processes (renderers, GPU, etc.).
  2. The returned data is merged synchronously into the browser process's global base::StatisticsRecorder.
  3. The requested histogram's sum and bucket counts are returned to the caller.

Because histograms in Chromium are process-global, they are not partitioned by profile. The returned data aggregates samples from all regular and Incognito profiles.

Potential Exploitation Steps

(Note: These are suggested steps; our tooling agent does not yet execute code to provide a working PoC.)

  1. An attacker gains arbitrary code execution in a chrome-untrusted:// renderer (e.g., by exploiting a Blink vulnerability triggered via a malicious file in the Media App).
  2. From the compromised renderer context, the attacker executes JavaScript: chrome.metricsPrivate.getHistogram('Blink.UseCounter.Features', (res) => { ... });.
  3. The browser process fetches global histogram data and returns it to the attacker.
  4. By repeatedly polling sensitive histograms (such as network error codes, password manager metrics, or Blink use counters) and observing the deltas between counts, the attacker can precisely track user activity, infer visited cross-origin websites, and monitor Incognito mode behavior.

Suggested Fix

Explicitly define metricsPrivate.getHistogram in extensions/common/api/_api_features.json to restrict its contexts to privileged_extension (and possibly specific WebUIs that genuinely need it). Alternatively, add an explicit validation check in MetricsPrivateGetHistogramFunction::Run to ensure the caller has the necessary permissions or an associated extension ID.

Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b


Results 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.

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 metricsPrivate.getHistogram child method was omitted from the feature JSON, so the parent namespace's broad webui_untrusted rule was used at runtime instead of the intended privileged_extension restriction.

Impact

An attacker with renderer code execution could track user activity, infer visited cross-origin websites, and monitor Incognito mode behaviour.

What the attacker needed

Code execution in a chrome-untrusted:// renderer

The fix

The report suggests explicitly defining metricsPrivate.getHistogram to restrict its contexts to privileged_extension, or adding a permission check in the function.

How it was found

  1. Gain arbitrary code execution in a chrome-untrusted:// renderer.
  2. Call chrome.metricsPrivate.getHistogram from the compromised renderer.
  3. The browser fetches global histogram data and returns it.
  4. Poll sensitive histograms and observe deltas to track user activity.

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.

A browser feature meant only for trusted extensions was accidentally made available to less trusted web pages. If an attacker could run their own code in one of those pages, they could read statistics about everything the browser has done, even in private browsing mode.

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.