Incorrect authorization in Isolated (CVE-2026-87540)
A fallback that resolves an Isolated Web App opener from the initiator origin does not exclude scope extensions, so an ordinary HTTPS origin listed in an IWA's validated scope extensions can be mistaken for the IWA. This lets a regular website trigger misleading system notifications and exhaust the IWA's safety warning quota.
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: In NavigationCapturingProcess::MaybeNotifyIwaTabCounterService, resolving an IWA opener via the initiator-origin fallback fails to exclude scope extensions. As a result, an ordinary HTTPS origin listed in an IWA's validated scope extensions can falsely match as the IWA itself. This allows a regular website to trigger misleading system notifications and exhaust the safety warning quota for the associated IWA.
Affected files:
chrome/browser/ui/web_applications/navigation_capturing_process.ccchrome/browser/web_applications/isolated_web_apps/window_management/isolated_web_apps_window_open_permission_service.cc
Estimated timestamp from git blame: 2025-10-30
Potential Security Mitigation Bypass and UI Spoofing in IWA Tab Counter Service
Root Cause Analysis
In NavigationCapturingProcess::MaybeNotifyIwaTabCounterService (chrome/browser/ui/web_applications/navigation_capturing_process.cc), the potential IWA opener is resolved via an initiator-origin fallback when an opener-chain app ID is not present:
// chrome/browser/ui/web_applications/navigation_capturing_process.cc
if (!iwa_opener_app_id) {
if (!navigation_handle) {
return;
}
const auto& initiator_origin = navigation_handle->GetInitiatorOrigin();
if (!initiator_origin) {
return;
}
iwa_opener_app_id = provider->registrar_unsafe().FindBestAppWithUrlInScope(
initiator_origin->GetURL(), WebAppFilter::IsIsolatedApp());
}
However, the call to FindBestAppWithUrlInScope uses the 2-argument overload (defined in chrome/browser/web_applications/web_app_registrar.h), which defaults scope_score_options to {}. Consequently, exclude_scope_extensions is false during the scope resolution.
This causes GetScopeScore to walk the target app's validated_scope_extensions. If a regular HTTPS origin (e.g., https://ext.example) is listed in a user-installed Isolated Web App's (IWA) validated_scope_extensions, the IWA wins the scope match. Since the post-match check only tests the resolved app's isolation properties rather than the initiator's scheme, the initiator is incorrectly treated as the IWA.
This is an anti-pattern that has previously been fixed at other security-sensitive sites, such as:
DeviceServiceImpl::IsTrustedContext(chrome/browser/device_api/device_service_impl.cc:112)WebAppTabHelper::FindAppIdForUrl(chrome/browser/web_applications/web_app_tab_helper.cc:60)
In both cases, {.exclude_scope_extensions = true} is explicitly passed to ensure regular HTTPS origins in scope extensions cannot pretend to be the trusted IWA.
Potential Trigger Path
Note: These are potential steps for a proof of concept; our tooling agent does not have the ability to run code.
- A user-installed IWA (matching
IsIsolatedWebAppWithOnlyUserManagement) declareshttps://ext.examplein itsscope_extensions, and the origin has opted in via.well-known/web-app-origin-association(successfully registered invalidated_scope_extensions). - The user has
https://ext.exampleopen in an ordinary browser tab and clicks an<a target="_blank" rel="noopener">link or executeswindow.openwithout keeping an opener reference. - This is routed to
MaybeNotifyIwaTabCounterServicewith the initiator origin set tohttps://ext.examplebut no live opener chain. - The initiator-origin fallback invokes
FindBestAppWithUrlInScopewithout excluding scope extensions, potentially resolvingiwa_opener_app_idto the IWA. IsolatedWebAppsWindowOpenPermissionService::OnWebContentsCreatedis notified with this App ID.
Potential Impact
An HTTPS origin listed in an IWA's scope_extensions can potentially cause the following security issues:
- False Attribution UI Notification: It triggers a trusted ChromeOS system notification ("
<IWA name>is opening tabs") with a settings button pointing to the IWA's popup-permission page. This presents a trusted UI misattribution/spoofing vector. - Safety Warning Quota Exhaustion: It silently increments and persists the IWA's
opened_tabs_counter_notification_state().times_shownup tokMaxNotificationShowCount = 3in the WebApp database. Once this safety quota is exhausted, the user is never again warned when the IWA itself actually spawns many tabs or windows in the future, effectively bypassing a built-in safety boundary.
Suggested Fix
Update the fallback logic in NavigationCapturingProcess::MaybeNotifyIwaTabCounterService to explicitly exclude scope extensions during resolution:
iwa_opener_app_id = provider->registrar_unsafe().FindBestAppWithUrlInScope(
initiator_origin->GetURL(), WebAppFilter::IsIsolatedApp(),
{.exclude_scope_extensions = true});
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.
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 initiator-origin fallback calls FindBestAppWithUrlInScope with the two-argument overload, which leaves exclude_scope_extensions false, so scope extensions are considered during the match.
Impact
An HTTPS origin in an IWA's scope extensions could trigger a trusted-looking system notification attributed to the IWA and silently use up the IWA's limited safety warnings, so the user may never be warned when the IWA itself later opens many tabs.
What the attacker needed
User-installed IWA with a scope extension; extension origin opts in via well-known file; victim opens a link from that origin
The fix
The fallback should pass exclude_scope_extensions set to true when resolving the opener app, as other security-sensitive call sites already do.
How it was found
- A user-installed IWA declares an ordinary HTTPS origin in its scope extensions, and that origin opts in via the well-known association file so it lands in validated_scope_extensions.
- The user has that HTTPS origin open in a normal tab and opens a new tab or window from it without keeping an opener reference.
- The navigation reaches MaybeNotifyIwaTabCounterService with the initiator origin set to the HTTPS origin but no live opener chain.
- The initiator-origin fallback calls FindBestAppWithUrlInScope without excluding scope extensions, so the IWA may be resolved as the opener.
- The window-open permission service is notified with that app ID.
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.
An Isolated Web App (IWA) is a special kind of installed web app that Chrome treats as more trusted than ordinary websites. Chrome lets an IWA declare extra HTTPS origins as 'scope extensions', meaning those sites are associated with the app. A bug meant that when Chrome tried to work out which app opened a new tab, it could pick the IWA even though the tab was opened by one of those ordinary associated sites, so the site could make Chrome show a notification that looked like it came from the trusted app.
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.