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

Incorrect authorization in SiteIsolation (CVE-2026-79228)

An origin verification routine in the browser returns success early whenever the calling frame is showing an error page, so a compromised renderer can supply an opaque initiator origin with a forged precursor. That could let it frame extension resources restricted by the manifest or bypass iframe isolation for Isolated Web Apps.

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 logic flaw in the browser's initiator origin verification allows a compromised renderer to spoof the precursor of an opaque initiator origin. By navigating from a subframe currently displaying an error page, the renderer can bypass process-level verification checks. This could potentially allow unauthorized framing of restricted extension resources or frame-isolation bypasses in Isolated Web Apps.

Affected files:

  • content/browser/renderer_host/ipc_utils.cc
  • extensions/browser/extension_navigation_throttle.cc
  • extensions/common/manifest_handlers/web_accessible_resources_info.cc
  • content/browser/renderer_host/isolated_web_app_throttle.cc

Estimated timestamp from git blame: 2024-06-14

Root Cause

In content/browser/renderer_host/ipc_utils.cc, the function VerifyInitiatorOrigin is responsible for verifying that a renderer-provided initiator origin is hosted by the calling process. However, when the initiator origin is opaque, VerifyInitiatorOrigin contains a potential security bypass for frames that are currently displaying an error document (lines 99-101):

C++
if (initiator_origin.opaque()) {
  // ...
  if (current_rfh && current_rfh->IsErrorDocument()) {
    return true;
  }
  // ...
}

If the subframe has committed an error page (e.g., due to a failed navigation), current_rfh->IsErrorDocument() returns true. Consequently, VerifyInitiatorOrigin immediately returns true, entirely skipping process-level verification via ChildProcessSecurityPolicyImpl::HostsOrigin (line 117).

This early-return allows a compromised renderer to submit a custom-serialized opaque url::Origin containing an arbitrary, spoofed precursor origin (via the Mojo deserializer in url/mojom/origin_mojom_traits.cc). Because the precursor origin is not verified against the process lock, the browser accepts the forged initiator origin as valid.

Impact

Several security-critical components rely on the precursor of opaque initiator origins for authorization decisions:

  1. ExtensionNavigationThrottle (Manifest V3 WAR Bypass)

    • In extensions/browser/extension_navigation_throttle.cc, when checking if a resource is web-accessible via IsResourceWebAccessibleRedirect, the code retrieves the initiator URL by calling GetInitiatorUrl (in extensions/common/manifest_handlers/web_accessible_resources_info.cc), which falls back to the precursor tuple if the origin is opaque.
    • By spoofing the precursor tuple to a partner site allowed in the extension's manifest, a compromised renderer can bypass Manifest V3 web_accessible_resources restrictions and frame restricted extension pages.
  2. IsolatedWebAppThrottle (Iframe Isolation Bypass)

    • In content/browser/renderer_host/isolated_web_app_throttle.cc, the throttle blocks non-app contexts from navigating app iframes. However, it permits the navigation if the initiator's precursor matches the IWA origin (lines 252-259).
    • A compromised renderer can spoof the precursor to match the target IWA origin, allowing unauthorized cross-origin frames to navigate back into the secure IWA context.

Potential Steps to Reproduce

Note: These are potential steps based on static code analysis; our tooling agent does not currently have the ability to run or execute code to verify them.

  1. Set up a subframe inside a compromised renderer process.
  2. Navigate the subframe to a URL guaranteed to fail (e.g., a blocked unsafe port like http://example.com:79 or a URL violating CSP) so that the subframe commits an error page, setting current_rfh->IsErrorDocument() to true.
  3. Send a FrameHost::BeginNavigation IPC request from the subframe pointing to a restricted extension resource or an IWA resource.
  4. In the Mojo payload, set initiator_origin to an opaque origin containing a spoofed precursor tuple corresponding to an allowed partner site or the target origin itself.
  5. Verify that VerifyInitiatorOrigin bypasses verification, allowing the restricted navigation to proceed.

Suggested Fix

Instead of unconditionally returning true when IsErrorDocument() is true for opaque origins, the browser should perform strict validation of the precursor origin. If the exception is strictly required to support reloads of failed error page navigations, the browser should explicitly verify that the spoofed precursor origin matches either the original failed navigation's origin or the expected lock of the error document process, rather than accepting any arbitrary precursor provided by the renderer.

Evaluated with Chrome root at commit: a2bea94528f4bd6cc57739c43fa3bb890b8367d3


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 opaque-origin branch of the initiator verification returns true for frames displaying an error document, skipping the process-lock check on the precursor origin.

Impact

A compromised renderer could bypass Manifest V3 web-accessible-resource restrictions and frame restricted extension pages, or bypass iframe isolation in Isolated Web Apps; the steps are unverified static-analysis deductions.

What the attacker needed

Compromised renderer process; subframe showing an error page

The fix

The browser should strictly validate the precursor origin instead of returning true for error documents, or at least require it to match the failed navigation's origin or the process lock.

How it was found

  1. Set up a subframe inside a compromised renderer process.
  2. Navigate the subframe to a URL that is guaranteed to fail so it commits an error page.
  3. Send a BeginNavigation request from the subframe to a restricted extension or Isolated Web App resource.
  4. Set the initiator origin in the message to an opaque origin with a spoofed precursor.
  5. Check that verification is skipped and the restricted navigation proceeds.

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 page is normally only allowed to load certain protected resources if the browser can prove which site is asking. Here the browser skips that proof whenever the asking frame happens to be showing an error page, and it trusts a site name the page itself supplies. An attacker who already controls the page's code could therefore pretend to be a trusted site and load things it should not reach.

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.