Insufficient validation of untrusted input in FileSystem (CVE-2026-11078)
The FileSystemAccessObserverHost::Observe() path did not check that a transfer token's origin matched the origin bound to the calling context. A compromised renderer for one origin could therefore use another origin's transfer token to observe file system changes on directories granted only to that other origin.
- Fix shipped in 58 days
Steps to reproduce the problem
-
Apply the attached patch from the root of the Chromium src tree: git apply fsa_observer_xorigin_bypass.patch
-
Build: autoninja -C out/Default content_browsertests
-
Run: out/Default/content_browsertests
--gtest_filter='ObserverCrossOriginTokenBypass' -
Observe the output:
- "ObserveAcceptsCrossOriginToken" PASSES with log: "VULNERABILITY CONFIRMED: Observe() accepted a transfer token from https://victim.example on an ObserverHost bound to https://attacker.example"
- "ResolveTransferTokenRejectsCrossOriginToken" PASSES, confirming origin validation works on other code paths and is only missing from Observe().
Problem Description
FileSystemAccessObserverHost::DidResolveTransferTokenToObserve() does not validate the transfer token's origin against the binding context's origin before using the token.
A compromised renderer for origin B can call Observe() with a transfer token belonging to origin A, gaining the ability to observe file system changes on directories granted exclusively to origin A. The observation is backed by origin A's permission grants, meaning handles delivered through change notifications carry origin A's read/write permissions.
Root Cause: In file_system_access_observer_host.cc, DidResolveTransferTokenToObserve() checks:
- Whether the resolved token is non-null
- Whether the read grant has GRANTED status
But it doesn't check whether resolved_token->origin() matches binding_context().storage_key.origin().
All other transfer token redemption paths perform this check:
- DidResolveTransferTokenForFileHandle (manager_impl.cc:1442) calls IsValidTransferToken()
- DidResolveTransferTokenForDirectoryHandle (manager_impl.cc:1467) calls IsValidTransferToken()
The IsValidTransferToken() function (manager_impl.cc:302) compares token->origin() against the expected origin from the binding context. This check is simply missing from the Observe() path.
Impact:
- Cross-origin file observation: attacker monitors file changes in directories granted to another origin
- Permission grant leakage: directory handles created from the token carry victim origin's read/write grants
Summary
Missing origin check in FileSystemAccessObserverHost::Observe() allows cross-origin file observation
Custom Questions
Reporter credit:
Eran Rom of Palo Alto Networks
Additional Data
Category: Security
Chrome Channel: Canary
Regression: N/A \
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 Observe() redemption path omitted the origin comparison that IsValidTransferToken() performs on all other transfer token redemption paths.
Impact
A compromised renderer for one origin could observe file system changes in directories granted exclusively to another origin, and handles delivered through those notifications could carry the victim origin's read/write permissions.
What the attacker needed
Compromised renderer for another origin; a valid transfer token from the victim origin
The fix
The Observe() path should validate the resolved token's origin against the binding context's origin, matching the IsValidTransferToken() check used by the other redemption paths.
How it was found
- Apply the supplied patch to the Chromium source tree.
- Build the content_browsertests target.
- Run the ObserverCrossOriginTokenBypass test filter.
- Observe that the cross-origin Observe() test passes, confirming the vulnerability, while the resolve-path test passes, showing validation exists elsewhere.
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 transfer token is a short-lived credential that lets one part of the browser hand file access to another. Here the code accepted a token from a different website without checking who it belonged to, so a malicious page could watch files that were only shared with a different site. The fix is to compare the token's origin with the caller's origin, as other code paths already do.
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.