Skip to content
Info disclosure Advisory Intermediate CVE-2026-78957

Information leak in Mobile (CVE-2026-78957)

Chrome for iOS stored widget avatar images in a shared App Group folder that was never excluded from iCloud and local backups, and named each file with the account's unhashed Google Gaia ID. Anyone who obtained a device backup could read those identifiers and profile pictures, linking the device owner to their signed-in accounts.

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: In Chrome for iOS, the widgets avatar folder is created and written to within the shared App Group container without backup exclusion attributes. As a result, the stable, unhashed Google Gaia IDs and avatar image files of all signed-in Google accounts are included in iCloud and unencrypted local backups. Anyone who obtains access to these backups can deanonymize the device owner and other linked accounts.

Affected files:

  • ios/chrome/common/app_group/app_group_helper.mm
  • ios/chrome/browser/signin/model/system_account_updater.mm

Estimated timestamp from git blame: 2025-02-10

Description

On iOS, files written to the shared App Group container are included in iCloud and iTunes/Finder backups by default unless they are explicitly marked with the backup exclusion attribute (NSURLIsExcludedFromBackupKey) or placed in specific non-backed-up directories (like Library/Caches or tmp).

Chrome for iOS creates a folder at {AppGroup}/Chrome/AvatarData/ to cache 32x32 PNG avatar images of signed-in accounts for widgets. However, during the creation of this folder and the subsequent file writes, the backup exclusion attribute is never set.

Furthermore, the avatar files are named using the user's unhashed, cleartext Google Gaia ID (e.g., {GaiaID}.png), and contain their profile picture. This allows any adversary with access to device backups to deanonymize the user and identify any work, personal, or secondary Google accounts signed into the browser.

Code Analysis

1. Folder Creation without Exclusion

In ios/chrome/common/app_group/app_group_helper.mm:54-74, the directory is created but is not excluded from backups:

OBJC
+ (NSURL*)widgetsAvatarFolder {
  NSString* applicationGroup = [AppGroupHelper applicationGroup];
  if (!applicationGroup) { return nil; }
  NSURL* groupURL = [[NSFileManager defaultManager]
      containerURLForSecurityApplicationGroupIdentifier:applicationGroup];
  NSURL* chromeURL = [groupURL URLByAppendingPathComponent:@"Chrome" isDirectory:YES];
  NSURL* pictureDataURL = [chromeURL URLByAppendingPathComponent:@"AvatarData"
                                                     isDirectory:YES];
  if (![[NSFileManager defaultManager] createDirectoryAtPath:pictureDataURL.path
                                 withIntermediateDirectories:YES
                                                  attributes:nil error:nil]) {
    return nil;
  }
  return pictureDataURL; // <-- Missing base::apple::SetBackupExclusion()
}

2. Filename is the Cleartext Gaia ID

In ios/chrome/browser/signin/model/system_account_updater.mm:91-95, the filename is constructed directly using the cleartext Gaia ID:

OBJC
NSURL* avatar_path(NSURL* directory) const {
  return [directory URLByAppendingPathComponent:
              [gaia_id_.ToNSString() stringByAppendingPathExtension:@"png"]];
}

3. Writing Files without Exclusion

In ios/chrome/browser/signin/model/system_account_updater.mm:147-177, the avatar image data is written atomically to disk without applying the backup exclusion key to individual files:

OBJC
for (const SystemIdentityInfoData& info : list) {
  NSData* data = info.avatar_data();
  if (data) {
    NSURL* path = info.avatar_path(avatar_folder);
    if ([data writeToURL:path atomically:YES]) {
      [avatars addObject:path];
    }
  }
}

Potential Trigger Path (Suggested Steps)

Note: The following steps are potential and suggested; our tooling does not currently have the capability to execute live code to verify this Proof of Concept.

  1. A user launches Chrome on iOS and signs into one or more Google accounts.
  2. Upon startup or identity change, SystemAccountUpdater is initialized unconditionally, registering as an observer of SystemIdentityManager.
  3. SystemAccountUpdater::UpdateLoadedAccounts() retrieves the active identities and schedules a background task running WriteAvatars.
  4. WriteAvatars creates {AppGroup}/Chrome/AvatarData/ and writes {GaiaID}.png files into it.
  5. The user backs up the device via iCloud or performs an unencrypted backup via iTunes/Finder on a computer.
  6. An attacker gains access to the backup, extracts the App Group container contents, and locates the folder Chrome/AvatarData/ to recover the unhashed Gaia IDs and profile photos of the signed-in accounts.

Suggested Fix

Exclude the AvatarData directory from backups once it is created in +[AppGroupHelper widgetsAvatarFolder]. Import base/apple/backup_util.h and call base::apple::SetBackupExclusion on the folder URL:

OBJC
#import "base/apple/backup_util.h"
#import "base/apple/foundation_util.h"

// ... inside +[AppGroupHelper widgetsAvatarFolder] ...
  if (![[NSFileManager defaultManager] createDirectoryAtPath:pictureDataURL.path
                                 withIntermediateDirectories:YES
                                                  attributes:nil error:nil]) {
    return nil;
  }
  base::apple::SetBackupExclusion(base::apple::NSURLToFilePath(pictureDataURL));
  return pictureDataURL;

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.

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 avatar cache folder was created and written without the iOS backup exclusion attribute, and files were named with the cleartext Gaia ID rather than a hashed value.

Impact

An attacker with access to a device backup could deanonymise the device owner and identify work, personal or secondary Google accounts; the text notes the trigger path was not executed live, and encrypted backups would limit exposure.

What the attacker needed

Chrome for iOS with a signed-in account; Attacker obtains a device backup

The fix

The avatar folder should be marked with the backup exclusion attribute when it is created.

How it was found

  1. Sign into one or more Google accounts in Chrome on iOS.
  2. The account updater starts and schedules writing of avatars.
  3. The avatar folder is created and avatar files named after each Gaia ID are written.
  4. The device is backed up to iCloud or via an unencrypted local backup.
  5. An attacker with the backup extracts the App Group container and reads the avatar folder.

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 an iPhone backs up, most app files are copied into the backup unless the app explicitly says 'do not back this up'. Chrome for iOS saved small profile pictures for its widgets in such a folder and named each picture after a permanent numeric ID for the Google account. Someone who gets hold of the backup file can therefore see which Google accounts were used on the phone and who they belong to.

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.