Improper privilege management in Navigation (CVE-2026-78999)
A compromised chrome-untrusted:// renderer can navigate the main browser window to privileged chrome:// and file:// URLs because untrusted WebUIs inherit requestable schemes and their navigation requests are treated as browser-initiated. An attacker could open sensitive local files or settings pages.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 5 months
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: A compromised chrome-untrusted:// renderer, such as the Read Anything side panel, can potentially navigate the main browser window to sensitive chrome:// and file:// URLs. This occurs because untrusted WebUIs incorrectly inherit privileged requestable schemes, and their navigation requests are subsequently laundered as browser-initiated.
Affected files:
chrome/browser/ui/read_anything/read_anything_side_panel_web_view.cccontent/browser/renderer_host/navigator.cccontent/browser/webui/web_ui_impl.cccontent/browser/renderer_host/render_frame_host_impl.ccui/webui/untrusted_web_ui_controller.cc
Estimated timestamp from git blame: 2024-12-10
Description
There is a potential security bypass in the chrome-untrusted:// security model. A compromised renderer hosting a chrome-untrusted:// page (such as the Read Anything side panel) can force the main browser window to navigate to highly privileged URLs, such as chrome://settings or file:///etc/passwd.
This violates the core security boundary of chrome-untrusted://, which is designed to process untrusted content without having privileges greater than a standard web page.
Technical Details & Step-by-Step Root Cause
- Incorrect Default Permissions: When a
chrome-untrusted://page loads, aWebUIImplobject is created. In its constructor (content/browser/webui/web_ui_impl.cc),requestable_schemes_is initialized by default to includekChromeUIScheme(chrome://) andurl::kFileScheme(file://). - Incomplete Privilege Dropping: The browser creates an
UntrustedWebUIController(e.g.,ReadAnythingUntrustedUI) for the page. WhileUntrustedWebUIControllercorrectly clears Mojo bindings (web_ui->SetBindings(...)), it fails to clear the privilegedrequestable_schemes_from the underlyingWebUIImpl. - Process-Level Granting: When the navigation commits,
RenderFrameHostImpl::SetWebUIiterates overweb_ui_->GetRequestableSchemes()and explicitly grants the untrusted renderer process permission to request these schemes viaChildProcessSecurityPolicyImpl::GrantRequestScheme. - Bypassing URL Filters: If a compromised renderer sends an
OpenURLMojo IPC requesting a navigation tochrome://settings,RenderFrameHostImpl::OpenURLvalidates it. Because the scheme was explicitly granted in the previous step,ChildProcessSecurityPolicyImpl::CanRequestURLreturns true, and the URL is not blocked. - Navigation Laundering: The request proceeds to
Navigator::RequestOpenURL. This function contains a flawed check:if (render_frame_host->web_ui()). Since thechrome-untrusted://frame has a WebUI object, the code unconditionally setsparams.is_renderer_initiated = false, laundering the malicious renderer-initiated request into a trusted browser-initiated request. - Forwarding and Execution: The delegate,
ReadAnythingSidePanelWebView::OpenURLFromTab, forwards these laundered parameters directly to the main browser window. Becauseis_renderer_initiatedis false, critical security checks inNavigationRequest(e.g.,!commit_params_->is_browser_initiated && ...) are completely bypassed, and the privileged page is opened.
Potential Attacker Steps
Note: Our tooling agent does not currently have the ability to run code or provide a working proof-of-concept. These are the suggested steps an attacker would follow based on static code analysis.
- The attacker convinces the user to open the Read Anything side panel (or targets a user who uses it).
- The attacker serves malicious web content that triggers a memory corruption or logic bug in the
chrome-untrusted://renderer process parsing the content, achieving Remote Code Execution (RCE) within the sandbox. - Using the compromised renderer, the attacker crafts and sends a
FrameHost::OpenURLMojo IPC to the browser process withurl='file:///etc/passwd'(or a sensitivechrome://page) anddisposition=NEW_FOREGROUND_TAB. - The browser processes the IPC, launders the navigation as browser-initiated, and opens the local file or settings page in the user's main browser tab.
Suggested Fix
- Fix
UntrustedWebUIController: In the constructor ofui::UntrustedWebUIController(ui/webui/untrusted_web_ui_controller.cc), explicitly clear the requestable schemes inherited fromWebUIImpl. This can be done by adding a method likeweb_ui->ClearRequestableSchemes()or explicitly setting them to an empty list. - Harden
Navigator::RequestOpenURL: The logic inNavigator::RequestOpenURL(content/browser/renderer_host/navigator.cc) should not blindly setparams.is_renderer_initiated = falsefor all WebUIs. It should ideally checkWebUIController::GetTrustPolicy()and only launder navigations for trusted WebUIs.
Evaluated with Chrome root at commit: a9cbf6e8b275fe4147435aa905f3b7f5a656f5f0
Results from 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
Root cause
Likely, untrusted WebUIs inherit privileged requestable schemes from WebUIImpl and their navigation requests are incorrectly marked as browser-initiated, bypassing security checks.
What the attacker needed
Victim opens Read Anything side panel; attacker compromises renderer
The fix
The fix should clear requestable schemes in UntrustedWebUIController and harden Navigator::RequestOpenURL to only launder navigations for trusted WebUIs.
How it was found
- The attacker convinces the user to open the Read Anything side panel.
- The attacker serves malicious content that compromises the chrome-untrusted:// renderer process.
- The compromised renderer sends an OpenURL IPC requesting a privileged URL.
- The browser processes the IPC, launders the navigation as browser-initiated, and opens the privileged page.
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 has a special mode for untrusted web content, like a side panel, that should not be able to open sensitive browser pages. This report found that a bug lets that untrusted content trick the browser into opening pages like settings or local files, which could expose private information.
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.