Incorrect authorization in SiteIsolation (CVE-2026-102330)
A compromised renderer can bypass sandbox origin restrictions by supplying a non-opaque origin during the initial synchronous about:blank commit, because a null NavigationRequest causes sandbox checks to fail. This allows the sandboxed frame to access origin-bound resources like IndexedDB for the attacker's origin.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 6 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 without the security team.
Overview: A compromised renderer can bypass browser-side sandbox restrictions during the initial synchronous about:blank commit by supplying a non-opaque origin. Due to a null NavigationRequest during validation, sandbox checks fail to enforce an opaque origin, allowing the attacker's origin to overwrite the secure state. This grants the sandboxed frame unauthorized access to origin-bound resources like IndexedDB.
Affected files:
content/browser/renderer_host/render_frame_host_impl.cccontent/browser/child_process_security_policy_impl.ccthird_party/blink/common/features.cc
Estimated timestamp from git blame: 2022-02-10
Description
There is a potential logic vulnerability in RenderFrameHostImpl that allows a compromised renderer to bypass sandbox origin restrictions. When a sandboxed iframe is created, the browser securely assigns it an opaque origin. However, an attacker can overwrite this secure origin with a non-opaque origin during the frame's initial synchronous about:blank commit.
Because the NavigationRequest is nullptr during this specific synchronous commit phase, RenderFrameHostImpl::ValidateURLAndOrigin incorrectly evaluates is_sandboxed to false. As a result, when ChildProcessSecurityPolicyImpl validates the origin, it allows the commit because the attacker-supplied origin matches the compromised renderer's process lock. The browser then creates a retroactive NavigationRequest with the attacker's origin and subsequently overwrites the frame's last_committed_origin_ and StorageKey.
With a non-opaque StorageKey, the sandboxed frame successfully bypasses isolation protections and can access origin-bound APIs like IndexedDB and WebAuthn.
Note: The following exploitation steps are potential and suggested by an automated security analysis tool. A working proof-of-concept has not been executed.
Suggested Attacker Steps
- Gain code execution within a renderer process locked to a specific site (e.g.,
https://example.com). - Create a new iframe with the
sandboxattribute (e.g.,<iframe sandbox="allow-scripts"></iframe>). The browser will properly initialize it with a securely derived opaque origin. - Before standard navigation occurs, have the compromised renderer send a forged
DidCommitProvisionalLoadIPC to the browser, simulating the synchronous commit of the initialabout:blankdocument. - In the IPC parameters, deliberately set the
origintohttps://example.com(matching the process lock) instead of the expected opaque origin. - The browser's validation logic short-circuits due to a null
NavigationRequestand accepts the non-opaque origin, updating the frame'sStorageKey. - From within the sandboxed frame, access
window.indexedDB. Because the frame'sStorageKeyis no longer opaque, the browser will grant read/write access tohttps://example.com's databases, successfully escaping the sandbox.
Suggested Fix
- Accurate Sandbox State Evaluation: In
RenderFrameHostImpl::ValidateURLAndOrigin, ifnavigation_requestis null,is_sandboxedshould be derived from the frame's actual sandbox flags (e.g., by checkingbrowsing_context_state_->active_sandbox_flags()) rather than defaulting tofalse. - Strict Origin Enforcement for Sync Commits:
RenderFrameHostImpl::DidCommitNavigationInternalshould strictly verify that the origin provided in a synchronousabout:blankcommit matches the browser-derived origin established inSetOriginDependentStateOfNewFrame, especially for sandboxed frames.
Evaluated with Chrome root at commit: ff3d2b74fa39431785bd60e51463b08fcc71ee33
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
Root cause
Likely, the validation logic treats a null NavigationRequest as meaning the frame is not sandboxed, so it accepts an attacker-supplied non-opaque origin during a synchronous about:blank commit.
Impact
A compromised renderer could escape sandbox isolation and access origin-bound resources such as IndexedDB and WebAuthn for the targeted site, though the report notes that no working proof-of-concept has been executed.
What the attacker needed
Compromised renderer process; renderer locked to a specific site
The fix
The fix should derive the sandbox state from the frame's actual sandbox flags when the navigation request is null, and strictly verify that the origin in a synchronous about:blank commit matches the browser-derived origin.
How it was found
- Gain code execution in a renderer process locked to a specific site.
- Create a sandboxed iframe, which the browser initialises with an opaque origin.
- Send a forged DidCommitProvisionalLoad IPC for the initial about:blank commit.
- Set the origin in the IPC to match the process lock instead of an opaque origin.
- The browser accepts the non-opaque origin and updates the frame's StorageKey.
- Access window.indexedDB from the sandboxed frame to read and write the site's databases.
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 sandboxed iframe is supposed to be isolated from the rest of the website, like a separate room with no key to the main house. This report says a malicious program already running inside the browser could trick the browser into giving that sandboxed iframe the same identity as the main site, letting it read the site's stored data. The trick works because a check is skipped at a very early moment when the iframe first loads.
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.