Side-channel information leakage in Storage (CVE-2025-11207)
Originally disclosed on Chrome VRP
- Fix shipped in 3 months
SUMMARY
A PiP window can obscure the file/directory picker dialog, using the File System Access (FSA) API. Without user awareness, an attacker can:
- Read environment variables (similar to issue 40057200)
- Read/write files (similar to issue 40076120)
Using the FSA API bypasses existing protections that only apply to file/dir picker dialogs opened from file-type inputs.
VULNERABILITY DETAILS
A PiP window can obscure a file/directory picker dialog opened through the FSA API: showSaveFilePicker(), showOpenFilePicker(), or showDirectoryPicker().
Prior fixes only mitigate for file-type inputs, not FSA API
There are two fixes for issue 40076120, but neither mitigate the same vulnerability in file/dir pickers opened through the FSA API. They only mitigate the vuln for file/dir pickers opened through file-type inputs.
The first fix in https://crrev.com/c/5753110 (September 2024) blocked or closed PiP windows if a file picker was open (feature flag FileDialogsBlockPictureInPicture).
The first fix was disabled in https://crrev.com/c/6318768 (March 3rd, 2025) and a new fix was introduced in https://crrev.com/c/6449682 (June 10th, 2025). The new fix tucks the PiP window instead of blocking/closing it (feature flag FileDialogsTuckPictureInPicture).
Neither fix mitigates the vulnerability when using FSA API file/dir pickers, verified by enabling/disabling the features (see attached videos). On current 138.0.7204.50 Stable, neither fix is enabled so both attack approaches work anyway.
Impacts
Scenario 1: Read environment variables
An attacker can exfiltrate environment variables (similar to issue 40057200) on Windows by saving a file with the environment variable names (e.g. %username%-%service_secret_key%). The env var names are replaced with their values when saving the file, and we can read the file name containing the values.
To perform the attack, we write the env var names into the clipboard and then ask user to paste the payload into the file picker dialog while it's obscured by the PiP window. After the user presses enter to save the file, we read the file name which now contains the env var values. We then delete the file to clean up the attack.
There's code to sanitize pre-filled file names in the file picker dialog, but we work around this by having the user paste our payload into the dialog.
Env var exfil is possible with the FSA API but not with file-type inputs because file-type inputs use open dialogs, not save dialogs. An attacker needs to use save dialogs to get a file handle with the env var values in its file name.
Scenario 2: Read+write file/dir
An attacker can read and write to a mostly-arbitrary file/dir without user awareness.
Similar to the first scenario, we write the file/dir path into the clipboard and ask user to paste payload into the dialog while it's obscured. This allows us to use env vars or known paths that would otherwise not be pre-fillable through the FSA API.
After issue 40076120 was filed, more protections were added to block access to common sensitive directories, but users may still have files of interest in non-blocked directories. Outside of these blocked dirs, path is arbitrary.
VERSION
Chrome version: 138.0.7204.50 Stable, 140.0.7262.0 Canary
For potentially mitigating feature flags (FileDialogsBlockPictureInPicture, FileDialogsTuckPictureInPicture) I verified repro with:
- default config (on Stable, both disabled; on Canary, only tuck enabled)
- both disabled
- only one enabled
Operating System: Windows 10
REPRODUCTION CASE
Minimal comparison: Mitigation on file-type input dialog vs. FSA API dialog
This page shows observed mitigation differences between file-type input dialog (mitigated) and FSA API dialog (not mitigated). If mitigated, close/tuck occurs even if file picker and PiP window don't overlap.
- Run Chrome with
--enable-features=FileDialogsTuckPictureInPicture --disable-features=FileDialogsBlockPictureInPicture(or the opposite enabled/disabled feature combination) to enable one of the mitigations. - Navigate to https://alesandroortiz.com/security/chromium/filepicker-pip-minimal.html and choose the opening method.
- Click anywhere to open PiP window.
- Click again to open file picker.
Observed: When file picker dialog is opened using file-type input, PiP window is closed or tucked (based on enabled mitigation). When same dialog is opened using FSA API, PiP window is not closed or tucked.
Expected: When file picker dialog is opened by attacker in any way, PiP window is closed or tucked (based on enabled mitigation).
Scenario 1: Read environment variables
- Navigate to https://alesandroortiz.com/security/chromium/filepicker-pip.html
- Press any key twice (or press and hold any key).
- Press Ctrl+V, then enter.
Observed: File picker dialog is obscured by PiP window. Attacker can read environment variables without user awareness.
Expected: FIle picker dialog is visible to user. Ideally, attacker cannot read sensitive environment variables even if not obscured.
Scenario 2a: Read file
Setup: Create a file in Documents named example.txt with any content.
Steps 2-3: Same as first scenario.
Observed: File picker dialog is obscured by PiP window. File is read from attacker-specified path without user awareness.
Expected: File picker dialog is visible to user.
Scenario 2b: Write file
Steps 2-3: Same as first scenario.
Observed: File picker dialog is obscured by PiP window. File is written to attacker-specified path without user awareness.
Expected: File picker dialog is visible to user.
Credit Information
Reporter credit: Alesandro Ortiz https://AlesandroOrtiz.com
Context
Chrome's Picture-in-Picture (PiP) window is a small, always-on-top window that plays a video while the user works elsewhere. The File System Access (FSA) API is the web platform interface that lets a site ask the user to pick a file or directory through the operating system's native picker, via showSaveFilePicker(), showOpenFilePicker() or showDirectoryPicker(). Once the user picks something, the site receives a handle it can read from or write to.
The report describes a side-channel: a PiP window can be positioned so that it obscures the file or directory picker dialog opened through the FSA API. Because the user cannot see the dialog, they can be tricked into pasting attacker-controlled text into it and confirming, without realising what they are approving. The report was written by Alesandro Ortiz.
Setup
The behaviour was verified on:
- Chrome 138.0.7204.50 Stable
- Chrome 140.0.7262.0 Canary
- Windows 10
Two feature flags control the existing mitigations:
FileDialogsBlockPictureInPictureFileDialogsTuckPictureInPicture
The researcher tested the default configuration (on Stable both flags are disabled; on Canary only the tuck flag is enabled), both flags disabled, and each flag enabled on its own. The reproduction pages are hosted on the researcher's own site, for example:
https://alesandroortiz.com/security/chromium/filepicker-pip.html
and a minimal comparison page:
https://alesandroortiz.com/security/chromium/filepicker-pip-minimal.html
Finding it
The starting point was an earlier issue, 40076120, about a PiP window obscuring a file picker. Two fixes had been shipped for it, but the researcher noticed that both only applied to pickers opened from file-type inputs (<input type="file">), not to pickers opened through the FSA API.
The first fix, in https://crrev.com/c/5753110 (September 2024), blocked or closed PiP windows while a file picker was open, behind the FileDialogsBlockPictureInPicture flag. That fix was disabled in https://crrev.com/c/6318768 (3 March 2025), and a new fix landed in https://crrev.com/c/6449682 (10 June 2025). The new fix tucks the PiP window instead of blocking or closing it, behind the FileDialogsTuckPictureInPicture flag.
Neither fix covers the FSA API path. The researcher confirmed this by toggling the features on and off. On the then-current 138.0.7204.50 Stable neither fix is enabled, so both attack approaches work regardless.
Exploitation
Step 1: Open a PiP window and then a picker
The minimal comparison page demonstrates the difference between a file-type input dialog and an FSA API dialog. To enable one of the mitigations, start Chrome with:
--enable-features=FileDialogsTuckPictureInPicture --disable-features=FileDialogsBlockPictureInPicture
or the opposite combination. Then:
- Navigate to https://alesandroortiz.com/security/chromium/filepicker-pip-minimal.html and choose the opening method.
- Click anywhere to open the PiP window.
- Click again to open the file picker.
Observed: when the picker is opened from a file-type input, the PiP window is closed or tucked, depending on which mitigation is enabled. When the same dialog is opened through the FSA API, the PiP window is neither closed nor tucked.
Expected: whenever an attacker opens a file picker by any means, the PiP window should be closed or tucked.
Note that when the mitigation applies, the close or tuck happens even if the file picker and the PiP window do not overlap.
Step 2: Read environment variables (scenario 1)
On Windows, an attacker can exfiltrate environment variables by saving a file whose name contains environment variable references, for example:
%username%-%service_secret_key%
When the file is saved, the variable names are replaced with their values, and the attacker can then read the resulting file name.
The attack flow:
- The attacker writes the environment variable names into the clipboard.
- The attacker asks the user to paste the payload into the file picker dialog while it is obscured by the PiP window.
- The user presses enter to save the file.
- The attacker reads the file name, which now contains the environment variable values.
- The attacker deletes the file to clean up.
There is code that sanitises pre-filled file names in the picker dialog, but the attacker works around it by having the user paste the payload into the dialog.
Environment variable exfiltration is possible with the FSA API but not with file-type inputs, because file-type inputs use open dialogs, not save dialogs. A save dialog is needed to obtain a file handle whose name contains the variable values.
Reproduction:
- Navigate to https://alesandroortiz.com/security/chromium/filepicker-pip.html
- Press any key twice (or press and hold any key).
- Press Ctrl+V, then enter.
Observed: the file picker dialog is obscured by the PiP window, and the attacker can read environment variables without the user being aware.
Expected: the file picker dialog should be visible to the user. Ideally, the attacker should not be able to read sensitive environment variables even when the dialog is not obscured.
Step 3: Read a file (scenario 2a)
Setup: create a file in Documents named example.txt with any content.
- Navigate to https://alesandroortiz.com/security/chromium/filepicker-pip.html?mode=readfile
- Steps 2 and 3 are the same as in scenario 1: press any key twice (or press and hold any key), then press Ctrl+V and enter.
Observed: the file picker dialog is obscured by the PiP window, and the file is read from the attacker-specified path without the user being aware.
Step 4: Write a file (scenario 2b)
- Navigate to https://alesandroortiz.com/security/chromium/filepicker-pip.html?mode=writefile
- Steps 2 and 3 are the same as in scenario 1.
Observed: the file picker dialog is obscured by the PiP window, and the file is written to the attacker-specified path without the user being aware.
As in scenario 1, the attacker writes the file or directory path into the clipboard and asks the user to paste it into the obscured dialog. This lets the attacker use environment variables or known paths that could not otherwise be pre-filled through the FSA API.
Root cause
The two fixes for the earlier PiP and file picker issue only mitigate pickers opened from file-type inputs. Pickers opened through showSaveFilePicker(), showOpenFilePicker() and showDirectoryPicker() are not mitigated by either fix, so the PiP window can obscure the dialog.
Because the dialog is hidden, the user cannot see what they are confirming. The attacker supplies the path or file name through the clipboard, which also sidesteps the sanitisation applied to pre-filled names in the dialog.
After issue 40076120 was filed, more protections were added to block access to common sensitive directories. Those protections do not cover files of interest that live outside the blocked directories; outside them, the path is arbitrary.
Impact
An attacker can, without the user's awareness:
- Read environment variables, similar to issue 40057200, by saving a file whose name contains variable references and then reading the resulting name.
- Read and write files and directories, similar to issue 40076120, within the limits of the directory blocklist added after that issue.
These actions require the user to interact with the page: opening the PiP window, triggering the picker, and pasting and confirming the attacker's payload. The attacker relies on the obscured dialog to hide what is being approved.
Fix
The report does not describe a specific code change. The expectation it states is that whenever a file picker dialog is opened by an attacker, by any route, the PiP window should be closed or tucked according to the enabled mitigation.
Variants to test
- A positive result is a dialog that can be covered while the page still receives the user's confirmation.
- A positive result is a picker that does not trigger the close or tuck behaviour.
- A positive result is a paste that bypasses the sanitisation and lands attacker-controlled text in the dialog.
- A positive result is a saved file name that contains resolved values the page can read back.
- A positive result is a sensitive path outside the blocklist that the picker still accepts.
What happened, in plain words
Chrome has a feature called Picture-in-Picture, or PiP. When you watch a video on a website, you can pop it out into a small window that floats on top of everything else while you keep working in other tabs. That little window is handy, but it also sits above other windows, and that is where the problem starts.
Chrome also has a way for websites to ask you to choose a file or a folder on your computer. Normally a box pops up from your operating system (the file picker), you browse to what you want, and you click Open or Save. The website then gets permission to read or write that file. The technical name for the part of the browser that lets a site do this is the File System Access API, usually shortened to FSA API.
The researcher found that a PiP window can be placed so that it covers the file picker box. You, the user, cannot see the box underneath. The attacker then gets you to paste some text into that hidden box and press Enter. Because you cannot see what you are confirming, you end up approving something you never meant to. This kind of trick, where information leaks because of something you cannot observe (here, a hidden dialog), is called a side-channel information leakage. The report was written by Alesandro Ortiz.
Two earlier fixes had been made for a similar problem, but they only protected one way of opening the picker, not the FSA API way. That gap is the heart of this report.
Context
Before the details, a few concepts from zero.
Picture-in-Picture (PiP). A small video window that stays on top of other windows. In Chrome you usually open it from a video player's controls. Because it is always on top, it can physically sit over other things on screen, including system dialogs.
File System Access (FSA) API. An API is a defined way for one piece of software to ask another piece of software to do something, like a waiter taking your order to the kitchen. The FSA API is the browser feature that lets a website ask you, through your operating system's own file chooser, to pick a file or folder. Once you pick something, the site receives a handle, which is like a claim ticket: with the ticket, the site can read from or write to the file you chose.
The three functions the report names are:
showSaveFilePicker(): asks you where to save a new file.showOpenFilePicker(): asks you which existing file to open.showDirectoryPicker(): asks you which folder to use.
Side-channel. A way of learning something without being told it directly, by observing a side effect. A simple everyday comparison: you cannot hear what is said in a room, but you can see the light flicker, and from the flicker you guess when someone is talking. Here the side effect is that the PiP window hides the dialog, so the attacker controls what goes into it without you noticing.
CVE. A public identifier for a known security flaw, so people can refer to the same issue consistently. CVE-2025-11207 is this one.
Chrome VRP. Google's programme that pays researchers for reporting security bugs in Chrome.
Setup
The behaviour was verified on:
- Chrome 138.0.7204.50 Stable
- Chrome 140.0.7262.0 Canary
- Windows 10
Stable is the normal Chrome everyone uses. Canary is an early test build that gets changes first.
Two feature flags control the existing protections:
FileDialogsBlockPictureInPictureFileDialogsTuckPictureInPicture
A feature flag is a switch inside the browser that turns a feature on or off. Developers use them to roll out changes gradually. The researcher tested the default configuration (on Stable both flags are disabled; on Canary only the tuck flag is enabled), both flags disabled, and each flag enabled on its own.
The reproduction pages are hosted on the researcher's own site, for example:
https://alesandroortiz.com/security/chromium/filepicker-pip.html
and a minimal comparison page:
https://alesandroortiz.com/security/chromium/filepicker-pip-minimal.html
These are two web pages the researcher built to demonstrate the problem.
Finding it
The starting point was an earlier issue, 40076120, about a PiP window obscuring a file picker. Two fixes had been shipped for it, but the researcher noticed that both only applied to pickers opened from file-type inputs (<input type="file">), not to pickers opened through the FSA API.
A file-type input is the ordinary "Choose file" button you see on many websites, for example when uploading a photo. It is a basic HTML element. The FSA API is a newer, more powerful way to do a similar thing, and it takes a different route inside the browser.
The first fix, in https://crrev.com/c/5753110 (September 2024), blocked or closed PiP windows while a file picker was open, behind the FileDialogsBlockPictureInPicture flag. That fix was disabled in https://crrev.com/c/6318768 (3 March 2025), and a new fix landed in https://crrev.com/c/6449682 (10 June 2025). The new fix tucks the PiP window instead of blocking or closing it, behind the FileDialogsTuckPictureInPicture flag.
"Tuck" means the PiP window is moved out of the way rather than shut down. "Block" means it is prevented or closed. Both are attempts to stop the PiP window from covering the picker.
Neither fix covers the FSA API path. The researcher confirmed this by toggling the features on and off. On the then-current 138.0.7204.50 Stable neither fix is enabled, so both attack approaches work regardless.
Exploitation
Step 1: Open a PiP window and then a picker
The minimal comparison page demonstrates the difference between a file-type input dialog and an FSA API dialog. To enable one of the mitigations, start Chrome with:
--enable-features=FileDialogsTuckPictureInPicture --disable-features=FileDialogsBlockPictureInPicture
Line by line:
--enable-features=FileDialogsTuckPictureInPicturetells Chrome to turn on the tuck protection.--disable-features=FileDialogsBlockPictureInPicturetells Chrome to turn off the block protection.
These are command-line switches you add when launching Chrome, so you can test one protection at a time. The report also says the opposite combination works, meaning you can swap which one is on and which one is off.
Then:
- Navigate to https://alesandroortiz.com/security/chromium/filepicker-pip-minimal.html and choose the opening method.
- Click anywhere to open the PiP window.
- Click again to open the file picker.
Why these steps: the page lets you pick whether the file chooser is opened the old way (file-type input) or the FSA API way. You first open the PiP window so it is on screen, then trigger the picker so you can see whether the browser reacts to the PiP window.
Observed: when the picker is opened from a file-type input, the PiP window is closed or tucked, depending on which mitigation is enabled. When the same dialog is opened through the FSA API, the PiP window is neither closed nor tucked.
Expected: whenever an attacker opens a file picker by any means, the PiP window should be closed or tucked.
Note that when the mitigation applies, the close or tuck happens even if the file picker and the PiP window do not overlap. In other words, the protection is not about geometry (whether the windows actually overlap on screen); it simply reacts to the picker being open.
Step 2: Read environment variables (scenario 1)
An environment variable is a named value that the operating system keeps for programs to use, for example a username or a secret key. On Windows, an attacker can exfiltrate environment variables by saving a file whose name contains environment variable references, for example:
%username%-%service_secret_key%
Line by line:
%username%is a placeholder that Windows replaces with the current user's name when the file is saved.-is just a separator.%service_secret_key%is a placeholder that Windows replaces with the value of that variable, if it exists.
When the file is saved, the variable names are replaced with their values, and the attacker can then read the resulting file name. The everyday comparison: it is like writing "Dear [NAME]" in a letter template and having the printer fill in the real name before printing. Here the "printer" is Windows, and the "real name" is a secret.
The attack flow:
- The attacker writes the environment variable names into the clipboard.
- The attacker asks the user to paste the payload into the file picker dialog while it is obscured by the PiP window.
- The user presses enter to save the file.
- The attacker reads the file name, which now contains the environment variable values.
- The attacker deletes the file to clean up.
Why each step: the clipboard is a way to get text into the hidden dialog without the attacker being able to type there directly. The user does the pasting, believing they are doing something harmless. Pressing Enter confirms the save. The file name is then readable by the page, so the secret values come back out. Deleting the file removes the evidence.
There is code that sanitises pre-filled file names in the picker dialog, but the attacker works around it by having the user paste the payload into the dialog. Sanitising means cleaning up input to remove dangerous characters; here it would stop the attacker from putting the payload in automatically, so the attacker uses the user's paste instead.
Environment variable exfiltration is possible with the FSA API but not with file-type inputs, because file-type inputs use open dialogs, not save dialogs. A save dialog is needed to obtain a file handle whose name contains the variable values. An open dialog only lets you choose an existing file; a save dialog lets you create a new one, and the new file's name is where the secret ends up.
Reproduction:
- Navigate to https://alesandroortiz.com/security/chromium/filepicker-pip.html
- Press any key twice (or press and hold any key).
- Press Ctrl+V, then enter.
Ctrl+V pastes the attacker's payload from the clipboard into the hidden dialog. Enter confirms it.
Observed: the file picker dialog is obscured by the PiP window, and the attacker can read environment variables without the user being aware.
Expected: the file picker dialog should be visible to the user. Ideally, the attacker should not be able to read sensitive environment variables even when the dialog is not obscured.
Step 3: Read a file (scenario 2a)
Setup: create a file in Documents named example.txt with any content. This gives the attack a known target to read.
- Navigate to https://alesandroortiz.com/security/chromium/filepicker-pip.html?mode=readfile
- Steps 2 and 3 are the same as in scenario 1: press any key twice (or press and hold any key), then press Ctrl+V and enter.
Observed: the file picker dialog is obscured by the PiP window, and the file is read from the attacker-specified path without the user being aware.
Step 4: Write a file (scenario 2b)
- Navigate to https://alesandroortiz.com/security/chromium/filepicker-pip.html?mode=writefile
- Steps 2 and 3 are the same as in scenario 1.
Observed: the file picker dialog is obscured by the PiP window, and the file is written to the attacker-specified path without the user being aware.
As in scenario 1, the attacker writes the file or directory path into the clipboard and asks the user to paste it into the obscured dialog. This lets the attacker use environment variables or known paths that could not otherwise be pre-filled through the FSA API. In plain terms: the attacker cannot put the path in automatically, so the user's paste does it for them.
Root cause
The two fixes for the earlier PiP and file picker issue only mitigate pickers opened from file-type inputs. Pickers opened through showSaveFilePicker(), showOpenFilePicker() and showDirectoryPicker() are not mitigated by either fix, so the PiP window can obscure the dialog.
A useful comparison: two doors into the same building, but the alarm was only wired to one door. The other door opens without triggering anything.
Because the dialog is hidden, the user cannot see what they are confirming. The attacker supplies the path or file name through the clipboard, which also sidesteps the sanitisation applied to pre-filled names in the dialog.
After issue 40076120 was filed, more protections were added to block access to common sensitive directories. Those protections do not cover files of interest that live outside the blocked directories; outside them, the path is arbitrary. A blocklist is a list of things that are forbidden; anything not on the list is allowed, which is why files outside the list remain reachable.
Impact
An attacker can, without the user's awareness:
- Read environment variables, similar to issue 40057200, by saving a file whose name contains variable references and then reading the resulting name.
- Read and write files and directories, similar to issue 40076120, within the limits of the directory blocklist added after that issue.
These actions require the user to interact with the page: opening the PiP window, triggering the picker, and pasting and confirming the attacker's payload. The attacker relies on the obscured dialog to hide what is being approved. The report rates the issue as medium severity, and the bounty was 5000 USD.
Fix
The report does not describe a specific code change. The expectation it states is that whenever a file picker dialog is opened by an attacker, by any route, the PiP window should be closed or tucked according to the enabled mitigation.
Variants to test
These are other places a similar problem might hide, worth checking if you are hunting for related bugs:
- A positive result is a dialog that can be covered while the page still receives the user's confirmation.
- A positive result is a picker that does not trigger the close or tuck behaviour.
- A positive result is a paste that bypasses the sanitisation and lands attacker-controlled text in the dialog.
- A positive result is a saved file name that contains resolved values the page can read back.
- A positive result is a sensitive path outside the blocklist that the picker still accepts.
Glossary
- API: a defined way for one piece of software to ask another to do something, like a waiter taking an order to the kitchen.
- Blocklist: a list of things that are forbidden; anything not on the list is allowed.
- Canary: an early test build of Chrome that receives changes before the normal release.
- Clipboard: the temporary storage your computer uses when you copy or cut something, ready to paste elsewhere.
- Environment variable: a named value the operating system keeps for programs to use, such as a username or a secret key.
- Exfiltration: getting data out of a system without permission.
- Feature flag: a switch inside the browser that turns a feature on or off, used to roll out changes gradually.
- File System Access (FSA) API: the browser feature that lets a website ask you, through your operating system's file chooser, to pick a file or folder, and then read from or write to it.
- File-type input: the ordinary "Choose file" button on a web page, written in HTML as
<input type="file">. - Handle: a claim ticket a website receives after you pick a file or folder, which it can use to read or write that item.
- Mitigation: a change that reduces or removes the risk of a vulnerability.
- Picture-in-Picture (PiP): a small video window that stays on top of other windows while you work elsewhere.
- Sanitise: clean up input to remove dangerous characters or content.
- Side-channel information leakage: learning something without being told it directly, by observing a side effect, such as a hidden dialog.
- Stable: the normal Chrome release that everyone uses.
- Tuck: move a window out of the way rather than closing it.
- Vulnerability Reward Program (VRP): a programme that pays researchers for reporting security bugs.
showSaveFilePicker(): the FSA API function that asks you where to save a new file.showOpenFilePicker(): the FSA API function that asks you which existing file to open.showDirectoryPicker(): the FSA API function that asks you which folder to use.