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

Incorrect authorization in WebAppInstalls (CVE-2026-87580)

A logic flaw in the IsolatedWebAppThrottle allows a compromised Isolated Web App renderer to navigate iframes to other installed IWAs, bypassing CSP checks. This enables blind CSRF against other IWAs' Service Workers and an installation oracle via error message leakage.

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 Chrome Security team. Please see go/chrome-ai-generated-security-bugs-faq for more information.

Overview: A logic flaw in IsolatedWebAppThrottle fails to restrict cross-origin iframe navigations between Isolated Web Apps (IWAs). A compromised IWA renderer can exploit this, bypassing CSP checks, to dispatch arbitrary FetchEvents to other IWAs' Service Workers (CSRF) or probe their installation status.

Affected files:

  • content/browser/renderer_host/isolated_web_app_throttle.cc
  • chrome/browser/web_applications/isolated_web_apps/isolated_web_app_throttle.cc
  • content/browser/renderer_host/navigation_request.cc
  • components/webapps/isolated_web_apps/url_loading/url_loader_factory.cc
  • content/browser/child_process_security_policy_impl.cc
  • chrome/browser/web_applications/isolated_web_apps/chrome_iwa_client.cc
  • components/webapps/isolated_web_apps/url_loading/utils.cc

Estimated timestamp from git blame: 2025-05-15

Summary

A compromised Isolated Web App (IWA) renderer can drive iframe navigation requests into any other installed IWA. This occurs because the IsolatedWebAppThrottle implementation for iframes incorrectly allows navigations to any isolated-app:// destination if it differs from the current app's origin, without verifying if the destination is another IWA that should be isolated. By bypassing browser-side CSP checks via IPC manipulation, an attacker can trigger a cross-IWA Service Worker FetchEvent (blind CSRF) and utilize error message leakage as an installation oracle.

Vulnerability Details

  1. Broad Scheme Access: When an IWA is launched, ChildProcessSecurityPolicyImpl::GrantCommitURL grants the renderer process request access to the entire non-web-safe isolated-app scheme (content/browser/child_process_security_policy_impl.cc:1378). Thus, CanRequestURL permits the compromised renderer to request URLs belonging to other IWAs.
  2. CSP Bypass: The attacker initiates an iframe navigation to a target IWA (isolated-app://<B-id>/) and sets should_check_main_world_csp to DO_NOT_CHECK in the mojom::LocalFrameHost::BeginNavigation IPC. This causes NavigationRequest::CheckContentSecurityPolicy to immediately return net::OK (content/browser/renderer_host/navigation_request.cc:7698), bypassing the frame-src 'self' policy that normally prevents cross-IWA embedding.
  3. Throttle Logic Flaw: The navigation reaches content::IsolatedWebAppThrottle::MaybeThrottleNavigationTransition. For iframe navigations, the throttle checks if (dest_tuple != web_contents_isolation_tuple) (content/browser/renderer_host/isolated_web_app_throttle.cc:237). If true, it returns ThrottleAction::PROCEED. It mistakenly assumes the navigation is leaving the IWA for the open web, failing to check if the destination is another IWA (lacking the !dest_needs_apps_isolation check present in the main-frame branch).

Impact

Although the navigation response is eventually blocked by AncestorThrottle (due to headers injected later in the pipeline), two critical side effects occur first:

  1. Service Worker CSRF: The browser resolves the navigation to the target IWA's dedicated StoragePartition. If the target is installed, ServiceWorkerMainResourceLoaderInterceptor dispatches a FetchEvent to its Service Worker with an attacker-controlled URL. This enables blind CSRF against any target IWA.
  2. Installation Oracle: If the target IWA is not installed, the IsolatedWebAppURLLoaderFactory fails to find the app bundle. It attempts to log "There's no matching Isolated Web App installed." to the console. Because the iframe navigation is still pending, LogErrorMessageToConsole sends this error via IPC to the RenderFrameHost currently hosting the frame, which is still controlled by the attacker. The attacker can observe this IPC to deterministically leak the installation status of any IWA bundle ID.

Potential Steps to Reproduce

Note: These are suggested steps based on codebase analysis; we do not currently have the tooling to execute a working proof of concept.

  1. Install two IWAs (App A and App B). Ensure App B registers a Service Worker.
  2. Gain arbitrary code execution in App A's renderer process.
  3. From the compromised renderer, construct a mojom::LocalFrameHost::BeginNavigation IPC for a child frame targeting isolated-app://<App-B-ID>/victim?data=attacker.
  4. Set should_check_main_world_csp in the CommonNavigationParams to network::mojom::CSPDisposition::DO_NOT_CHECK.
  5. Send the IPC. Observe that App B's Service Worker receives the FetchEvent.
  6. Uninstall App B and repeat the process. Observe the "no matching Isolated Web App" error message IPC arriving at the attacker's renderer.

Suggested Fix

Update content::IsolatedWebAppThrottle::MaybeThrottleNavigationTransition to correctly handle iframe navigations to other IWAs. Specifically, at line 237:

C++
// Iframes are allowed to leave the app's origin, but NOT to enter another IWA.
if (dest_tuple != web_contents_isolation_tuple) {
  return dest_needs_apps_isolation ? ThrottleAction::CANCEL : ThrottleAction::PROCEED;
}

This mirrors the protection applied to main-frame navigations and will block the transition before it reaches the StoragePartition or Service Worker layers.

Evaluated with Chrome root at commit: 661452647ddb2827305122ff3273bd5dea403f09


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

Likely the iframe branch of IsolatedWebAppThrottle fails to check whether the destination is another IWA, unlike the main-frame branch.

Impact

A compromised IWA renderer could perform blind CSRF against other IWAs' Service Workers and determine whether any IWA is installed, though the navigation response is eventually blocked by AncestorThrottle.

What the attacker needed

Two installed IWAs; Compromised renderer in one IWA; Target IWA has a Service Worker

The fix

The IsolatedWebAppThrottle should be updated to cancel iframe navigations to other IWAs, mirroring the main-frame protection.

How it was found

  1. Install two IWAs (App A and App B), with App B registering a Service Worker.
  2. Gain arbitrary code execution in App A's renderer process.
  3. Construct a BeginNavigation IPC for a child frame targeting App B's URL.
  4. Set should_check_main_world_csp to DO_NOT_CHECK in the navigation parameters.
  5. Send the IPC and observe App B's Service Worker receiving a FetchEvent.
  6. Uninstall App B and repeat to observe the 'no matching Isolated Web App' error message.

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.

Isolated Web Apps are like separate mini-apps inside the browser, each with its own security boundary. A bug in the code that checks navigation between them lets a malicious app send requests to other apps, potentially triggering actions or revealing which apps are installed.

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.