Incorrect authorization in WebAPKs (CVE-2026-95302)
Chrome for Android may route web push notifications to a malicious sideloaded app that spoofs the deprecated Maps Lite WebAPK, because the validator checks only package name and metadata, not cryptographic signature. An attacker could intercept sensitive notification data from arbitrary origins.
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.
Overview: Chrome for Android may incorrectly route web push notifications to a malicious sideloaded application spoofing the deprecated Maps Lite WebAPK. This occurs due to a lack of signature verification and scope validation in WebApkValidator, potentially allowing the malicious app to intercept sensitive notification data from arbitrary origins.
Affected files:
components/webapk/android/libs/client/src/org/chromium/components/webapk/lib/client/WebApkValidator.javachrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.javachrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkServiceClient.javachrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/WebApkIdentityServiceClient.javachrome/android/java/src/org/chromium/chrome/browser/webapps/ChromeWebApkHost.java
Estimated timestamp from git blame: 2024-02-21
Description
There is a potential vulnerability in how Chrome for Android validates WebAPKs before delegating push notifications. The WebApkValidator contains specific logic to identify the Maps Lite WebAPK (com.google.android.apps.mapslite). However, the verifyMapsLite method only checks the package name and internal metadata, entirely omitting cryptographic signature verification.
Furthermore, when querying for a WebAPK to handle a specific notification scope URL, Chrome relies on the Android PackageManager's intent resolution. A malicious app can declare intent filters for arbitrary origins while spoofing the Maps Lite package name and metadata. Because verifyMapsLite assumes the app is valid based on metadata alone, and doesn't cross-check the queried URL against the verified scope, Chrome trusts the app as a legitimate WebAPK for the target origin.
The attacker can further bypass runtime host checks by implementing IIdentityService to return Chrome's package name. Consequently, Chrome will serialize the android.app.Notification object—containing sensitive cross-origin data like 2FA codes or messages—and pass it directly to the attacker's IWebApkApi service.
Potential Attack Scenario (Unverified)
These are suggested steps an attacker might follow to exploit this issue:
- Create a Malicious App: The attacker creates an Android app with the package name
com.google.android.apps.mapslite. - Spoof Metadata: In the
AndroidManifest.xml, the attacker adds<meta-data>forSTART_URLandSCOPE, setting them tohttps://www.google.com/mapsto satisfyverifyMapsLite. - Target Intent Filters: The attacker adds an
<intent-filter>forandroid.intent.action.VIEWandCATEGORY_BROWSABLEtargeting the victim's origin (e.g.,https://mail.example.com). - Implement Spoofed Services: The attacker implements
IIdentityServiceto returncom.android.chromeandIWebApkApito receive the incoming notifications. - Installation: The attacker convinces the victim to sideload this APK (this requires the legitimate Google Maps Go app to be absent from the device).
- Triggering: The victim visits
https://mail.example.comin Chrome and allows notifications. When a push notification arrives, Chrome delegates it to the malicious app viaWebApkServiceClient.notifyNotificationWithChannel, exposing the contents.
Code References
components/webapk/android/libs/client/src/org/chromium/components/webapk/lib/client/WebApkValidator.java:verifyMapsLite()checks package name and metadata but lacks signature verification.queryFirstWebApkPackage()relies onPackageManagerto find apps claiming to handle the URL, allowing the attacker's arbitrary intent filter to be selected.
chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/WebApkIdentityServiceClient.java:checkBrowserBacksWebApkAsync()trusts the unauthenticatedIIdentityServiceof the WebAPK to determine the host browser.
chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java:displayNotificationInternal()delegates the notification based on the flawed validation.
Suggested Fix
- Enforce Signature Verification: Add strict cryptographic signature verification to
verifyMapsLite(), ensuring the package is genuinely signed by Google, similar to how V1 WebAPKs are verified. Alternatively, since Maps Lite is deprecated (as seen incanWebApkHandleUrl), consider removing support for it entirely. - Strict Scope Validation: Ensure that when a WebAPK is selected via
queryFirstWebApkPackage, the actual queried URL is strictly validated against the WebAPK's authenticatedSCOPE, rather than relying solely on the presence of an intent filter.
Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b
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.
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 WebAPK validator for Maps Lite checks only the package name and metadata, not the app's cryptographic signature, and does not cross-check the queried URL against the verified scope.
Impact
A malicious sideloaded app could intercept sensitive cross-origin notification data such as 2FA codes or messages, but the attack requires sideloading and the absence of the legitimate Maps Go app.
What the attacker needed
Victim sideloads a malicious APK; legitimate Maps Go app absent; victim visits target site and allows notifications
The fix
The report suggests enforcing strict cryptographic signature verification in verifyMapsLite or removing Maps Lite support, and validating the queried URL against the WebAPK's authenticated scope.
How it was found
- Create an Android app with the package name com.google.android.apps.mapslite.
- Add metadata for START_URL and SCOPE set to the Maps URL to satisfy verifyMapsLite.
- Add an intent filter for VIEW and BROWSABLE targeting the victim's origin.
- Implement IIdentityService to return Chrome's package name and IWebApkApi to receive notifications.
- Convince the victim to sideload the APK, with the legitimate Maps Go app absent.
- Have the victim visit the target site in Chrome and allow notifications; when a push arrives, Chrome delegates it to the malicious 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.
When you allow notifications on a website, Chrome on Android can hand them to a small helper app called a WebAPK. This report says Chrome may trust a fake helper app that pretends to be the old Maps Lite app, so the fake app could read your notifications from other sites.
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.