Inappropriate implementation in Chrome for iOS (CVE-2026-11214)
The iOS Chrome 'Save to Drive' feature searches for its destination folder without restricting results to folders owned by the user, so an attacker can create a matching folder and share it with a victim. When the victim saves a file, the newer attacker-owned folder is selected and the file is uploaded there, allowing the attacker to view and exfiltrate it.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 34 days
Flapjack, 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: The GCRDriveFileUploader class on iOS searches for the 'Save to Drive' destination folder without restricting the query to folders owned by the user. An attacker can create a folder using Chrome's public Client ID, set the expected application properties, and share it with a victim. When the victim uses the 'Save to Drive' feature, their files may be silently uploaded to the attacker's shared folder, leading to potential data exfiltration.
Affected files:
google_internal/Source/Drive/GCRDriveFileUploader.m
Estimated timestamp from git blame: Unknown (Google3 checkout)
Description
There is a potential folder hijacking vulnerability in the iOS Chrome "Save to Drive" feature. The GCRDriveFileUploader class identifies the destination folder by searching Google Drive for a specific name and a custom appProperties flag (isSavedFromChromeToDriveFolder). However, the search query fails to restrict the results to folders owned by the current user.
Because Google Drive API appProperties are scoped to the Application ID (OAuth Client ID) and not the individual user, any user authenticated via the same Client ID can view and set these properties. The Chrome iOS Client ID is embedded in the application and easily accessible. An attacker can use this Client ID to create a matching folder and share it with a victim.
In google_internal/Source/Drive/GCRDriveFileUploader.m (lines 72-109), the query is built as follows:
74: GTLRDriveQuery_FilesList *query = [GTLRDriveQuery_FilesList query];
75: query.q =
76: [NSString stringWithFormat:@"mimeType='%@'", ...];
80: query.q =
81: [query.q stringByAppendingFormat:@" and name='%@'", ...];
84: query.q =
85: [query.q stringByAppendingFormat:@" and appProperties has { key='%@' and value='true' }", ...];
89: query.q = [query.q stringByAppendingFormat:@" and trashed=false"];
91: query.orderBy = @"createdTime desc";
The query orders results by createdTime desc and selects the first match (items.files.firstObject.identifier). If an attacker shares a newly created malicious folder with the victim, it will appear at the top of the search results, bypassing the user's legitimate, older "Saved from Chrome" folder.
Potential Attack Scenario
The following are suggested steps an attacker might take to trigger this issue (note that these are theoretical steps as our tooling cannot run live PoC code):
- The attacker extracts the public OAuth Client ID for the Chrome iOS application (e.g., from network traffic or internal configuration files).
- The attacker authenticates with the Google Drive API using this Client ID and their own Google account.
- The attacker creates a folder with the expected localized name (e.g., "Chrome Uploads") and sets the
isSavedFromChromeToDriveFolderapplication property totrue. - The attacker shares this folder with the victim's email address, granting them "writer" access.
- The victim uses Chrome iOS and triggers a "Save to Drive" action.
searchChromeFolderWithName:completion:executes the query, which includes the attacker's shared folder.- Due to
createdTime descordering, the newer attacker folder is selected as the destination. - Chrome uploads the victim's file to the attacker's folder, allowing the attacker to view and exfiltrate the victim's private data.
Suggested Fix
The search query in searchChromeFolderWithName: should explicitly verify folder ownership by adding 'me' in owners to the query string. This ensures that folders shared by third parties are explicitly excluded from the results.
query.q = [query.q stringByAppendingFormat:@" and 'me' in owners"];
Evaluated with Chrome root at commit: HEAD (Google3)
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
Impact
A victim's saved files could be silently uploaded to an attacker-controlled shared folder, allowing the attacker to view and exfiltrate private data; the report notes these are theoretical steps and no live proof of concept was run.
What the attacker needed
Attacker knows Chrome iOS OAuth Client ID; attacker has a Google account; victim shares folder access with attacker; victim uses Save to Drive in Chrome iOS
The fix
The search query should be changed to require that the current user is an owner of the folder, so folders shared by third parties are excluded.
How it was found
- The attacker obtains the public OAuth Client ID for the Chrome iOS app.
- The attacker authenticates to the Google Drive API with that Client ID and their own account.
- The attacker creates a folder with the expected name and sets the expected application property.
- The attacker shares the folder with the victim's email address with writer access.
- The victim triggers a 'Save to Drive' action in Chrome iOS.
- The search query returns the attacker's newer folder first, so the victim's file is uploaded there.
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 on iPhone has a 'Save to Drive' button that puts your file into a folder in your Google Drive. The app looks for that folder by its name and a hidden label, but it does not check who owns the folder. An attacker can make a folder with the same name and label, share it with you, and because it is newer it gets picked first, so your file ends up in their folder instead of yours.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.