Skip to content
Info disclosure Advisory Advanced CVE-2026-11126

Insufficient validation of untrusted input in DevTools (CVE-2026-11126)

The DevTools Tracing.start command's process filter can be bypassed by a malicious extension with the debugger permission, allowing it to capture trace data from all Chrome processes. This leads to cross-origin information leaks.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 54 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: A malicious extension with the debugger permission attached to a tab target can bypass TracingHandler's process filters by providing a crafted perfettoConfig. This allows the extension to capture trace data from all Chrome processes, leading to cross-origin information leaks.

Affected files:

  • content/browser/devtools/protocol/tracing_handler.cc
  • chrome/browser/extensions/api/debugger/debugger_api.cc

Estimated timestamp from git blame: 2022-11-30

Summary

The DevTools Tracing.start command accepts a raw perfettoConfig argument (a base64-encoded protobuf). For non-browser DevTools sessions (like a debugger attached to a specific tab), TracingHandler::Start attempts to restrict data collection to only the processes associated with that target. It does this by calling AddPidsToProcessFilter to apply a PID filter to the trace configuration.

However, multiple logic flaws in AddPidsToProcessFilter allow an attacker to bypass these restrictions entirely and capture trace data from all Chrome processes (including the browser process, GPU process, and cross-origin renderers), resulting in a cross-origin information leak.

Vulnerability Details

The implementation of AddPidsToProcessFilter in content/browser/devtools/protocol/tracing_handler.cc contains three distinct bypass vectors:

  1. Regex Filter Injection: The filtering logic only appends allowed PIDs to the producer_name_filter field of the track_event data source config. It does not inspect or clear the producer_name_regex_filter field, which is also attacker-controlled in the raw protobuf. Because Perfetto's NameMatchesFilter evaluates a match if either the exact-match list or the regex matches, an attacker can provide a regex such as .* to effectively nullify the PID allowlist.

  2. Duplicate track_event Bypass: The loop that iterates through the configuration's data sources contains a break; statement immediately after applying the PID filter to the first track_event data source it encounters. An attacker can provide a config with multiple track_event entries; only the first will be restricted, while all subsequent track_event entries will be left completely unfiltered, allowing them to capture data globally.

  3. Non-track_event Data Source Bypass: The function only attempts to apply PID filters to data sources explicitly named track_event. Other Chrome data sources, such as org.chromium.sampler_profiler or org.chromium.memory_instrumentation, are skipped by this loop. Because the Perfetto service interprets an empty filter list as "allow all producers," these data sources will capture data across all processes.

Potential Reproduction Steps

(Note: These are suggested steps based on source code analysis. We do not currently have a capability to run exploit code.)

  1. Create a Chrome extension and declare the debugger permission in manifest.json.
  2. The extension attaches to an allowed tab (e.g., a standard web page) using chrome.debugger.attach({tabId: <target-id>}, '1.3').
  3. Craft a perfetto::TraceConfig protobuf payload containing:
    • A track_event data source with producer_name_regex_filter: ".*"
    • A second track_event data source.
    • A data source named org.chromium.sampler_profiler.
  4. Serialize the payload to a binary string and base64-encode it.
  5. Send the DevTools command: chrome.debugger.sendCommand({tabId: <target-id>}, 'Tracing.start', {perfettoConfig: <base64_payload>, transferMode: 'ReturnAsStream', streamFormat: 'proto'}).
  6. After a delay, send Tracing.end and read the resulting stream via IO.read.
  7. The resulting trace data will contain packets from all Chrome PIDs, demonstrating the bypass of the tab target's isolation boundaries.

Suggested Fix

In content/browser/devtools/protocol/tracing_handler.cc's AddPidsToProcessFilter:

  • Remove the break; statement so that all data sources are evaluated.
  • Expand the check from just kTrackEventDataSourceName to apply the PID filter to all data sources (or at least all data sources where IsChromeDataSource is true).
  • Ensure that source_config->clear_producer_name_regex_filter(); is called on all evaluated data sources to prevent attacker-provided regexes from overriding the explicit PID list.

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 process filter function only restricts the first track_event data source and ignores other data sources and regex filters, allowing an attacker to bypass the intended PID allowlist.

Impact

An attacker could capture trace data from all Chrome processes, leading to cross-origin information leaks.

What the attacker needed

Malicious extension with debugger permission; victim installs the extension

The fix

The fix should remove the break statement, apply the PID filter to all data sources, and clear the producer_name_regex_filter.

How it was found

  1. Create a Chrome extension with the debugger permission.
  2. Attach the extension to a tab using chrome.debugger.attach.
  3. Craft a perfettoConfig with a track_event data source using a regex filter, a second track_event data source, and a non-track_event data source.
  4. Base64-encode the serialized protobuf.
  5. Send Tracing.start with the crafted config.
  6. Send Tracing.end and read the stream to obtain trace data from all processes.

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 extension can ask for a special permission to debug a tab. The code that limits debugging to just that tab has mistakes, so the extension can see data from other tabs and the browser itself. This means private information from other websites could leak.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.