Insufficient validation of untrusted input in Chrome for iOS (CVE-2026-17789)
The Content Notification system on iOS extracts a destination URL from a push payload and opens it in a new tab without checking the URL scheme. An attacker who can deliver a crafted push notification could cause the browser to navigate to privileged internal pages such as chrome://settings.
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. 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: The Content Notification system on iOS fails to validate the scheme of URLs extracted from push payloads before initiating a navigation. This could allow an attacker to trigger browser-initiated navigations to privileged pages like chrome://.
Affected files:
ios/chrome/browser/content_notification/model/content_notification_client.mm
Estimated timestamp from git blame: 2024-04-03
A potential security bypass exists in the ContentNotificationClient component on iOS. When a user interacts with a content notification (e.g., tapping the notification body), the browser extracts a destination URL from the push payload and opens it in a new tab without sufficient scheme validation.
Technical Details
In ios/chrome/browser/content_notification/model/content_notification_client.mm, the method HandleNotificationInteraction processes notification responses. It retrieves a destination URL from the notification's userInfo dictionary via the ContentNotificationService:
// ios/chrome/browser/content_notification/model/content_notification_client.mm:102
const GURL& url = contentNotificationService->GetDestinationUrl(payload);
if (url.is_empty()) {
// ...
return true;
}
// ...
LoadUrlInNewTab(url);
The implementation only checks if the URL is empty but fails to verify that the scheme is http or https.
The subsequent call to LoadUrlInNewTab (inherited from PushNotificationClient) utilizes the [OpenNewTabCommand commandWithURLFromChrome:url] initializer. This constructor sets an internal fromChrome flag to YES and leads to a navigation with the ui::PAGE_TRANSITION_TYPED transition type.
In the iOS web layer, specifically within CRWWebRequestController and CRWWKNavigationHandler, navigations that are browser-initiated (no opener) and use the TYPED transition are considered trusted. This trust allows them to bypass the security policies that normally prevent arbitrary web content from navigating to app-specific privileged URLs, such as chrome://settings or chrome://inspect.
Potential Attack Scenario
While our analysis is based on code review and we have not executed a live proof-of-concept, the following steps describe a potential attack path:
- An attacker crafts a malicious push notification payload containing a privileged URL (e.g.,
chrome://settings) in the destination field. - The attacker sets the notification's category to
FEEDBACK_IDENTIFIERto ensure it is routed to theContentNotificationClient. - If the push notification is delivered to a user's device and the user interacts with it, the browser would invoke the vulnerable code path.
- The browser would then initiate a privileged navigation, potentially exposing sensitive internal interfaces or settings to the context of the new tab.
Suggested Fix
Validate the URL scheme in ios/chrome/browser/content_notification/model/content_notification_client.mm before proceeding with the navigation. Access should be restricted to standard web schemes unless a specific internal use case is documented and safe.
if (url.is_empty() || !url.is_valid() || !url.SchemeIsHTTPOrHTTPS()) {
return true;
}
Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a
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.
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
The notification handler only checked that the URL was non-empty and did not verify that its scheme was http or https before passing it to a navigation routine that treats the request as trusted.
Impact
If the push is delivered and the user taps it, the browser could open privileged internal pages in a new tab, potentially exposing sensitive internal interfaces or settings; the report is based on code review and no live proof-of-concept was executed.
What the attacker needed
Ability to deliver a push notification; victim taps the notification
The fix
The URL scheme should be validated in the content notification client so that only http and https destinations are allowed before navigating.
How it was found
- Craft a push notification payload whose destination field holds a privileged URL.
- Set the notification category so it is routed to the content notification client.
- Deliver the notification to the user's device.
- Have the user interact with the notification, which invokes the vulnerable code path.
- The browser opens a new tab at the privileged 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.
A push notification can carry a web address that the browser opens when you tap it. This code did not check what kind of address it was, so a malicious notification could make the browser open its own private settings pages instead of a normal website. The report is based on reading the code, not on actually trying it.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.