UI misrepresentation in FileSystem (CVE-2026-95363)
The File System Access omnibox icon does not update on cross-origin navigations, so a malicious site can make it appear that a new origin has file access. A global singleton also lets any site close the FSA usage bubble in other windows, disrupting permission audits.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 3 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: The File System Access (FSA) omnibox icon fails to update on cross-origin navigations, allowing a malicious site to spoof access permissions for new origins. Additionally, a global singleton management flaw allows any site to programmatically close the FSA usage bubble in other browser windows, preventing users from auditing permissions.
Affected files:
chrome/browser/ui/views/file_system_access/file_system_access_page_action_controller.ccchrome/browser/ui/views/file_system_access/file_system_access_usage_bubble_view.cc
Estimated timestamp from git blame: 2025-04-11
Description
The FileSystemAccessPageActionController manages the visibility of the File System Access omnibox icon but suffers from two related logical flaws that affect the integrity and availability of its security UI.
1. UI Spoofing via Persistent Icon State
The FileSystemAccessPageActionController does not implement content::WebContentsObserver or tabs::TabInterface::Observer to monitor navigations. It relies entirely on ChromeFileSystemAccessPermissionContext::DoUsageIconUpdate() to call its UpdateVisibility() method.
When a tab navigates cross-origin, FileSystemAccessTabHelper::DidFinishNavigation calls NavigatedAwayFromOrigin(). Because the kFileSystemAccessPersistentPermissions feature is enabled by default on desktop, this function does nothing and returns immediately. As a result, ScheduleUsageIconUpdate() is not called, and the FSA icon remains visible, falsely indicating that the newly navigated-to origin has local file access.
2. Cross-Window Denial of Service of Security UI
When DoUsageIconUpdate() runs (e.g., when permissions are granted or revoked), it iterates over all open browser windows and calls UpdateVisibility() on the active tab of each window. If a tab lacks FSA access, the controller executes the following code:
} else {
FileSystemAccessUsageBubbleView::CloseCurrentBubble();
HideIcon();
}
CloseCurrentBubble() relies on a global static pointer (bubble_). This unconditionally closes the currently active FSA usage bubble globally, even if the user had opened it to audit permissions on a legitimate site in a completely different browser window.
Potential Steps to Reproduce
Note: These are potential steps based on source code analysis; a functional proof-of-concept has not been run.
UI Spoofing:
- Attacker hosts a site and tricks the victim into granting it File System Access. The FSA icon appears.
- The attacker's script opens a second tab to the same origin in the background (to keep the origin active).
- In the first tab, the script triggers a cross-origin navigation:
window.location = "https://bank.com". - The navigation completes, but the
PageActionControlleris never updated. The FSA icon persists alongsidebank.com.
Cross-Window DoS:
- The victim opens Window A, visits a legitimate site (e.g., github.com), and grants it File System Access.
- The victim clicks the FSA icon in Window A to open the security audit bubble.
- In Window B, the attacker triggers a permission state change (e.g., by deleting a file they previously had write access to, triggering
NotifyEntryRemoved->ScheduleUsageIconUpdate()). DoUsageIconUpdate()runs, evaluates the active tab in Window B, finds it has no access, and callsFileSystemAccessUsageBubbleView::CloseCurrentBubble().- The global pointer
bubble_is used to close the bubble in Window A, interrupting the user's security audit.
Suggested Fix
- Spoofing: Make
FileSystemAccessPageActionControllerimplementcontent::WebContentsObserverortabs::TabInterface::Observerand explicitly hide the icon upon cross-origin navigations, similar to how other page action controllers operate. - DoS: Remove the global static
bubble_pointer inFileSystemAccessUsageBubbleView. Bubble management should be scoped to the specificBrowser,WebContents, orPageActionControllerinstance so that updating the icon in one window cannot interfere with the security UI of another.
Evaluated with Chrome root at commit: 2155cb00003ec35716a76ed3246eae995f87b7ff
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
Likely the page action controller does not observe navigations and relies on a global bubble pointer, so it misses cross-origin changes and closes bubbles across windows.
Impact
A malicious site could mislead users about file access permissions and could close security audit bubbles in other windows, but the report notes that no functional proof-of-concept has been run.
What the attacker needed
Victim grants file access to attacker site; attacker opens a background tab; victim opens the FSA bubble in another window
The fix
The controller should observe navigations and hide the icon on cross-origin changes, and bubble management should be scoped to the specific browser or tab instead of a global pointer.
How it was found
- The attacker tricks the victim into granting File System Access, so the FSA icon appears.
- The attacker opens a second tab to the same origin in the background.
- In the first tab, the attacker triggers a cross-origin navigation.
- The navigation completes but the FSA icon persists on the new origin.
- In another window, the victim opens the FSA usage bubble on a legitimate site.
- The attacker triggers a permission state change, which closes the bubble in the victim's window.
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.
The browser shows a small icon when a website can read or write your files. This report says the icon can stay visible after you move to a different website, so you might think the new site has file access when it does not. It also says one website can close a security pop-up that you opened in another window.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.