Information leak in Geolocation (CVE-2026-79075)
Chrome for Android's GMS Core geolocation path lacks a fail-closed guard for approximate permission, so on devices with older GMS Core the granularity hint is silently dropped and precise coordinates are returned and mis-tagged as approximate. A website granted only approximate location could then receive highly precise coordinates.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 48 days
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 privacy vulnerability exists in Chrome for Android where a website granted only approximate location permission can retrieve highly precise coordinates. This occurs on devices with older Google Play Services (GMS Core) versions because the granularity field is silently ignored during Binder IPC, causing GMS Core to return precise location data that Chrome then mis-tags as approximate and delivers to the page.
Affected files:
services/device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderGmsCore.javaservices/device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderFactory.javaservices/device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderAdapter.javaservices/device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderAndroid.javaservices/device/geolocation/location_api_adapter_android.ccservices/device/geolocation/geolocation_provider_impl.ccservices/device/geolocation/geolocation_impl.ccthird_party/android_deps/util/org/chromium/gms/ChromiumPlayServicesAvailability.java
Estimated timestamp from git blame: 2025-10-22
Description / Root Cause
In Chrome for Android, the kApproximateGeolocationPermission feature enforces the approximate geolocation permission boundary by requesting coarse location updates from the underlying operating system or Google Play Services (GMS Core).
When using the Android platform-level location provider (LocationProviderAndroid.java), Chrome implements a fail-closed guard. If Chrome is granted precise system-level permission (ACCESS_FINE_LOCATION) but a website only requests approximate location, the provider refuses to register for coarse updates to avoid leaking precise details and reports a position error:
// services/device/geolocation/android/.../LocationProviderAndroid.java
if (PermissionsAndroidFeatureMap.isEnabled(
PermissionsAndroidFeatureList.APPROXIMATE_GEOLOCATION_PERMISSION)
&& !enableHighAccuracy
&& mContext.checkCallingOrSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION)
== PackageManager.PERMISSION_GRANTED) {
unregisterFromLocationUpdates();
LocationProviderAdapter.newErrorAvailable("Cannot generate approximate location.");
return;
}
However, no analogous guard exists in the GMS Core path (LocationProviderGmsCore.java). Instead, the GMS provider sets a request-level hint and trusts GMS Core on the device to perform the coarsening:
// services/device/geolocation/android/.../LocationProviderGmsCore.java
if (PermissionsAndroidFeatureMap.isEnabled(
PermissionsAndroidFeatureList.APPROXIMATE_GEOLOCATION_PERMISSION)) {
LocationRequest.Builder builder =
new LocationRequest.Builder(priority, interval);
if (mEffectiveHighAccuracy) {
builder.setGranularity(Granularity.GRANULARITY_FINE);
} else {
builder.setGranularity(Granularity.GRANULARITY_COARSE);
}
locationRequest = builder.build();
} else { ... }
Granularity is a field added in play-services-location client library version 21.0.0 (Oct 2022). Although Chrome bundles a client library supporting this field, the actual coarsening is performed by the GMS Core APK service on the device via SafeParcelable serialization.
Under the SafeParcelable forward-compatibility specification, any older GMS Core service APK on the device that does not recognize the newer granularity field ID will silently skip and drop it during deserialization. Since Chrome holds the system-level ACCESS_FINE_LOCATION permission, the GMS Core service defaults to generating and returning highly precise GPS/fused coordinates.
When Chrome's onLocationResult callback receives these precise coordinates, it passes them to the adapter with isPrecise = false (since requestedHighAccuracy was set to false during request creation):
LocationProviderAdapter.onNewLocationAvailable(location, requestedHighAccuracy /* == false */);
On the C++ side, this is mapped directly into mojom::GeopositionResult with position->is_precise = false in location_api_adapter_android.cc. Because is_precise is false, the coordinates bypass all downstream security filters (such as geolocation_impl.cc and geolocation_provider_impl.cc which check is_precise to filter out fine positions) and are delivered directly to the origin's approximate/low-accuracy callback.
Because our tooling currently lacks the capability to execute runtime code or compile APKs, these steps and observations are based entirely on static analysis of the source code.
Potential Attacker Attack Path
An attacker wishing to exploit this potential boundary bypass would follow these steps:
-
Host a page requesting geolocation with
enableHighAccuracy: false:JavaScript navigator.geolocation.watchPosition(successCallback, errorCallback, {enableHighAccuracy: false}); -
Serve this page to a user on an Android device running a GMS Core APK older than late 2022's Granularity rollout (GMS Core version between
20.41.15and~22.44.x) where Chrome has system-levelACCESS_FINE_LOCATIONpermission. -
Prompt the user to grant "Approximate" location permission in the site-level dialog.
-
When
successCallbackis triggered, extract the raw, precise latitude/longitude/accuracy coordinates, which bypass coarsening and are sent directly to the renderer.
Suggested Fix
To prevent precise coordinate leakage on older GMS Core versions, we recommend implementing one of the following changes:
- Fail-closed guard in GMS path: In
LocationProviderGmsCore.java, implement a check to ensure GMS Core actually supports the requested granularity level before registering for updates, or add a similar check to fallback to an error or alternative safe coarsening method if GMS Core is older than the required version. - Browser-side coarsening fallback: In the browser process's
GeolocationProviderImplorGeolocationImpl, if an origin only has approximate geolocation permissions, actively coarsen/fuzz the coordinates (e.g., by rounding or snapping them to a grid) before delivering them to the callback, rather than relying solely on the platform provider's metadata tag.
Evaluated with Chrome root at commit: 84065d9121f6e48f67755f0ae963cc09617e5c85
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
Likely the GMS Core location provider trusts the device's Play Services to honour a granularity field, but older Play Services versions silently drop that field during serialisation, and Chrome does not verify the returned precision before tagging it as approximate.
Impact
A website granted only approximate location could receive precise coordinates on affected devices, though the report is based on static analysis and has not been confirmed at runtime.
What the attacker needed
Android device with older GMS Core; Chrome has precise system location permission; Victim grants approximate location to the site
The fix
The report suggests adding a fail-closed guard in the GMS path or coarsening coordinates in the browser process before delivery; it does not say the issue was fixed.
How it was found
- Host a page that requests geolocation with high accuracy disabled.
- Serve the page to a user on an Android device with an older GMS Core version where Chrome has precise system location permission.
- Prompt the user to grant approximate location permission in the site-level dialog.
- When the success callback fires, read the precise coordinates that were returned.
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 a website to see your location, you can choose 'approximate' instead of 'precise'. Chrome is supposed to make sure the website only gets a rough location. This report says that on some Android phones with older Google Play Services, Chrome asks for a rough location but the phone ignores that request and sends back an exact location, and Chrome passes it on to the website without noticing.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.