Insufficient policy enforcement in StorageAccessAPI (CVE-2026-14155)
The permission status-read path for the storage-access permission did not check whether the requesting frame was eligible, so a credentialless or sandboxed frame could query and observe profile-wide storage access grants. This could leak user profile state and act as a cross-partition side-channel through permission change listeners.
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: StorageAccessGrantPermissionContext does not validate permission eligibility on the status-read path. This allows a credentialless, sandboxed, or nonced frame to query and observe profile-wide storage access grants via navigator.permissions.query(). This potentially leaks user profile state and enables a cross-partition side-channel via permission change listeners.
Affected files:
chrome/browser/storage_access_api/storage_access_grant_permission_context.cc
Estimated timestamp from git blame: 2023-09-21
Potential Unpartitioned Storage Access Grant Leak in Credentialless and Sandboxed Frames
Root Cause Analysis
In chrome/browser/storage_access_api/storage_access_grant_permission_context.cc, the write-paths (RequestPermission and DecidePermission) call ValidatePermissionEligibility() to filter out frames that are credentialless, sandboxed without user activation, or have a storage key forbidding unpartitioned storage access.
However, the status-read path, which is invoked when a frame runs navigator.permissions.query({name: 'storage-access'}), resolves to:
ContentSetting
StorageAccessGrantPermissionContext::GetContentSettingStatusInternal(
content::RenderFrameHost* render_frame_host,
const GURL& requesting_origin,
const GURL& embedding_origin) const {
if (render_frame_host && render_frame_host->IsInPrimaryMainFrame()) {
return CONTENT_SETTING_ALLOW;
}
ContentSetting setting = permissions::ContentSettingPermissionContextBase::
GetContentSettingStatusInternal(render_frame_host, requesting_origin,
embedding_origin);
if (setting == CONTENT_SETTING_BLOCK) {
return CONTENT_SETTING_ASK;
}
return setting;
}
This status-read path does not validate frame eligibility. It directly queries the profile-wide HostContentSettingsMap using the requesting and embedding origin URLs. Since credentialless frames commit standard tuple origins (and are only isolated via nonced StorageKeys), the lookup returns the profile-wide CONTENT_SETTING_ALLOW grant if one was previously authorized in a standard context.
Furthermore, registration of the PermissionStatus.onchange listener on the query result registers an observer via the browser-side PermissionControllerImpl::GetSubscriptionCurrentResult(). When a user subsequently grants storage access in a standard context, the restricted frame receives a live state change notification, enabling a cross-partition/cross-sandbox side-channel.
Potential Steps to Reproduce (Note: These are suggested/potential steps, as our tooling agent does not yet have the ability to execute code and run a live proof of concept.)
-
In a standard, non-restricted context, visit
https://top.comwhich embeds a standard cross-site iframehttps://embed.com. Request storage access and obtain a grant, persistingSTORAGE_ACCESS(embed.com, top.com)inHostContentSettingsMapasALLOW. -
Navigate to
https://top.comloaded with a credentialless iframe<iframe credentialless src="https://embed.com">. -
Inside the credentialless iframe, execute:
JavaScript navigator.permissions.query({name: 'storage-access'}).then(s => { console.log(s.state); }); -
Observe if the restricted iframe successfully reads the unpartitioned, profile-persistent storage access grant (resolving to
'granted'instead of'prompt'). -
Attach an
onchangeevent listener to the permission status inside the credentialless frame, grant storage access inside a standard sibling frame of the same origin, and observe if the event fires inside the credentialless frame.
Suggested Fix
In StorageAccessGrantPermissionContext::GetContentSettingStatusInternal, mirror the check criteria from ValidatePermissionEligibility(). When render_frame_host is present, check if the frame is credentialless, sandboxed without allow-storage-access-by-user-activation, has an opaque origin, or if its StorageKey forbids unpartitioned storage access. If any of these conditions hold, return CONTENT_SETTING_ASK instead of querying the profile-wide HostContentSettingsMap (do not call ReceivedBadMessage, as queries from these frames are technically allowed by Web API designs).
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 status-read path skipped the eligibility validation that the write paths performed, so it queried the profile-wide settings map for frames that should have been filtered out.
Impact
A restricted frame could learn profile-wide storage access grants and receive live change notifications, creating a cross-partition side-channel; the report notes the steps are potential and were not executed.
What the attacker needed
Existing storage access grant; credentialless or sandboxed frame; attacker controls embedded page
The fix
The status-read path should apply the same eligibility checks as the write paths and return ask for ineligible frames instead of querying the profile-wide settings map.
How it was found
- In a normal context, get a storage access grant for an embedded cross-site frame so it is stored as allowed.
- Load the top page with a credentialless iframe pointing at the same embedded origin.
- Inside the credentialless iframe, query the storage-access permission and read its state.
- Check whether the restricted frame sees the grant as granted rather than prompt.
- Add a change listener in the restricted frame, grant access in a normal sibling frame, and see whether the event fires.
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.
Browsers let sites ask whether a permission is granted, and normally only trusted contexts should get a real answer. Here a restricted frame (one deliberately cut off from normal storage and identity) could still ask and learn whether the user had granted storage access elsewhere. That reveals something about the user's browsing state and lets the frame notice when the grant changes.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.