Skip to content
Access control Advisory Advanced CVE-2026-87537

Missing authorization in Extensions (CVE-2026-87537)

The browser process trusts a boolean field in a redirect response from the untrusted Network Service, allowing a compromised Network Service to bypass redirect safety checks. This enables redirecting a browser-initiated navigation to privileged schemes like chrome:// or file://, leading to a sandbox escape.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 5 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 compromised Network Service can set the bypass_redirect_checks flag in URLResponseHead to bypass IsSafeRedirectTarget in the browser process. When combined with a browser-initiated navigation, this allows the Network Service to redirect the user to privileged schemes like chrome:// or file://, leading to a sandbox escape.

Affected files:

  • content/browser/loader/navigation_url_loader_impl.cc
  • content/browser/child_process_security_policy_impl.cc
  • content/public/common/url_utils.cc
  • services/network/url_loader.cc
  • content/public/common/content_features.cc
  • third_party/blink/common/loader/throttling_url_loader.cc

Estimated timestamp from git blame: 2025-07-10

Summary

The browser process incorrectly trusts the bypass_redirect_checks boolean field within the network::mojom::URLResponseHead structure received via Mojo from the Network Service. A compromised Network Service can set this flag to true during a redirect, causing the browser to skip the IsSafeRedirectTarget security check in NavigationURLLoaderImpl::OnReceiveRedirect. If the navigation is browser-initiated, this enables a malicious redirect to privileged URL schemes such as chrome:// and file://, resulting in a sandbox escape.

Technical Details

When a navigation occurs, the browser creates a NavigationURLLoaderImpl to fetch the URL. If the response is a redirect, NavigationURLLoaderImpl::OnReceiveRedirect evaluates whether to bypass redirect safety checks:

C++
  bool bypass_redirect_checks =
      base::FeatureList::IsEnabled(features::kBypassRedirectChecksPerRequest)
          ? head->bypass_redirect_checks
          : bypass_redirect_checks_;

  if (!bypass_redirect_checks &&
      !IsSafeRedirectTarget(url_, redirect_info.new_url)) {
    error = net::ERR_UNSAFE_REDIRECT;
  }

Because the kBypassRedirectChecksPerRequest feature is enabled by default, the browser trusts head->bypass_redirect_checks. URLResponseHead is populated and sent by the untrusted Network Service. By setting this field to true, the Network Service completely bypasses IsSafeRedirectTarget, which normally blocks redirects to chrome://, file://, and other dangerous schemes.

Later in the navigation flow, NavigationRequest::OnRequestRedirected performs secondary checks. It calls ChildProcessSecurityPolicyImpl::CanRedirectToURL, which only blocks pseudo-schemes (like javascript:) and allows chrome:// and file://. It also checks CanRequestURL, but crucially, this check is skipped for browser-initiated navigations:

C++
  if (!commit_params_->is_browser_initiated && GetSourceSiteInstance() &&
      !ChildProcessSecurityPolicyImpl::GetInstance()->CanRequestURL(...)) {

Consequently, if an attacker waits for the user to initiate a navigation (e.g., by typing in the Omnibox or clicking a bookmark), they can intercept the request in the Network Service and redirect it to a highly privileged URL. The browser will then allocate an appropriately privileged renderer process (e.g., a WebUI renderer) and grant it commit privileges for the malicious URL, completing a sandbox escape.

Potential Attack Steps

  1. An attacker compromises the sandboxed Network Service process (e.g., via a memory corruption vulnerability in network data parsing).
  2. The attacker waits for the user to initiate a top-level navigation (e.g., typing a URL into the Omnibox), ensuring commit_params_->is_browser_initiated is true.
  3. The compromised Network Service intercepts the request and responds with an OnReceiveRedirect IPC message.
  4. The attacker crafts the redirect_info.new_url to point to a privileged destination, such as chrome://settings/ or a local attacker-controlled HTML file (file:///...).
  5. The attacker sets head->bypass_redirect_checks = true in the URLResponseHead.
  6. The browser receives the redirect, bypasses IsSafeRedirectTarget, and follows the redirect.
  7. A new privileged renderer process is selected and granted permissions, executing the privileged page and giving the attacker a sandbox escape.

Suggested Fix

bypass_redirect_checks should not be a field in network::mojom::URLResponseHead, as this structure represents untrusted data from the Network Service. The bypass flag is a browser-internal concept used primarily by the Web Request API proxy (which runs in the browser process) to signal that an extension authorized the redirect.

Consider removing bypass_redirect_checks from URLResponseHead and communicating this state out-of-band. Alternatively, ensure that NavigationURLLoaderImpl only respects head->bypass_redirect_checks if the IPC was received from a trusted, browser-process-hosted URLLoader (like the Web Request proxy), rather than the raw Network Service.

Evaluated with Chrome root at commit: ff3d2b74fa39431785bd60e51463b08fcc71ee33


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.

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

Root cause

The browser process incorrectly trusts the `bypass_redirect_checks` field in `URLResponseHead` received from the untrusted Network Service, instead of treating it as untrusted data.

Impact

A compromised Network Service could redirect a browser-initiated navigation to a privileged scheme, leading to a sandbox escape and execution of privileged pages.

What the attacker needed

Compromise of the Network Service process; User initiates a browser-initiated navigation

The fix

The bypass_redirect_checks field should be removed from URLResponseHead and communicated out-of-band, or only respected if the IPC comes from a trusted browser-process-hosted URLLoader.

How it was found

  1. Compromise the sandboxed Network Service process (e.g., via memory corruption).
  2. Wait for the user to initiate a top-level navigation (e.g., typing a URL in the Omnibox).
  3. Intercept the request in the compromised Network Service and respond with a redirect message.
  4. Craft the redirect URL to point to a privileged destination like chrome://settings/ or a local file.
  5. Set the bypass_redirect_checks flag to true in the response head.
  6. The browser follows the redirect, bypasses safety checks, and grants a privileged renderer, achieving sandbox escape.

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 web browser splits its work into processes: the browser process (trusted) and the network service (less trusted, handles network data). The network service can send a redirect message that includes a flag saying 'skip safety checks'. The browser process believes this flag and allows a redirect to a dangerous internal page, which should normally be blocked. This lets an attacker who already controls the network service escape the sandbox and run code with higher privileges.

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.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.