Inappropriate implementation in TabGroups (CVE-2026-11232)
A logic error in Chrome's shared tab group sync bridge leaves resolved tabs in an internal cache, so stale tab data is re-applied on every later sync update. A malicious collaborator could use this to keep a victim's tab pinned to an attacker-chosen URL for the browser session, supporting phishing.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 2 months
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: A logic error in SharedTabGroupDataSyncBridge::ResolveTabsMissingGroups fails to remove orphaned tabs from the tabs_missing_groups_ cache once their parent group arrives. This causes the stale, cached tab data to be repeatedly re-applied to the local model on every subsequent incremental sync update. A malicious collaborator can exploit this to persistently 'lock' a tab to an attacker-controlled URL for the duration of a browser session, overwriting any user attempts to navigate away.
Affected files:
components/saved_tab_groups/internal/shared_tab_group_data_sync_bridge.cccomponents/saved_tab_groups/public/saved_tab_group_tab.cc
Estimated timestamp from git blame: 2025-06-02
Description
There is a potential logic vulnerability in the SharedTabGroupDataSyncBridge within Chrome's Saved Tab Groups component. When a shared tab is received via sync before its corresponding group entity (a common race condition in distributed systems), it is temporarily stored in an internal cache map, tabs_missing_groups_.
However, SharedTabGroupDataSyncBridge::ResolveTabsMissingGroups fails to erase entries from tabs_missing_groups_ after they have been successfully applied to the model upon the arrival of the missing group entity. Because ResolveTabsMissingGroups is called unconditionally during every subsequent incremental sync update (via ApplyIncrementalSyncChanges), the stale tab data initially cached in the map is repeatedly re-applied to the local tab model.
During re-application, ApplyRemoteTabUpdate finds the tab already exists in the model and calls SavedTabGroupTab::MergeRemoteTab. This function unconditionally overwrites the tab's URL, title, and attribution metadata with the stale values from the cache. This effectively 'locks' the tab's state to the values received during the initial out-of-order sync event.
In contrast, the non-shared implementation in saved_tab_group_sync_bridge.cc correctly implements an iterator-erase pattern to remove resolved tabs from its internal collection.
Impact
This issue allows a malicious collaborator in a shared tab group to force a persistent phishing state. By deliberately inducing a tab-before-group race condition (e.g., by committing a tab with a malicious URL before its new group GUID), an attacker can ensure their chosen URL is permanently enforced on the victim's client for the duration of the browser session.
Any attempt by the victim to navigate away from the malicious URL will be reverted to the attacker's chosen state upon the next unrelated sync event (e.g., a background sync ping or another user updating a different tab). While a browser restart breaks the loop (as the in-memory cache is correctly re-populated only with truly orphaned tabs from disk), the persistence within a single session is a significant security risk for phishing and attribution spoofing.
Potential Attack Steps
Note: These steps are suggested based on code analysis, as our setup does not currently have the ability to run proof-of-concept exploits.
- Attacker Payload: An attacker and victim are in a Shared Tab Group collaboration. The attacker crafts a new Shared Tab Group entity and a malicious Shared Tab entity containing an attacker-controlled URL (e.g.,
https://malicious.example.com). - Induced Race Condition: The attacker sends the sync updates such that the victim's client receives the malicious tab entity before its parent group entity.
- Cache Orphaned Tab: The victim's browser receives the tab in
SharedTabGroupDataSyncBridge::ApplyIncrementalSyncChanges. It callsApplyRemoteTabUpdate, fails to find the group in the local model, and caches the tab's specifics intabs_missing_groups_. - Group Arrives (The Bug): The victim receives the group entity.
ResolveTabsMissingGroupsiterates overtabs_missing_groups_, finds the group, and successfully adds the tab to the local model. However, it fails to erase the tab fromtabs_missing_groups_. - Victim Intervenes: The victim, seeing the unexpected tab, navigates it to a safe URL (e.g.,
https://google.com), updating their local model. - Unrelated Sync Reverts State: Sometime later, an unrelated sync update occurs in the Shared Tab Group.
ApplyIncrementalSyncChangesprocesses it and callsResolveTabsMissingGroupsagain. - Overwriting the Local Model:
ResolveTabsMissingGroupsiterates over thetabs_missing_groups_map, finds the stale, never-erased malicious tab data, and callsApplyRemoteTabUpdate. - Navigation Forced: This cascades down to
SavedTabGroupTab::MergeRemoteTab, which unconditionally overwrites the victim's safe URL with the stale attacker-controlled URL.TabGroupSyncDelegateDesktopsyncs this model change to the UI, forcing the activeWebContentsto navigate back tohttps://malicious.example.com. This loop (steps 6-8) will repeat indefinitely until the browser is restarted.
Suggested Fix
In components/saved_tab_groups/internal/shared_tab_group_data_sync_bridge.cc, modify ResolveTabsMissingGroups to properly erase entries from tabs_missing_groups_ after a successful resolution.
std::optional<syncer::ModelError>
SharedTabGroupDataSyncBridge::ResolveTabsMissingGroups(
syncer::MetadataChangeList& metadata_change_list) {
CHECK(ongoing_write_batch_);
auto it = tabs_missing_groups_.begin();
while (it != tabs_missing_groups_.end()) {
const auto& [tab_guid, tab_missing_group] = *it;
base::Uuid group_guid = base::Uuid::ParseLowercase(
tab_missing_group.specifics.tab().shared_tab_group_guid());
const SavedTabGroup* group = model_wrapper_->GetGroup(group_guid);
if (!group) {
++it;
continue;
}
if (std::optional<syncer::ModelError> error =
ApplyRemoteTabUpdate(tab_missing_group.specifics,
&metadata_change_list, *ongoing_write_batch_,
/*tab_ids_with_pending_model_update=*/{},
tab_missing_group.collaboration_metadata,
tab_missing_group.creation_time,
tab_missing_group.modification_time)) {
return error;
}
// ERASURE FIX:
it = tabs_missing_groups_.erase(it);
}
return std::nullopt;
}
Additionally, consider implementing a discard threshold (TTL) for shared tabs missing groups, similar to the 30-day limit implemented in SavedTabGroupSyncBridge, to prevent permanent orphaned records accumulating on disk.
Evaluated with Chrome root at commit: 0eb4855bda702feaaa8b899336664f97e3df88b8
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. Please feel free to reach out to me if you have concerns or feedback.
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 missing erase from the `tabs_missing_groups_` map after a tab is successfully resolved, so the stale entry is re-applied on every incremental sync.
Impact
A malicious collaborator could persistently force a phishing URL on the victim's tab for the duration of the browser session; a restart breaks the loop, and the report notes the steps are from code analysis without a working proof of concept.
What the attacker needed
Attacker and victim share a tab group; attacker can control sync update order; victim's browser stays open
The fix
The report suggests erasing each resolved entry from the missing-groups map and adding a time limit for orphaned records; it does not say a fix has shipped.
How it was found
- Attacker and victim share a tab group; attacker prepares a tab with an attacker-controlled URL and its parent group.
- Attacker orders the sync updates so the victim receives the tab before its group.
- Victim's client cannot find the group and caches the tab in the missing-groups map.
- The group arrives and the tab is added to the model, but the cache entry is not removed.
- Victim navigates the tab to a safe URL.
- A later unrelated sync update re-applies the stale cached tab and overwrites the victim's URL.
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 can share tab groups between people, and changes travel between browsers as sync updates. When a tab arrives before the group it belongs to, Chrome parks it in a temporary holding list. The code forgets to remove it from that list after the group turns up, so the old tab details keep being pushed back onto the victim's browser and undo their navigation.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.