Missing authorization in Network (CVE-2026-106267)
A logic flaw in Chrome's prefetch URL loader allows a compromised renderer to reuse a recursive_prefetch_token generated for one origin on a request to another origin, bypassing network partitioning and potentially accessing partitioned cookies. The tokens are also stored without bounds, enabling a memory exhaustion denial of service.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 6 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 without the security team.
Overview: A logic flaw in Chrome's prefetch URL loader allows a compromised renderer to use a recursive_prefetch_token to bypass network partitioning. By attaching a token generated for one origin to a request destined for another, an attacker can access partitioned cookies or cache data. Furthermore, the unbounded storage of these tokens in the browser process enables a potential memory exhaustion DoS.
Affected files:
content/browser/loader/prefetch_url_loader_service_context.cccontent/browser/loader/prefetch_url_loader.cc
Estimated timestamp from git blame: 2024-08-21
Summary
A vulnerability in Chrome's recursive prefetch implementation allows a compromised renderer process to bypass Site Isolation network partitioning. By generating a recursive_prefetch_token for a victim origin and then reusing that token on a request to an arbitrary, attacker-controlled origin, an attacker can force the browser to use the IsolationInfo of the victim origin. This enables cross-site data access, such as reading partitioned cookies (CHIPS). Additionally, the tokens are stored indefinitely without bounds checking, allowing a compromised renderer to trigger a browser-process Out-Of-Memory (OOM) crash.
Technical Details
1. Site Isolation Bypass (Origin Confusion)
When the browser handles a restricted cross-origin prefetch, it generates a recursive_prefetch_token in PrefetchURLLoaderServiceContext::GenerateRecursivePrefetchToken. This token, paired with an IsolationInfo locked to the prefetch's destination origin, is stored in the prefetch_isolation_infos map within the browser process, and the token is returned to the renderer.
When a compromised renderer sends a new prefetch request containing this recursive_prefetch_token, the browser retrieves the IsolationInfo and applies it to the new request in PrefetchURLLoaderServiceContext::CreatePrefetchLoaderAndStart:
// content/browser/loader/prefetch_url_loader_service_context.cc:114
} else if (resource_request.recursive_prefetch_token) {
// ...
auto isolation_info_iterator =
current_context.prefetch_isolation_infos.find(
resource_request.recursive_prefetch_token.value());
// ...
resource_request.trusted_params = network::ResourceRequest::TrustedParams();
resource_request.trusted_params->isolation_info =
isolation_info_iterator->second;
network_loader_factory_to_use = current_context.cross_origin_factory;
}
The vulnerability exists because the browser blindly assigns the resurrected IsolationInfo without verifying that the new resource_request.url matches the origins stored within that IsolationInfo. A compromised renderer can obtain a token for victim.com and attach it to a prefetch destined for attacker.com. The network service will then dispatch the request to attacker.com using the IsolationInfo and network partition of victim.com, attaching any of the attacker's partitioned cookies that are stored under the victim's context.
2. Browser Process OOM (Denial of Service)
The prefetch_isolation_infos map is defined as std::map<base::UnguessableToken, net::IsolationInfo> inside SubresourceProxyingURLLoaderService::BindContext.
Every time a restricted prefetch triggers GenerateRecursivePrefetchToken, a new entry is blindly inserted into this map (content/browser/loader/prefetch_url_loader_service_context.cc:287). There is no maximum size limit, TTL, or eviction logic for these entries. A compromised renderer can continuously initiate restricted prefetches to unique URLs, causing the map to grow indefinitely until the browser process exhausts available memory.
Potential Steps to Reproduce
Note: These are suggested steps based on source code analysis; a full Proof-of-Concept has not been run.
- An attacker compromises a sandboxed renderer process (e.g., via a V8 exploit) on
https://attacker.com. - The compromised renderer crafts a
network::ResourceRequesttohttps://victim.com/target_resourcewithload_flagsset tonet::LOAD_RESTRICTED_PREFETCH_FOR_MAIN_FRAME | net::LOAD_PREFETCH. - The renderer sends this via the
URLLoaderFactoryMojo interface. The browser processes it and returns anUnguessableToken(recursive_prefetch_token) bound tovictim.com'sIsolationInfo. - The renderer extracts the token and crafts a second prefetch request, this time destined for
https://attacker.com/steal_cookies. - The renderer attaches the extracted
recursive_prefetch_tokento this second request. - The browser receives the request, takes the
else if (resource_request.recursive_prefetch_token)branch, and assignsvictim.com'sIsolationInfoto the request toattacker.com. - The Network Service routes the request to
attacker.comusingvictim.com's network partition, exposing partitioned cookies (CHIPS).
Suggested Fix
- Enforce Origin Matching: In
PrefetchURLLoaderServiceContext::CreatePrefetchLoaderAndStart, when handling arecursive_prefetch_token, explicitly verify thaturl::Origin::Create(resource_request.url)matches the expected origin(s) stored within the resurrectedIsolationInfo. - Mitigate OOM: Implement a reasonable size cap (e.g., LRU cache) and/or an expiration mechanism (TTL) for the
prefetch_isolation_infosmap to prevent unbounded growth.
Evaluated with Chrome root at commit: a79fb35f774128179732608bb342f988ebe71378
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.
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 browser fails to verify that the URL of a new prefetch request matches the origin stored in the reused recursive_prefetch_token's IsolationInfo, and it stores tokens without any size limit or expiration.
Impact
A compromised renderer could read partitioned cookies (CHIPS) belonging to another origin, and could also cause a browser-process out-of-memory crash by creating unlimited tokens.
What the attacker needed
Compromised renderer process; ability to send prefetch requests
The fix
The report suggests enforcing origin matching when handling a recursive_prefetch_token and adding a size cap or expiration to the token map; it does not state that a fix was applied.
How it was found
- Compromise a sandboxed renderer process on an attacker-controlled origin.
- Craft a restricted prefetch request to a victim origin and receive a recursive_prefetch_token bound to that origin.
- Craft a second prefetch request to an attacker-controlled origin and attach the token.
- The browser applies the victim origin's IsolationInfo to the attacker request, exposing partitioned cookies.
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 tries to keep websites separate so one site cannot read another site's data. This report found a way for a malicious website that has already taken over part of the browser to trick Chrome into mixing up which website a request belongs to, potentially letting it read cookies meant for another site. It could also crash the browser by filling up memory.
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.