Skip to content
Access control Advisory Advanced CVE-2026-121196

Privilege elevation in Mobile (CVE-2026-121196)

The Lens Overlay on iOS incorrectly marks navigations from its result page as browser-initiated when opening them in a new tab. This allows a malicious website to redirect to privileged chrome:// URLs, bypassing sandbox restrictions.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 6 months

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 go/chrome-ai-generated-security-bugs-faq for more information.

Overview: The Lens Overlay on iOS incorrectly flags external navigations from the Lens result page as browser-initiated when opening them in a new tab. This allows web content within the Lens results to navigate the browser to privileged chrome:// URLs, bypassing sandbox restrictions.

Affected files:

  • ios/chrome/browser/lens_overlay/coordinator/lens_overlay_coordinator.mm
  • ios/chrome/browser/lens_overlay/coordinator/lens_result_page_mediator.mm
  • ios/chrome/browser/lens_overlay/coordinator/lens_overlay_mediator.mm

Estimated timestamp from git blame: 2026-01-05

Description

A navigation restriction bypass vulnerability exists in the Lens Overlay on iOS. Navigations to non-Google hosts originating from the Lens result page are intercepted and opened in a new tab. However, the mechanism used to open the new tab incorrectly flags the navigation as being initiated by the browser itself, which bypasses security checks designed to prevent web content from navigating to privileged chrome:// URLs.

Technical Details

  1. Navigations within the Lens Overlay results are monitored by LensResultPageMediator. In shouldAllowRequest:decisionHandler:, any main-frame navigation to a non-Google host is cancelled to prevent it from loading within the bottom sheet UI:
OBJECTIVEC
// ios/chrome/browser/lens_overlay/coordinator/lens_result_page_mediator.mm
if (requestInfo.target_frame_is_main && !allowURL.first) {
    // ...
    decisionHandler(web::WebStatePolicyDecider::PolicyDecision::Cancel());
    // ...
    [self.delegate lensResultPageOpenURLInNewTabRequested:URL];
    // ...
}
  1. The request is delegated up to LensOverlayCoordinator (via LensOverlayMediator), which handles it by creating an OpenNewTabCommand using the commandWithURLFromChrome: constructor:
OBJECTIVEC
// ios/chrome/browser/lens_overlay/coordinator/lens_overlay_coordinator.mm
- (void)openURLInNewTab:(GURL)URL {
  OpenNewTabCommand* command =
      [OpenNewTabCommand commandWithURLFromChrome:URL
                                      inIncognito:self.isOffTheRecord];
  // ...
}
  1. The commandWithURLFromChrome: method sets the fromChrome property of the command to YES.

  2. When SceneCoordinator handles this command, it copies the fromChrome flag to the UrlLoadParams. Because fromChrome is true, SceneUrlLoadingService treats the navigation as an internal app action and upgrades the transition type to ui::PAGE_TRANSITION_TYPED. The navigation is then executed with is_renderer_initiated defaulting to false.

  3. When a server redirect to a chrome:// URL is encountered, iOS Chrome checks the transition type to determine if the navigation is permitted (shouldAllowAppSpecificURLNavigationAction:transition: in crw_wk_navigation_handler.mm). Because the transition was upgraded to ui::PAGE_TRANSITION_TYPED, the check passes, and the web sandbox restriction is bypassed.

Potential Exploitation Scenario

  1. An attacker hosts a malicious website (e.g., https://attacker.com/redirect) that returns an HTTP 302 redirect to a privileged internal scheme, such as chrome://policy.
  2. The attacker manages to get a link to this site indexed by Google Lens or embedded in an image processed by Lens.
  3. A user performs a Lens search and interacts with the attacker's link in the Lens result bottom sheet.
  4. LensResultPageMediator intercepts the navigation to the non-Google URL, cancels the request in the current web state, and delegates it to open in a new tab.
  5. LensOverlayCoordinator opens the URL in a new tab using a command constructed with commandWithURLFromChrome:, marking it as a browser-initiated (ui::PAGE_TRANSITION_TYPED) navigation.
  6. The browser initiates the load to https://attacker.com/redirect.
  7. The server responds with a redirect to chrome://policy. Because the navigation context has a TYPED transition, the WKWebView policy decider allows the redirect, granting the attacker access to privileged WebUI pages.

Suggested Fix

In LensOverlayCoordinator::openURLInNewTab:, instead of using [OpenNewTabCommand commandWithURLFromChrome:], instantiate the OpenNewTabCommand directly (or use a different constructor) to ensure that the fromChrome flag is not set and the navigation retains its renderer-initiated status (e.g., transition type ui::PAGE_TRANSITION_LINK).

Evaluated with Chrome root at commit: 4a3e9db74111a3c6c4b3acfd70050a05077cf27a


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

The code uses a constructor that sets a flag indicating the navigation was initiated by the browser, which causes the transition type to be treated as user-typed and bypasses checks for privileged URLs.

Impact

An attacker could navigate the browser to privileged chrome:// pages, potentially accessing sensitive browser functionality.

What the attacker needed

User interacts with a link in Lens results; attacker controls a website with a redirect

The fix

The fix is to avoid using the constructor that sets the fromChrome flag, so the navigation remains renderer-initiated.

How it was found

  1. Attacker hosts a site that redirects to a chrome:// URL.
  2. User opens the attacker's link from Lens results.
  3. The app cancels the in-page navigation and opens it in a new tab using a browser-initiated command.
  4. The browser loads the attacker's site, which redirects to chrome://policy.
  5. The redirect is allowed because the navigation is marked as typed.

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 you tap a link in a special Google Lens view on an iPhone, the app opens it in a new tab. The app mistakenly tells the browser that it started the navigation itself, not the website. This lets a bad website redirect to internal browser pages that are normally off-limits to web content.

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.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.