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

Incorrect authorization in Navigation (CVE-2026-79237)

NavigationRequest initialises its site_info_ with a default StoragePartitionConfig, so when resolving keep-alive security policies for a destroyed initiator frame in a non-default partition, it queries the wrong partition and loses the initiator's policies. This can bypass Private Network Access preflight checks and CSP form-action restrictions, potentially allowing CSRF against local network devices.

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: NavigationRequest incorrectly initializes its internal site_info_ with a default StoragePartitionConfig. When resolving keep-alive security policies for an initiator frame that has been destroyed, it queries the default storage partition instead of the initiator's actual non-default partition. This causes navigations initiated from non-default partitions (like WebViews or Isolated Web Apps) to silently lose their security policies, potentially bypassing Private Network Access and CSP restrictions.

Affected files:

  • content/browser/renderer_host/navigation_request.cc
  • content/browser/renderer_host/render_frame_host_impl.cc
  • content/browser/renderer_host/navigation_policy_container_builder.cc

Estimated timestamp from git blame: 2021-07-23

Description

A logic flaw exists in the initialization of NavigationRequest that causes it to lose track of an initiator's security policies if the initiator resides in a non-default StoragePartition and is destroyed while the navigation is starting.

In the NavigationRequest constructor (content/browser/renderer_host/navigation_request.cc), the site_info_ member is initialized using a single-argument constructor: site_info_(frame_tree_node_->navigator().controller().GetBrowserContext()). This specific SiteInfo constructor (content/browser/site_info.cc) hardcodes the partition configuration to the default partition via StoragePartitionConfig::CreateDefault(browser_context).

Later in the NavigationRequest constructor, NavigationPolicyContainerBuilder is instantiated to build the security policies for the navigation. It attempts to fetch the initiator's policies by calling GetStoragePartitionWithCurrentSiteInfo(). Because site_info_ contains the default config, this returns the default StoragePartition, rather than the actual partition where the navigation originated.

If the initiating frame has already been destroyed (e.g., a popup that closes itself during an unload handler), its policies are preserved in a keep-alive map within its actual StoragePartition. Because the builder queries the default partition's keep-alive map instead, the lookup fails. The navigation proceeds with nullptr for its initiator policies, which degrades security bounds.

Security Impact

The silent dropping of initiator policies leads to the following potential security bypasses:

  1. Private Network Access (PNA) Bypass: In NavigationRequest::BuildClientSecurityStateForNavigationFetch(), if policy_container_builder_->InitiatorPolicies() is null, it returns a null security state. The network service subsequently skips PNA preflight checks (Result::kAllowedMissingClientSecurityState), allowing CSRF attacks against local network devices from restricted contexts.
  2. CSP form-action Bypass: During NavigationRequest::CheckCSPDirectives, if initiator_policies is null, the form-action checks are completely skipped, allowing an attacker to bypass the initiator's CSP.
  3. Policy Inheritance Loss: Navigations to local-scheme URLs (e.g., about:blank, data:) will fail to inherit the initiator's sandbox flags and referrer policies.

Potential Attack Scenario

Note: These are suggested steps to trigger the vulnerability. Our tooling agent does not have the ability to execute code to verify a working proof-of-concept.

  1. An attacker hosts malicious content within a container that uses a non-default StoragePartition (e.g., a Chrome App <webview>, GuestView, or a Controlled Frame).
  2. The attacker's page opens a popup window, which resides in the same non-default partition.
  3. The popup registers a pagehide or unload handler.
  4. The popup closes itself (e.g., window.close()).
  5. During the frame destruction sequence, the handler fires and initiates a cross-document navigation on its opener frame, pointing to a restricted local network address (e.g., opener.location.href = 'http://192.168.1.1/admin').
  6. The browser registers a keep-alive handle for the popup's policies in the non-default partition, and the popup's RenderFrameHost is destroyed.
  7. The NavigationRequest for the opener's navigation is created. It queries the default partition for the popup's keep-alive policies, fails to find them, and proceeds without initiator policies.
  8. The network request to 192.168.1.1 is dispatched without a PNA preflight, successfully exploiting the local device.

Suggested Fix

Update the initialization of site_info_ in the NavigationRequest constructor so that it does not blindly default to StoragePartitionConfig::CreateDefault().

Instead of initializing site_info_ directly with BrowserContext*, it should be constructed by carefully determining the correct StoragePartitionConfig for the ongoing navigation (e.g., utilizing GetSiteInfoForCommonParamsURL() or querying the current FrameTreeNode's site instance configuration) before looking up the keep-alive handles in NavigationPolicyContainerBuilder.

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

Impact

This could allow CSRF attacks against local network devices from restricted contexts and bypass CSP form-action checks, though the report notes these are potential impacts and the proof-of-concept was not executed.

What the attacker needed

Attacker controls content in a non-default partition; victim uses a browser with the flaw; popup closes during navigation

The fix

The site_info_ initialisation should be updated to determine the correct StoragePartitionConfig for the navigation instead of defaulting to the default partition.

How it was found

  1. Host malicious content in a non-default StoragePartition container (e.g., a webview).
  2. Open a popup window from that page.
  3. Register a pagehide or unload handler in the popup.
  4. Close the popup, triggering the handler to navigate the opener to a local network address.
  5. The NavigationRequest queries the default partition for keep-alive policies, fails, and proceeds without initiator policies.
  6. The request to the local address is sent without a PNA preflight check.

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 browser keeps security rules (like which websites can talk to your local network) attached to each page. When a page opens a popup and the popup closes itself, the browser tries to remember those rules for a moment. A bug makes it look in the wrong place for those rules, so the navigation continues without them. This could let a malicious page bypass protections and send requests to devices on your home network.

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.