Skip to content
Info disclosure Advisory Advanced CVE-2026-106242

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.java
  • content/browser/renderer_host/navigation_request.cc
  • chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/geo/GeolocationHeader.java
  • chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.java
  • chrome/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:

  1. In chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediator.java (line ~832), a LoadUrlParams object is created for the omnibox search.
  2. GeolocationHeader.getGeoHeader() is called to retrieve the precise location and format it as the X-Geo string.
  3. The header is attached via loadUrlParams.setVerbatimHeaders() (line ~860).
  4. Crucially, LocationBarMediator never calls loadUrlParams.setRemoveExtraHeadersOnCrossOriginRedirect(true). The flag defaults to false.
  5. The LoadUrlParams are passed across JNI. In content/browser/renderer_host/navigation_controller_impl.cc, the NavigationEntry is initialized with remove_extra_headers_on_cross_origin_redirect set to false.
  6. When the DSE responds with a 302 cross-origin redirect, NavigationRequest::OnRedirectChecksComplete evaluates if (remove_extra_headers_on_cross_origin_redirect_ && !IsSameOrigin(...)).
  7. Because the flag is false, the check fails. The X-Geo header is not added to the removed_headers list 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

  1. On an Android device, install Chrome and grant the application-level Location permission.
  2. Set DuckDuckGo as the Default Search Engine via Settings > Search engine.
  3. Visit https://duckduckgo.com once and grant the Geolocation site permission when prompted.
  4. Tap the omnibox and type a query that triggers a cross-origin redirect, such as !a shoes (which redirects to Amazon).
  5. Observe (via a proxy like Burp Suite or net-export) that the request to the redirect target (www.amazon.com) carries the X-Geo header, 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:

Java
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.

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 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

  1. Install Chrome on Android and grant the app location permission.
  2. Set DuckDuckGo as the default search engine.
  3. Visit DuckDuckGo and grant the site geolocation permission.
  4. Type a query in the omnibox that triggers a cross-origin redirect, such as a bang command.
  5. 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.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.