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

Improper input validation in StorageAccessAPI (CVE-2026-78976)

The browser's Storage Access API inheritance check during navigation trusted a renderer-supplied initiator origin rather than the browser's own record of the frame's origin. A compromised renderer could forge that origin to make a sibling subdomain inherit another subdomain's storage access grant and send unpartitioned cookies.

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: The Storage Access API (SAA) same-origin inheritance gate during navigations evaluates same-origin status using the renderer-supplied initiator origin instead of a browser-authoritative origin. A compromised renderer can forge this initiator origin within its site-granular process lock to inherit a sibling subdomain's SAA grant. This potentially allows same-site cross-origin cookies to be sent on navigation requests, bypassing per-origin SAA boundaries and Permissions-Policy constraints.

Affected files:

  • content/browser/loader/navigation_url_loader_impl.cc
  • content/browser/renderer_host/navigation_request.cc

Estimated timestamp from git blame: 2023-02-21

Summary

There is a potential security bypass in the Storage Access API (SAA) same-origin navigation inheritance gate. When a navigation is committed, the browser determines whether to carry over a previous document's per-frame SAA grant by evaluating the same-origin status of the navigation. However, the browser relies on the renderer-supplied common_params.initiator_origin to check if the initiator and target URLs are same-origin, rather than checking the browser-authoritative GetLastCommittedOrigin() of the initiator frame. Since initiator_origin is only verified via site-granular checks, a compromised renderer locked to a site (e.g., tracker.com) can forge initiator_origin as a same-site cross-origin sibling (e.g., https://b.tracker.com) when initiating a navigation from https://a.tracker.com. This potentially allows the compromised renderer to carry over a legitimate SAA grant from a.tracker.com to b.tracker.com, bypassing SAA boundaries.

Root Cause Analysis

In content/browser/renderer_host/navigation_request.cc, the decision of whether to inherit the SAA grant of the previous document is computed via ShouldLoadWithStorageAccess:

C++
net::StorageAccessApiStatus ShouldLoadWithStorageAccess(
    const blink::mojom::BeginNavigationParams& begin_params,
    const blink::mojom::CommonNavigationParams& common_params,
    const RenderFrameHostImpl* previous_document_rfh,
    bool did_encounter_cross_origin_redirect,
    const GURL response_url,
    const network::mojom::URLResponseHead* response) {
  ...
  if (!previous_document_rfh->document_associated_data()
           .cookie_setting_overrides()
           .Has(net::CookieSettingOverride::kStorageAccessGrantEligible)) {
    return net::StorageAccessApiStatus::kNone;
  }
  if (begin_params.initiator_frame_token !=
      previous_document_rfh->GetFrameToken()) {
    return net::StorageAccessApiStatus::kNone;
  }
  if (!common_params.initiator_origin ||
      !common_params.initiator_origin->IsSameOriginWith(response_url) ||
      did_encounter_cross_origin_redirect) {
    return net::StorageAccessApiStatus::kNone;
  }
  return net::StorageAccessApiStatus::kAccessViaAPI;
}

At the IPC boundary, common_params.initiator_origin is validated in VerifyInitiatorOrigin (content/browser/renderer_host/ipc_utils.cc line 77) by calling policy->HostsOrigin(process_id, initiator_origin). Because site isolation is site-level, subdomains of the same site (e.g., a.tracker.com and b.tracker.com) reside in the same process and share the tracker.com site lock. Hence, a compromised process can set initiator_origin to https://b.tracker.com, and it will pass HostsOrigin verification.

When ShouldLoadWithStorageAccess evaluates this request, it sees that previous_document_rfh (the frame for a.tracker.com which has the SAA grant) is eligible, and that the forged initiator_origin (https://b.tracker.com) is same-origin with the destination (https://b.tracker.com). As a result, b.tracker.com inherits the SAA grant of a.tracker.com.

Potential Steps to Reproduce

These are suggested/potential steps, as our testing tools do not currently have the ability to run arbitrary C++ or exploit code:

  1. Establish two subdomains of the same site: https://a.tracker.com and https://b.tracker.com embedded in a third-party site https://example.com.
  2. Obtain a legitimate SAA grant for https://a.tracker.com (e.g., via document.requestStorageAccess()), so that the frame's document_associated_data().cookie_setting_overrides() contains kStorageAccessGrantEligible.
  3. Compromise the renderer process hosting tracker.com (e.g., via a standard renderer memory corruption vulnerability).
  4. In the compromised renderer, initiate a navigation from https://a.tracker.com to https://b.tracker.com via LocalFrameHost::BeginNavigation.
  5. In the IPC arguments, set common_params.initiator_origin to https://b.tracker.com and set begin_params.initiator_frame_token to the frame token of the current frame.
  6. Observe that the navigation commits at https://b.tracker.com with load_with_storage_access = true and b.tracker.com obtains the SAA grant (setting kStorageAccessGrantEligible), gaining unpartitioned cookie access despite never having received an independent SAA grant or matching the embedder's Permissions-Policy.

Impact

An attacker with a compromised renderer can carry over and abuse SAA grants belonging to same-site cross-origin subdomains, bypassing Permissions-Policy boundaries and the same-origin gate.

Suggested Fix

The browser must validate the same-origin status using the browser-authoritative last committed origin of the initiator frame instead of relying on the renderer-supplied initiator_origin.

Compare the target URL with the authoritative initiator frame's origin:

C++
previous_document_rfh->GetLastCommittedOrigin().IsSameOriginWith(response_url)

Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379


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

Root cause

Likely the same-origin check for inheriting a storage access grant used the renderer-supplied initiator origin, which is only validated at site granularity, instead of the browser-authoritative last committed origin of the initiator frame.

Impact

An attacker who already controls a compromised renderer could carry over a sibling subdomain's storage access grant, bypassing the same-origin gate and Permissions-Policy boundaries; the report notes the steps are suggested and were not actually executed.

What the attacker needed

Compromised renderer process; a legitimate storage access grant; two same-site subdomains

The fix

The check should compare the target against the browser-authoritative last committed origin of the initiator frame instead of the renderer-supplied value.

How it was found

  1. Set up two subdomains of the same site embedded in a third-party page.
  2. Obtain a legitimate storage access grant for the first subdomain.
  3. Compromise the renderer process hosting the site.
  4. Start a navigation from the first subdomain to the second with a forged initiator origin.
  5. Observe the navigation committing with storage access and the second subdomain gaining unpartitioned cookie access.

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.

The Storage Access API lets a site ask the browser for permission to use its cookies inside another site. When you navigate, the browser can pass that permission on to the next page, but only if it is the same origin. Here the browser asked the page's own process who was navigating instead of checking its own records, so a hacked process could lie and hand the permission to a different subdomain.

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.