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

Incorrect authorization in Permissions (CVE-2026-87450)

A logic flaw in permission routing allows a non-ControlledFrame <webview> to bypass the host app's manifest permission validation and obtain precise geolocation. An attacker could package an app without geolocation permission, load a trusted origin that already has a profile-wide grant, and retrieve the victim's location.

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 permission routing allows a non-ControlledFrame <webview> to bypass the host App's manifest permission validation and obtain precise geolocation. When a guest page requests geolocation, PermissionContextBase checks the profile-scoped HostContentSettingsMap and can immediately grant permission if the origin has a profile-wide grant, short-circuiting before manifest verification or the webview permissionrequest event.

Affected files:

  • components/permissions/permission_context_base.cc
  • extensions/browser/guest_view/web_view/web_view_guest.cc
  • chrome/browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.cc
  • chrome/browser/geolocation/geolocation_permission_context_extensions.cc

Estimated timestamp from git blame: 2024-08-27

Root Cause Analysis

In PermissionContextBase::RequestPermission (components/permissions/permission_context_base.cc), the profile-scoped permission status is retrieved first via GetPermissionStatus. If this status is GRANTED, execution short-circuits and immediately grants the permission, bypassing the DecidePermission path entirely:

C++
content::PermissionResult result = GetPermissionStatus(*request_data, rfh);
bool status_ignorable = PermissionUtil::CanPermissionRequestIgnoreStatus(...);
if (!status_ignorable && (result.status == PermissionStatus::GRANTED || ... )) {
  ...
  NotifyPermissionSet(*request_data, std::move(callback), persist, &result, ...);
  return; // Short-circuit, DecidePermission is never reached
}

Normally, for GuestViews, OverridePermissionResult forces ASK to prevent this bypass and route the decision to the embedder, but it only does so if the embedder is owned by a ControlledFrame. For standard Chrome Apps or WebUI <webview>s, WebViewGuest::OverridePermissionResult returns std::nullopt:

C++
std::optional<content::PermissionResult> WebViewGuest::OverridePermissionResult(
    ContentSettingsType type) const {
  auto result = web_view_permission_helper_->OverridePermissionResult(type);
  if (result) { return result; }
  if (IsOwnedByControlledFrameEmbedder()) {
    ...
    if (permission_type == blink::PermissionType::GEOLOCATION) {
      return content::PermissionResult(content::PermissionStatus::ASK, ...);
    }
  }
  return std::nullopt; // Non-ControlledFrame falls through
}

Furthermore, because IsPermissionRequestable(GEOLOCATION) returns true unconditionally, the deny gate does not trigger, and a profile-scoped lookup is performed against the HostContentSettingsMap of the profile. If the guest origin already has a profile-wide grant (e.g., from a user grant in a regular tab), GetPermissionStatus returns GRANTED and short-circuits. As a result, execution never reaches DecidePermission where the embedder's routing is implemented. This potentially allows the guest to obtain geolocation without firing the embedder's <webview> permissionrequest event and without verifying if the embedder possesses the geolocation manifest permission.

Potential Exploitation Scenario

An attacker could potentially perform the following steps to exploit this behavior:

  1. Package a platform app/Chrome App whose manifest includes the webview permission but explicitly lacks the geolocation manifest permission.
  2. Lure a victim user who already has a profile-wide geolocation grant for a specific trusted origin (e.g., https://example.com).
  3. Inside the app, instantiate a <webview> and navigate it to https://example.com.
  4. Execute a script inside the webview using webview.executeScript or receive a postMessage from the guest page that invokes navigator.geolocation.getCurrentPosition.
  5. The coordinates are successfully retrieved by the guest and exfiltrated to the app, bypassing the app's lack of manifest permissions.

Note: These steps represent potential exploitation paths identified via static code analysis; our tooling does not currently have the capability to run code to produce a live proof-of-concept.

Impact

This is a confused-deputy permission escalation issue (CWE-863). An installed app lacking geolocation (or potentially audioCapture/videoCapture) manifest permissions can obtain sensitive user location or media data by loading an origin in its <webview> that already has a profile-scoped grant.

Suggested Fix

Modify WebViewGuest::OverridePermissionResult to return PermissionStatus::ASK for standard <webview>s as well for delegation-sensitive permission types like GEOLOCATION, AUDIO_CAPTURE, and VIDEO_CAPTURE. This ensures that they always route through the DecidePermission path where manifest checks and delegation logic are enforced.

Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8


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 permission check short-circuits when a profile-wide grant exists, skipping the embedder's manifest verification for non-ControlledFrame webviews.

Impact

An installed app lacking geolocation (or potentially audioCapture/videoCapture) manifest permissions can obtain sensitive user location or media data by loading an origin in its <webview> that already has a profile-scoped grant.

What the attacker needed

Victim has profile-wide geolocation grant; attacker can install a Chrome App; app manifest lacks geolocation permission

The fix

Modify WebViewGuest::OverridePermissionResult to return PermissionStatus::ASK for standard <webview>s for delegation-sensitive permission types like GEOLOCATION, AUDIO_CAPTURE, and VIDEO_CAPTURE.

How it was found

  1. Package a platform app/Chrome App whose manifest includes the webview permission but explicitly lacks the geolocation manifest permission.
  2. Lure a victim user who already has a profile-wide geolocation grant for a specific trusted origin.
  3. Inside the app, instantiate a <webview> and navigate it to the trusted origin.
  4. Execute a script inside the webview or receive a postMessage that invokes navigator.geolocation.getCurrentPosition.
  5. The coordinates are successfully retrieved by the guest and exfiltrated to the app.

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.

This report describes a way for a malicious app to get a user's location without asking for permission. The app uses a built-in browser window to load a website the user already trusts, and because that website already has location permission, the app can quietly read the location. The app itself never had location permission, so this is a permission bypass.

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.