Inappropriate implementation in Site Isolation (CVE-2026-17779)
The network process and the renderer process disagree on which Content-Type value to use when a response carries several of them, so a response can be classified as a safe type by Opaque Response Blocking while the renderer sees a sensitive type. An attacker could get sensitive cross-origin data into renderer memory, where a side-channel attack might read it.
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. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A discrepancy between how the network process and the renderer process parse multiple Content-Type headers allows attackers to potentially bypass Opaque Response Blocking (ORB). By appending a safelisted MIME type to a sensitive response, an attacker can trick ORB into allowing cross-origin data into the renderer process memory, where it remains vulnerable to side-channel attacks.
Affected files:
net/http/http_response_headers.ccthird_party/blink/renderer/platform/network/http_parsers.ccservices/network/orb/orb_impl.ccnet/http/http_util.ccnet/http/http_stream_parser.ccnet/spdy/spdy_http_utils.ccthird_party/blink/renderer/platform/loader/fetch/resource_response.ccthird_party/blink/renderer/platform/loader/fetch/resource_loader.cc
Estimated timestamp from git blame: Unknown (Google3 checkout)
Description
There is a potential differential in how Chromium's network stack (net/) and the Blink rendering engine extract the MIME type from HTTP responses containing multiple Content-Type values. This inconsistency can be leveraged to bypass Opaque Response Blocking (ORB), a security mechanism designed to prevent sensitive cross-origin data from entering a renderer process's memory (as a defense against Spectre side-channel attacks).
Root Cause Analysis
-
Network Process (Last-wins): In
net/http/http_response_headers.cc, theGetMimeTypeAndCharsetmethod iterates through allContent-Typeheaders. BecauseContent-Typeis not marked as a non-coalescing header, the network stack splits comma-separated values and processes them sequentially. TheHttpUtil::ParseContentTypemethod overwrites themime_typeresult for every valid segment encountered. Consequently, the network layer adopts a 'last valid segment wins' strategy. This is the value used by ORB to make its blocking decision. -
Blink Renderer (First-wins): When headers are synchronized to the renderer, Blink's
ExtractMIMETypeFromMediaType(inthird_party/blink/renderer/platform/network/http_parsers.cc) extracts the MIME type. However, this parser explicitly breaks at the first comma or semicolon it encounters. Thus, Blink effectively employs a 'first valid segment wins' strategy. -
Lack of Validation: Unlike
Content-LengthorLocation, the network stack does not currently enforce that multipleContent-Typeheaders must be identical or unique, allowing this differential to persist.
Potential Security Impact
An attacker can exploit this by ensuring a sensitive cross-origin response (e.g., application/json) also includes a trailing safelisted MIME type (e.g., text/css).
- ORB (Network Process): Sees the last value (
text/css), classifies it as an opaque-safelisted type, and allows the response body to be delivered to the renderer process without body sniffing. - Blink (Renderer Process): Sees the first value (
application/json). If the resource was loaded as a stylesheet (<link rel="stylesheet">),ResourceLoader::CheckResponseNosniffwill block the load because the MIME type is nottext/css.
Crucially, although the renderer blocks the interpretation of the data, the sensitive bytes have already crossed the process boundary and reside in the renderer's memory. A compromised renderer or a Spectre gadget can then be used to read this data from the process address space.
Suggested Potential Reproduction Steps
- Set up a cross-origin server that responds with the following headers and a sensitive body:
Content-Type: application/json X-Content-Type-Options: nosniff Content-Type: text/css - From an attacker origin, attempt to load this resource as a stylesheet:
<link rel="stylesheet" href="...">. - Monitor the load via
chrome://net-exportto confirm that ORB allows the response (Decision::kAllow) due to thetext/cssclassification. - Confirm via the DevTools console that Blink blocks the stylesheet because its internal parsing identifies the type as
application/json. - At this point, the JSON data resides in the renderer's memory, bypassing ORB's isolation guarantee.
Suggested Fix
- Align Blink's
ExtractMIMETypeFromMediaTypewith the Fetch specification's 'last-wins' approach for MIME type extraction. - Consider implementing a check in
net/http/http_stream_parser.ccornet/spdy/spdy_http_utils.ccto reject responses with multiple inconsistentContent-Typeheaders, similar to the existing checks forContent-LengthandLocation.
Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a
Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:
- If you are familiar with the severity guidelines, you may adjust the severity.
- If this is a false positive, and there's no work to be done, please close as WAI.
- If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.
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 network stack takes the last valid Content-Type segment while Blink takes the first, and multiple Content-Type headers are not required to be consistent.
Impact
Sensitive cross-origin data could reach renderer memory, where a compromised renderer or a Spectre-style side channel might read it; the renderer still blocks the data from being used as a stylesheet.
What the attacker needed
Attacker controls a cross-origin server; victim visits attacker page; renderer compromise or Spectre gadget
The fix
Blink's MIME type extraction should follow the Fetch specification's last-wins rule, and the network stack should reject responses with inconsistent Content-Type headers.
How it was found
- Set up a cross-origin server that returns a sensitive body with two Content-Type headers, the sensitive type first and a safelisted type second.
- From an attacker origin, try to load the resource as a stylesheet.
- Check in the network export that Opaque Response Blocking allowed the response because of the safelisted type.
- Check in the developer console that the renderer blocked the stylesheet because it read the sensitive type.
- Note that the sensitive data is now in renderer memory.
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.
Browsers try to stop one website from reading another site's private data by blocking certain cross-origin responses before they reach the page's process. Here the browser's network part and its page-rendering part read a repeated header differently, so the network part lets the data through while the page part refuses to use it. The data still ends up in memory, and a separate class of attack that spies on memory could potentially read it.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.