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

Incorrect authorization in Navigation (CVE-2026-95355)

A compromised iOS renderer could forge a navigation to the local error page file, which the browser accepted without proof that it had initiated the load. That let the renderer redirect to a privileged chrome:// WebUI page and gain native bindings, potentially escaping the sandbox.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 5 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 https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A compromised renderer process on iOS can potentially escalate its privileges to a WebUI context. It achieves this by forging a navigation to a local error page file, which bypasses validation and subsequently authorizes a redirect to a privileged chrome:// URL.

Affected files:

  • ios/web/navigation/crw_wk_navigation_handler.mm
  • ios/web/navigation/crw_error_page_helper.mm

Estimated timestamp from git blame: 2025-06-25

Description

A potential Confused Deputy vulnerability exists in the iOS Chromium navigation handler (crw_wk_navigation_handler.mm). It may allow a compromised renderer process (Renderer RCE) to bypass navigation restrictions and force the browser to load and grant privileges to App-Specific URLs (e.g., chrome:// WebUI pages).

The Flaw

The vulnerability stems from insufficient validation of navigations to internal error pages. In ios/web/navigation/crw_wk_navigation_handler.mm, the webView:decidePolicyForNavigationAction:preferences:decisionHandler: method unconditionally allows a navigation if the destination URL is identified as an internal error page:

OBJECTIVEC
// If this is a error navigation, pass through.
if ([CRWErrorPageHelper isErrorPageFileURL:requestURL]) {
  decisionHandler(WKNavigationActionPolicyAllow);
  return;
}

The helper method isErrorPageFileURL: (in ios/web/navigation/crw_error_page_helper.mm) only verifies that the URL scheme is file://, the path matches the expected app bundle path for error_page_loaded.html, and it contains a valid url parameter. It lacks an unforgeable token or state verification to distinguish between a legitimate browser-initiated error page load and a malicious renderer-initiated load.

Potential Exploitation Chain

(Note: These are potential steps based on code analysis; a functional exploit has not been executed).

  1. Renderer Compromise: An attacker achieves Remote Code Execution (RCE) in the sandboxed renderer process (WebContent on iOS).
  2. Path Discovery: The compromised renderer identifies its own iOS app bundle path to construct the exact local file path to error_page_loaded.html.
  3. Forged Navigation: The attacker executes JavaScript in the compromised renderer to initiate a main-frame navigation to the local error page file, bypassing standard web restrictions by appending a target URL: window.location.href = "file://[bundle_path]/error_page_loaded.html?url=chrome://settings".
  4. Policy Bypass: The Browser process receives this request in decidePolicyForNavigationAction:. The isErrorPageFileURL: check returns YES, and the navigation is allowed early, bypassing further security checks.
  5. State Corruption: When the navigation commits, the Browser process updates its internal tracking of the current page URL (self.documentURL) to this malicious file URL.
  6. Error Page Execution: The legitimate error_page_loaded.html file loads in the renderer. Its embedded JavaScript automatically executes window.location.replace(failedUrl), where failedUrl is the chrome://settings parameter.
  7. WebUI Escalation: The renderer initiates a second navigation to chrome://settings. The Browser process evaluates this using shouldAllowAppSpecificURLNavigationAction:. Because the current documentURL is now an error page, the following check passes:
OBJECTIVEC
// Allow navigation to WebUI pages from error pages.
if ([CRWErrorPageHelper isErrorPageFileURL:self.documentURL]) {
  return YES;
}
  1. Sandbox Escape: The Browser process allows the navigation and proceeds to call createWebUIForURL:, which provisions native WebUI bindings to the renderer. The attacker can now send highly privileged IPC messages, resulting in a full Sandbox Escape.

Suggested Fix

Implement an unforgeable, cryptographically secure token mechanism for error pages. When the Browser process legitimately initiates an error page navigation, it should generate a random token, append it to the URL, and store it in the NavigationContext. The isErrorPageFileURL: (or a related check during policy decision) must verify that the token in the URL matches a valid, recently issued token by the Browser. Alternatively, strict checks should be enforced to ensure that file:// navigations to internal error pages can only occur if they are explicitly marked as Browser-initiated.

Evaluated with Chrome root at commit: cc901875d53bf4e4fe0e01f02843871da4106e70


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

Likely the navigation handler trusted any file:// URL matching the internal error page path and parameters, with no unforgeable token proving the browser itself started that load.

Impact

A compromised renderer could gain WebUI privileges and send privileged IPC messages, potentially achieving a full sandbox escape; the report notes no functional exploit was executed.

What the attacker needed

Renderer already compromised (RCE); iOS Chromium build

The fix

Error page navigations should carry an unforgeable random token issued by the browser and checked during the policy decision, or be allowed only when explicitly marked as browser-initiated.

How it was found

  1. Compromise the sandboxed renderer process on iOS.
  2. Work out the app bundle path to the local error page file.
  3. From the renderer, start a main-frame navigation to that file with a chrome:// target in the url parameter.
  4. The browser's error page check passes and the navigation is allowed early.
  5. The error page script redirects to the chrome:// URL, which is now permitted because the current document is an error page.
  6. The browser creates WebUI bindings for the renderer, giving it privileged IPC.

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 phone browser splits work between a sandboxed part that runs web pages and a more powerful part that controls the browser. The report says the sandboxed part could trick the powerful part into opening a special internal page, which would hand it extra powers it should never have.

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.