Information leak in Omnibox (CVE-2026-106242)
Chrome for Android attaches an X-Geo header with precise GPS coordinates to omnibox searches for the default search engine, but fails to strip this header on cross-origin redirects. An attacker-controlled search engine or one with open redirects could leak the user's location to a third-party site that was never granted geolocation permission.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 6 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 attaches the X-Geo header, containing precise GPS coordinates, to omnibox searches for authorized Default Search Engines. However, the browser fails to set the remove_extra_headers_on_cross_origin_redirect flag for these navigations. Consequently, if the search engine redirects the user to a third-party site, the sensitive location data is leaked to an origin that was never granted Geolocation permissions.
Affected files:
chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediator.javacontent/browser/renderer_host/navigation_request.ccchrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/geo/GeolocationHeader.javachrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.javachrome/common/google_url_loader_throttle.cc
Estimated timestamp from git blame: 2026-02-05
Description
On Chrome for Android, search navigations initiated from the omnibox attach an X-Geo header to the initial request if the destination is the Default Search Engine (DSE) and the user has granted it location permissions. This header contains a base64-encoded protocol buffer with the device's precise latitude, longitude, and accuracy information.
While the browser authorizes the inclusion of this header for the initial request, it fails to prevent the header from being leaked during cross-origin redirects. Specifically, the LoadUrlParams object created in LocationBarMediator.java to initiate the navigation does not have the mRemoveExtraHeadersOnCrossOriginRedirect flag enabled.
Consequently, when the native navigation stack (NavigationRequest::OnRedirectChecksComplete in navigation_request.cc) processes a redirect, it evaluates remove_extra_headers_on_cross_origin_redirect_. Since this defaults to false, the extra headers (including X-Geo) are not stripped. The Chromium network service preserves custom headers by default during redirects, resulting in the sensitive location data being sent to the third-party redirect target.
This bypasses the origin-scoped permission model, allowing an attacker-controlled DSE, or a DSE utilizing open redirects (like DuckDuckGo's '!bang' syntax), to leak a user's precise location to arbitrary cross-origin sites.
Technical Details & Code Trace
Based on code analysis, the potential vulnerability occurs via the following path:
- In
chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediator.java(line ~832), aLoadUrlParamsobject is created for the omnibox search. GeolocationHeader.getGeoHeader()is called to retrieve the precise location and format it as theX-Geostring.- The header is attached via
loadUrlParams.setVerbatimHeaders()(line ~860). - Crucially,
LocationBarMediatornever callsloadUrlParams.setRemoveExtraHeadersOnCrossOriginRedirect(true). The flag defaults tofalse. - The
LoadUrlParamsare passed across JNI. Incontent/browser/renderer_host/navigation_controller_impl.cc, theNavigationEntryis initialized withremove_extra_headers_on_cross_origin_redirectset tofalse. - When the DSE responds with a 302 cross-origin redirect,
NavigationRequest::OnRedirectChecksCompleteevaluatesif (remove_extra_headers_on_cross_origin_redirect_ && !IsSameOrigin(...)). - Because the flag is
false, the check fails. TheX-Geoheader is not added to theremoved_headerslist passed to the network service, causing it to be forwarded to the cross-origin target.
Note: These steps are based on static code analysis by an automated tooling agent; a live proof-of-concept has not been executed.
Potential Reproduction Steps
- On an Android device, install Chrome and grant the application-level Location permission.
- Set DuckDuckGo as the Default Search Engine via Settings > Search engine.
- Visit
https://duckduckgo.comonce and grant the Geolocation site permission when prompted. - Tap the omnibox and type a query that triggers a cross-origin redirect, such as
!a shoes(which redirects to Amazon). - Observe (via a proxy like Burp Suite or net-export) that the request to the redirect target (
www.amazon.com) carries theX-Geoheader, despite that origin never having been granted location permissions.
Suggested Fix
In chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediator.java, explicitly enable the flag to strip extra headers on cross-origin redirects before initiating the load:
loadUrlParams.setRemoveExtraHeadersOnCrossOriginRedirect(true);
This mirrors the protective behavior already implemented in Android WebView (AwContents.java).
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 omnibox search navigation does not enable the flag that removes extra headers on cross-origin redirects, so the X-Geo header is forwarded to the redirect target.
Impact
Precise location data could be leaked to an arbitrary third-party site via a cross-origin redirect, bypassing the origin-scoped permission model; the report notes that a live proof-of-concept has not been executed.
What the attacker needed
Chrome for Android; app location permission granted; DSE granted geolocation permission; DSE redirects cross-origin
The fix
The flag to remove extra headers on cross-origin redirects should be enabled in LocationBarMediator before initiating the load.
How it was found
- Install Chrome on Android and grant the app location permission.
- Set DuckDuckGo as the default search engine.
- Visit DuckDuckGo and grant the site geolocation permission.
- Type a query in the omnibox that triggers a cross-origin redirect, such as a bang command.
- Observe with a proxy or net-export that the redirected request carries the X-Geo header.
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 search from Chrome's address bar on Android, Chrome can send your exact location to your chosen search engine if you allowed it. This report says that if the search engine then redirects you to another website, Chrome also sends your location to that other site, even though you never gave it permission. The fix is to make Chrome drop such extra information when a redirect goes to a different website.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.