Policy bypass in StorageAccessAPI (CVE-2026-14156)
The Storage Access API renewal path in Chromium lacked checks for credentialless, sandboxed, or partitioned frames, so user activation in such contexts could renew an unpartitioned storage access grant indefinitely. A compromised renderer could also trigger renewal without a real user gesture.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 32 days
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: StorageAccessAPITabHelper::FrameReceivedUserActivation is missing critical validation gates present in other Storage Access API write paths. Consequently, credentialless, sandboxed, or partitioned contexts can inappropriately renew unpartitioned STORAGE_ACCESS content settings, potentially extending their lifespan indefinitely. In addition, compromised renderers can trigger this renewal without any actual user activation.
Affected files:
chrome/browser/storage_access_api/storage_access_api_tab_helper.cc
Estimated timestamp from git blame: 2023-06-27
Root Cause
In chrome/browser/storage_access_api/storage_access_api_tab_helper.cc, StorageAccessAPITabHelper::FrameReceivedUserActivation is invoked when a subframe receives user activation to renew the corresponding profile-wide STORAGE_ACCESS content setting:
void StorageAccessAPITabHelper::FrameReceivedUserActivation(
content::RenderFrameHost* rfh) {
if (rfh->IsInPrimaryMainFrame()) return;
#if BUILDFLAG(ENABLE_GUEST_VIEW)
if (guest_view::GuestViewBase::IsGuest(rfh)) return;
#endif
if (rfh->GetLastCommittedOrigin().opaque() ||
rfh->GetParentOrOuterDocument()->GetLastCommittedOrigin().opaque()) {
return;
}
service_->RenewPermissionGrant(
rfh->GetLastCommittedOrigin(),
rfh->GetParentOrOuterDocument()->GetLastCommittedOrigin());
}
Unlike the sibling permission request path (ValidatePermissionEligibility in chrome/browser/storage_access_api/storage_access_grant_permission_context.cc), FrameReceivedUserActivation only checks for opaque origins. It lacks several critical security gates:
rfh->IsCredentialless()rfh->IsSandboxed(network::mojom::WebSandboxFlags::kStorageAccessByUserActivation)rfh->GetStorageKey().ForbidsUnpartitionedStorageAccess()
Because a credentialless or sandboxed (with allow-same-origin) subframe commits with its non-opaque tuple origin (e.g., https://embed.com), it passes the .opaque() origin check. Consequently, user activation in these partitioned contexts falls through to service_->RenewPermissionGrant, which resets the 30-day expiry of the unpartitioned STORAGE_ACCESS rule.
Furthermore, because the browser process trusts the renderer's user activation state updates via Mojo without secondary verification, a compromised renderer can repeatedly send LocalFrameHost::UpdateUserActivationState to renew the unpartitioned grant without any physical user gesture.
Potential Trigger Sequence
The following are suggested steps that could be used to trigger the issue (please note that our tooling does not currently have the capability to run code or dynamically verify this PoC):
- A browser profile has a pre-existing unpartitioned
STORAGE_ACCESSgrant allowed for the origin pair(https://embed.com, https://top.com)with a standard 30-day lifespan (created via a previous validdocument.requestStorageAccess()flow). - The user navigates to
https://top.com, which embeds a partitioned context pointing tohttps://embed.com/page(using either<iframe credentialless>or<iframe sandbox="allow-same-origin allow-scripts">). - Inside the subframe, a user gesture (such as a click) occurs, or a compromised renderer sends a Mojo message representing user activation:
- Interface:
blink::mojom::LocalFrameHost - Method:
UpdateUserActivationState(kNotifyActivation, kInteraction)
- Interface:
- The browser receives the notification, propagates it up the frame ancestors via
FrameTreeNode::NotifyUserActivation, and fires theFrameReceivedUserActivationobserver. StorageAccessAPITabHelper::FrameReceivedUserActivationexecutes, passes the basicopaque()checks, and triggersStorageAccessAPIServiceImpl::RenewPermissionGrant(https://embed.com, https://top.com).- The unpartitioned
STORAGE_ACCESScontent setting is updated viaHostContentSettingsMap::RenewContentSetting, extending its lifetime by another 30 days.
Suggested Fix
To resolve this potential issue, StorageAccessAPITabHelper::FrameReceivedUserActivation should incorporate validation checks to verify frame eligibility before calling RenewPermissionGrant. For example:
if (rfh->IsCredentialless() ||
rfh->IsSandboxed(
network::mojom::WebSandboxFlags::kStorageAccessByUserActivation) ||
rfh->GetStorageKey().ForbidsUnpartitionedStorageAccess()) {
return;
}
This aligns the renewal path's security constraints with those of the permission context path, ensuring partitioned or restricted contexts cannot interact with or renew unpartitioned permission state.
Evaluated with Chrome root at commit: 208ca3371d87589335b108c431b95a36d768dc47
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 function that renews storage access permission on user activation only checked for opaque origins and omitted the credentialless, sandbox, and storage-key partition checks used by the normal permission request path.
Impact
A restricted or partitioned frame could keep an unpartitioned storage access permission alive indefinitely, and a compromised renderer could renew it without any real user gesture.
What the attacker needed
Existing storage access grant; victim visits top-level site; embedded frame in restricted context; user gesture or compromised renderer
The fix
The renewal function should reject credentialless frames, frames sandboxed against storage access by user activation, and storage keys that forbid unpartitioned storage access before renewing the grant.
How it was found
- Have an existing unpartitioned storage access grant for an origin pair with a 30-day lifespan.
- Navigate to the top-level site, which embeds the other origin in a credentialless or sandboxed iframe.
- Trigger a user gesture inside the subframe, or have a compromised renderer send a user activation message.
- The browser propagates the activation and calls the renewal observer.
- The renewal function passes its opaque-origin checks and renews the permission grant.
- The content setting's expiry is extended by another 30 days.
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.
Websites can ask the browser for permission to keep using their stored data across sites, and that permission normally expires after 30 days. This report found that a page could accidentally or maliciously reset that timer from a restricted frame, making the permission last forever. A hacked browser tab could also pretend a user clicked something when they did not.
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.