Skip to content
Smuggling / CRLF Advisory Advanced CVE-2026-87589

Incorrect authorization in SiteIsolation (CVE-2026-87589)

A parser differential in the browser's navigation header validation allows a compromised renderer to bypass the header allowlist by using bare linefeed separators. The validation pass fails to parse any headers, but later normalisation converts the linefeeds to CRLF, causing restricted headers to be sent on the network request.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 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 potential validate-before-normalize parser differential between the browser's navigation header validation and the actual request construction code can allow a compromised renderer to bypass the navigation header allowlist. By utilizing bare linefeed (\n) separators, the initial validation pass fails to extract and check individual headers. Downstream, the navigation code normalizes these linefeeds to CRLF, allowing arbitrary restricted request headers to be sent over the network.

Affected files:

  • content/browser/renderer_host/ipc_utils.cc
  • content/browser/renderer_host/navigation_controller_impl.cc

Estimated timestamp from git blame: 2026-03-18

Description

There is a potential validate-before-normalize parser differential between the browser's navigation header validation code and the actual request construction code. This allows a compromised renderer to bypass the VerifyNavigationHeaders allowlist validation check and inject arbitrary HTTP request headers on browser-initiated cross-process navigations.

Root Cause

VerifyNavigationHeaders (located in content/browser/renderer_host/ipc_utils.cc) validates the renderer-supplied OpenURLParams::extra_headers string before it undergoes linefeed normalization (from LF to CRLF). However, the actual outbound request headers are built from the normalized CRLF string.

Both parsing passes utilize net::HttpRequestHeaders::AddHeadersFromString, which splits lines using only the literal substring "\r\n" as a delimiter:

C++
void HttpRequestHeaders::AddHeadersFromString(std::string_view headers) {
  for (std::string_view header : base::SplitStringPieceUsingSubstr(
           headers, "\r\n", base::TRIM_WHITESPACE, base::SPLIT_WANT_NONEMPTY)) {
    AddHeaderFromString(header);
  }
}

1. Validation Pass

When checking a raw string containing only bare linefeed separators (e.g., "X\nX-CSRF-Token: bypass\nAuthorization: Bearer evil"), there is no "\r\n" substring. Consequently, the entire string is processed as a single header line.

Inside AddHeaderFromString, HttpUtil::IsValidHeaderName determines that the derived key ("X\nX-CSRF-Token") contains an invalid token character (\n) and rejects the entire line, leaving parsed_headers completely empty. Since no headers are extracted, the allowlist loop in VerifyNavigationHeaders executes zero times, validation succeeds, and the renderer is not terminated.

2. Normalization and Usage Pass

After successfully bypassing validation, the string is normalized in NavigationControllerImpl::CreateNavigationRequestFromLoadParams:

C++
std::string extra_headers_crlf;
base::ReplaceChars(params.extra_headers, "\n", "\r\n", &extra_headers_crlf);

This expands the linefeeds to CRLF, resulting in: "X\r\nX-CSRF-Token: bypass\r\nAuthorization: Bearer evil".

When NavigationRequest::Create eventually parses this normalized string via AddHeadersFromString, it successfully splits on "\r\n" and extracts multiple distinct headers. The dummy first header "X" is dropped because it contains no colon, but all subsequent headers (such as X-CSRF-Token and Authorization) are successfully registered and sent on the outbound request.

Potential Trigger Path

  1. A compromised renderer invokes the Mojo endpoint RemoteFrameHost::OpenURL on a cross-process target frame, supplying extra_headers structured with bare \n linefeeds containing forbidden headers.
  2. RenderFrameProxyHost::OpenURL calls VerifyOpenURLParams, which validates the raw, non-normalized string via VerifyNavigationHeaders. Due to the bare linefeeds, no headers are parsed, validation returns true, and the renderer survives.
  3. NavigateFromFrameProxy forwards the raw parameters to NavigationControllerImpl::CreateNavigationRequestFromLoadParams, which normalizes the linefeeds into CRLF via base::ReplaceChars.
  4. NavigationRequest parses the normalized string, registering the injected headers.
  5. The browser issues the network navigation request carrying the forged headers.

(Note: These are potential steps based on static analysis of the codebase, as we have not executed runtime proof-of-concept tests).

Suggested Fix

To remediate this issue, the browser should perform linefeed normalization to CRLF before running validation in VerifyNavigationHeaders, or explicitly reject any renderer-supplied extra_headers string that contains bare \n (without \r) before any processing is done.

Evaluated with Chrome root at commit: fb72408a8493c46bc75fae1c70d03daec96b3040


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.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

Impact

A compromised renderer could bypass the navigation header allowlist and inject arbitrary restricted HTTP request headers on browser-initiated cross-process navigations; the report notes this is based on static analysis and has not been confirmed at runtime.

What the attacker needed

Compromised renderer; cross-process navigation target

The fix

The browser should normalise linefeeds to CRLF before validation, or reject any extra_headers string containing bare linefeeds before processing.

How it was found

  1. A compromised renderer calls the OpenURL Mojo endpoint on a cross-process frame with extra_headers containing bare linefeeds and forbidden headers.
  2. VerifyOpenURLParams runs VerifyNavigationHeaders on the raw string; because there are no CRLF sequences, no headers are parsed and validation passes.
  3. NavigateFromFrameProxy forwards the raw parameters to CreateNavigationRequestFromLoadParams, which replaces linefeeds with CRLF.
  4. NavigationRequest parses the normalised string and registers the injected headers.
  5. The browser sends the network navigation request with the forged headers.

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.

A compromised renderer is a part of the browser that has already been taken over by an attacker. The browser tries to stop it from adding certain HTTP headers to navigation requests, but the check is done before the text is cleaned up. Because the check and the actual sending use different rules for splitting lines, the attacker can sneak forbidden headers through.

What is Smuggling / CRLF?

A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Request smuggling and header injection

The lesson behind this report.

A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.