Inappropriate implementation in DevTools (CVE-2026-11238)
The Chrome DevTools Protocol Tracing domain leaks raw browser-process heap addresses to untrusted clients because the processPseudoId field is populated with the raw pointer value of a RenderProcessHost. An untrusted extension with the debugger permission can capture these events during cross-origin navigations, resulting in a deterministic browser-process ASLR bypass.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 2 months
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: The Chrome DevTools Protocol (CDP) Tracing domain leaks raw browser-process RenderProcessHost heap addresses to untrusted clients. This occurs because the processPseudoId field in trace events is populated using the raw pointer value of the host. An untrusted extension with the debugger permission can capture these events during cross-origin navigations, resulting in a deterministic browser-process ASLR bypass.
Affected files:
content/browser/devtools/protocol/tracing_handler.cccontent/browser/devtools/render_frame_devtools_agent_host.cccontent/browser/devtools/web_contents_devtools_agent_host.cc
Estimated timestamp from git blame: 2024-02-06
Description
The Chrome DevTools Protocol (CDP) TracingHandler leaks raw heap addresses from the highly privileged browser process.
In content/browser/devtools/protocol/tracing_handler.cc, the helper function GetProcessHostHex formats a raw RenderProcessHost* as a hexadecimal string:
std::string GetProcessHostHex(RenderProcessHost* host) {
return base::StringPrintf("0x%" PRIxPTR, reinterpret_cast<uintptr_t>(host));
}
During a cross-origin navigation that requires a process switch, a new RenderProcessHost is provisioned. While its underlying OS process is launching asynchronously, process_handle.IsValid() temporarily returns false. If trace events (such as FrameCommittedInBrowser or ProcessReadyInBrowser) are generated during this window, FillFrameData uses GetProcessHostHex to populate the processPseudoId field with the raw browser-process heap address.
Crucially, untrusted DevTools clients (like Chrome Extensions with the debugger permission) are explicitly granted access to the TracingHandler. In content/browser/devtools/devtools_session.h, protocol::TracingHandler is whitelisted in IsDomainAvailableToUntrustedClient<T>(). This allows an extension to deterministically bypass Address Space Layout Randomization (ASLR) in the browser process, providing a powerful primitive for a sandbox escape chain.
Potential Steps to Trigger
(Note: These are suggested steps based on code analysis, as the Flapjack LLM agent does not yet have the ability to run code or execute a live proof of concept.)
- Install Malicious Extension: An attacker installs a Chrome extension possessing the
debuggerpermission. - Attach to Tab: The extension calls
chrome.debugger.attach({tabId: target_tab}, "1.3")to attach to an active page. - Start Tracing: The extension sends the
Tracing.startCDP command with thedisabled-by-default-devtools.timelinecategory. - Trigger Process Switch: The extension initiates a cross-origin navigation in the attached tab (e.g., via
chrome.tabs.update), forcing the creation of a newRenderProcessHost. - Capture the Leak: As the navigation commits before the OS process is fully ready, the browser emits a
FrameCommittedInBrowsertrace event containing the rawRenderProcessHost*address in theprocessPseudoIdfield. - Extract Pointer: The extension parses the DevTools event stream, reads the
processPseudoIdvalue, and uses the leaked heap pointer to bypass browser-process ASLR.
Suggested Fix
Do not use raw memory addresses as identifiers. Instead, use a safe, unique identifier.
A robust fix would be to modify GetProcessHostHex (or remove it entirely) and use the RenderProcessHost's internal ID (host->GetID()) or generate a base::UnguessableToken specifically for pending processes, mapping it to the eventual OS PID when the process becomes ready.
Evaluated with Chrome root at commit: False
Results from Fortify so far have been promising, but it can be wrong in its deductions. At this time, it does not produce proof of concepts or fuzzer tests. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve Fortify’s accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
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 code uses a raw memory pointer as a pseudo-identifier for a process that is not yet fully started, instead of a safe unique ID.
Impact
An untrusted extension with the debugger permission could deterministically bypass browser-process ASLR, providing a primitive for a sandbox escape chain.
What the attacker needed
Chrome extension with debugger permission; victim visits a page the extension can attach to; cross-origin navigation occurs
The fix
The code should use a safe unique identifier such as the RenderProcessHost's internal ID or an unguessable token instead of a raw memory address.
How it was found
- Install a Chrome extension that has the debugger permission.
- Attach the extension to a target tab using the debugger API.
- Start tracing with a specific DevTools category.
- Trigger a cross-origin navigation in the attached tab to force a process switch.
- Capture the trace event that contains the leaked process address.
- Read the processPseudoId value to obtain the heap pointer.
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.
When a web browser starts a new process for a website, it sometimes writes the memory address of that process into debugging information. Normally, memory addresses are hidden because knowing them helps attackers bypass a security feature called ASLR that randomises memory locations. Here, a browser extension with special debugging rights can read those addresses, which could help an attacker take over the browser.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.