Inappropriate implementation in CORS (CVE-2026-8576)
A cross-origin navigation redirect causes CorsURLLoader to reuse stale isolation information, so a victim site's authenticated dictionary is stored in the attacker's storage partition. An attacker could then use a compression side-channel to extract sensitive authenticated data from the victim site.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 49 days
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: A potential vulnerability in CorsURLLoader allows a cross-origin navigation redirect to bypass SharedDictionary storage partitioning. Due to stale isolation information being used after a redirect, an authenticated dictionary from a victim site can be stored in an attacker's partition, enabling a compression-oracle side-channel attack.
Affected files:
services/network/cors/cors_url_loader.ccservices/network/cors/cors_url_loader_factory.cc
Estimated timestamp from git blame: 2026-02-03
Summary
A potential vulnerability in CorsURLLoader allows a cross-site information leak by bypassing SharedDictionary storage partitioning. When a main-frame navigation is redirected (e.g., from an attacker-controlled site to a victim site), the CorsURLLoader is reused but fails to update its isolation information. This results in the victim's authenticated dictionary being stored within the attacker's storage partition.
Technical Details
In services/network/cors/cors_url_loader.cc, the shared_dictionary_storage_ and isolation_info_ members are initialized during construction. For main-frame navigations that involve a redirect (e.g., A.com → 302 → B.com), NavigationURLLoaderImpl reuses the existing CorsURLLoader instance by calling its FollowRedirect method.
While the underlying URLRequest updates its isolation_info correctly during the redirect (via ResourceRequest::UpdateOnRedirect), CorsURLLoader does not update its own isolation_info_ or its shared_dictionary_storage_ handle in FollowRedirect().
If the redirect destination (the victim site, B.com) provides a Use-As-Dictionary header in its response, CorsURLLoader::MaybeCreateWriter (around lines 582-593) uses the stale storage handle. This causes the victim's authenticated response body to be written into the dictionary storage keyed by the attacker's isolation information (e.g., top-frame and frame origin set to A.com).
Potential Attack Scenario
Note: These steps describe a potential attack path; our setup has not executed a working proof of concept.
- An attacker-controlled page at
https://attacker.exampletriggers a top-level navigation tohttps://attacker.example/redirect. - The server responds with a 302 redirect to
https://victim.example/page, an authenticated endpoint containing sensitive data. - The browser reuses the
CorsURLLoader, which retains the isolation context (isolation_info_andshared_dictionary_storage_) ofattacker.example. https://victim.example/pageresponds with its authenticated content and aUse-As-Dictionaryheader. The dictionary is incorrectly stored in theattacker.examplepartition because of the stale storage handle.- Later, the attacker's page performs a CORS
fetch()tohttps://victim.exampleinno-corsmode. - The
SharedDictionaryNetworkTransactionderives the isolation key forattacker.example, finds the misplaced dictionary, and includes theAvailable-Dictionaryheader (containing the SHA-256 of the victim's authenticated body) in the request. - If the victim site supports dictionary-based compression (dcb/dcz) and has an endpoint that reflects user input, the attacker can use a compression-ratio side channel (similar to a BREACH attack) to probe and extract the content of the victim's authenticated body stored in the dictionary.
Additionally, the SharedDictionaryAccessChecker uses the stale isolation_info_ for cookie-setting checks, which may lead to further security policy bypasses.
Impact
This issue results in a storage partition bypass and a cross-origin information leak. An attacker can potentially extract sensitive, authenticated data from a victim site that utilizes Shared Dictionaries and dictionary-compressed responses.
Suggested Fix
In CorsURLLoader::FollowRedirect, the isolation_info_ member should be updated to match the new origin after a redirect (similar to how request_.trusted_params->isolation_info is updated). Additionally, a new SharedDictionaryStorage handle should be fetched from the SharedDictionaryManager using the updated isolation key, replacing the stale shared_dictionary_storage_ member variable.
Evaluated with Chrome root at commit: bb48272cafb7e24c93f55ef40da398cd206ee651
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. Please feel free to reach out to me if you have concerns or feedback.
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, CorsURLLoader does not update its isolation_info_ or shared_dictionary_storage_ handle when following a redirect, so it uses the original attacker origin's storage partition for the redirected victim response.
Impact
This results in a storage partition bypass and a cross-origin information leak, and an attacker could potentially extract sensitive authenticated data from a victim site that uses Shared Dictionaries and dictionary-compressed responses.
What the attacker needed
Victim site uses Shared Dictionaries; victim site supports dictionary compression; victim site has an endpoint reflecting input; attacker can trigger a redirect
The fix
In CorsURLLoader::FollowRedirect, the isolation_info_ should be updated to match the new origin after a redirect, and a new SharedDictionaryStorage handle should be fetched using the updated isolation key.
How it was found
- An attacker page triggers a top-level navigation to a redirect endpoint on the attacker's site.
- The server responds with a 302 redirect to an authenticated victim page.
- The browser reuses the CorsURLLoader, which keeps the attacker's isolation context.
- The victim page responds with authenticated content and a Use-As-Dictionary header, and the dictionary is stored in the attacker's partition.
- The attacker's page later performs a no-cors fetch to the victim site.
- The misplaced dictionary is found and its hash is sent in an Available-Dictionary header, enabling a compression-ratio side channel to probe the victim's authenticated body.
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 you visit a website, your browser keeps some data separate for each site so one site cannot read another's private information. Here, after a redirect, the browser mistakenly saved a victim site's private data under the attacker's name. The attacker could then use a trick based on file compression to guess what that private data contains.
What is CORS?
A permissive cross-origin policy lets another site read responses with the user's credentials.