Inappropriate implementation in PictureInPicture (CVE-2026-2318)
A flaw in Chrome's Picture-in-Picture (PiP) implementation allows an attacker to open a PiP window with a hidden popup behind it, then manipulate focus so that keypresses intended for the game are redirected to a downloaded executable. By tricking the user into pressing Enter twice, the first press closes the PiP window and the second press executes the downloaded file.
Originally disclosed on Chrome VRP
- Fix shipped in 17 months
Security Bug
VULNERABILITY DETAILS An attacker can exploit a combination of opening a Picture-in-Picture (PiP) window and a hidden popup behind it. By manipulating the focus onto the concealed popup, an attacker can hijack keypresses when a user interacts with the website. This could lead to the unintended execution of a downloaded file. When the PiP window is closed on top of the downloaded file, the browser automatically shifts focus to this file, and with just two Enter key presses, the victim could unknowingly execute the file.
Using the method mentioned above, I have crafted an engaging game that requires the user to click on the PiP window to gather rewards and then asks the victim to press Enter twice to claim these rewards.
VERSION Chrome Version: 128.0.6613.114 (Official Build) (64-bit) Operating System: Windows 11
REPRODUCTION CASE
- Download the attached
poc.htmlfile. - Open the
poc.htmlfile in the latest Chromium browser. - Interact with the game and observe how the executable is successfully launched without the user's awareness.
In this proof of concept, I used an example executable file from Sysinternals: adrestore.exe. However, this could be any arbitrary executable. The files are opened behind the PiP window, and when the user presses Enter twice, the first Enter closes the PiP window, and the second Enter opens the executable. This interaction can also occur without PiP, as any popup opened and closed in front of a downloaded file will automatically focus on the downloaded file, allowing the Enter key to initiate the launch of the file.
Please attach files directly, not in zip or other archive formats, and if you've created a demonstration site please also attach the files needed to reproduce the demonstration locally.
CREDIT INFORMATION Externally reported security bugs may appear in Chrome release notes. If this bug is included, how would you like to be credited? Reporter credit: Shaheen Fazim
Context
Picture-in-Picture (PiP) is a browser feature that lets a video keep playing in a small always-on-top window while the user works elsewhere. Because the PiP window floats above other content, it is a natural place for a site to ask for clicks. The report describes a focus-handling flaw in Chrome's PiP implementation: a hidden popup can be placed behind the PiP window, and when the PiP window closes, focus moves to a downloaded file behind it. The bug was filed against Chrome 128 and rated medium severity, with a bounty of 1000.00 USD, disclosed on 2026-02-10 under CVE-2026-2318.
Setup
The researcher reproduced the issue with the following environment:
| Item | Value |
|---|---|
| Browser | Chrome 128.0.6613.114 (Official Build) (64-bit) |
| Operating system | Windows 11 |
| Test file | poc.html (attached to the report) |
| Example payload binary | adrestore.exe from Sysinternals |
The proof of concept uses a real executable from Sysinternals as the file that gets launched, but the report notes that it could be any arbitrary executable.
Finding it
The researcher noticed that a PiP window and a hidden popup can be combined so that focus lands on the concealed popup. When the user presses keys while looking at the PiP window, those keypresses are delivered to the popup instead. The interesting case is what happens when the PiP window is closed while a downloaded file sits behind it: the browser automatically shifts focus to the downloaded file, and two Enter key presses are then enough to execute it. The first Enter closes the PiP window, and the second Enter opens the executable.
The researcher also observed that PiP is not strictly required. Any popup that is opened and closed in front of a downloaded file will cause the browser to focus the downloaded file, so the Enter key can initiate the launch there too.
Exploitation
Step 1: Deliver the page
The victim downloads the attached poc.html file and opens it in the latest Chromium browser. The report gives the reproduction steps as:
1. Download the attached `poc.html` file.
2. Open the `poc.html` file in the latest Chromium browser.
3. Interact with the game and observe how the executable is successfully launched without the user's awareness.
The page presents itself as a game. The game asks the user to click on the PiP window to gather rewards, which keeps the user's attention on the floating window while a hidden popup is positioned behind it.
Step 2: Hijack focus onto the hidden popup
By manipulating focus onto the concealed popup, the attacker captures keypresses that the user believes are going to the game in the PiP window. The popup is hidden behind the PiP window, so the user does not see where the input is actually going.
Step 3: Prompt for two Enter presses
Once the user has collected rewards, the game asks the victim to press Enter twice to claim them. This is the social engineering step that turns the focus hijack into file execution.
Step 4: Close the PiP window and launch the file
When the PiP window is closed on top of the downloaded file, the browser automatically shifts focus to that file. In the proof of concept the executable is adrestore.exe from Sysinternals, fetched from:
https://live.sysinternals.com/adrestore.exe
The report stresses that this could be any arbitrary executable. The files are opened behind the PiP window.
Step 5: The PiP-free variant
The same interaction works without PiP. Any popup opened and closed in front of a downloaded file will automatically focus on the downloaded file, allowing the Enter key to initiate the launch. The PiP window is a convenient way to hold the user's attention, but it is not a requirement for the focus shift itself.
Root cause
The flaw is an inappropriate implementation of focus handling around PiP and popups. When the PiP window closes, the browser moves focus to the downloaded file behind it, and the next Enter press activates that file. The hidden popup behind the PiP window lets the attacker direct the user's keypresses to a surface the user cannot see. The report does not describe the specific code path or the patch.
Impact
An attacker who convinces a victim to open the page and play the game can cause an arbitrary executable to be launched without the victim's awareness. The victim must interact with the page and press Enter twice, and the file must already be downloaded and sitting behind the PiP window. The report frames the outcome as unintended execution of a downloaded file, and notes that the same focus shift can be triggered by any popup, not only PiP.
Fix
The report does not describe a fix.
Variants to test
- Popup without PiP. Open and close a popup in front of a downloaded file and check whether focus lands on the file. A positive result is that the next Enter press launches the file.
- Other floating surfaces. Try the same focus manipulation with any always-on-top or floating UI element that can sit above a hidden popup. A positive result is that keypresses intended for the floating element reach the hidden popup.
- Different file types. A positive result is that the second Enter opens the file.
- Keyboard variants. A positive result is that the file opens without an explicit click.
Hunting notes
This kind of bug tends to hide in focus management around browser UI surfaces: PiP, popups, permission prompts and download bars. During recon, look for pages that combine a floating window with a hidden popup and a download, and watch where focus goes when the floating window closes. The researcher showed impact by building a game that keeps the user's attention on the PiP window, then asking for two Enter presses to claim rewards, and demonstrating that the executable launches without the user's awareness.
What happened, in plain words
A security researcher found a way to make a web page trick you into running a program on your computer. The trick uses a browser feature called Picture-in-Picture (PiP), which lets a video keep playing in a small window that floats on top of everything else. The researcher built a game that asks you to click on that floating window to collect rewards. While you are looking at the floating window, a second, hidden window sits behind it. When you press keys, they go to the hidden window instead of the game. At the end, the game asks you to press Enter twice to claim your rewards. The first Enter closes the floating window, and the second Enter opens a file that was downloaded earlier, which can be a program. The program runs without you realising it. The bug was reported against Chrome 128, rated medium severity, with a bounty of 1000.00 USD, and disclosed on 2026-02-10 under CVE-2026-2318.
Context
Picture-in-Picture (PiP) is a browser feature that lets a video keep playing in a small always-on-top window while the user works elsewhere. Because the PiP window floats above other content, it is a natural place for a site to ask for clicks. The report describes a focus-handling flaw in Chrome's PiP implementation: a hidden popup can be placed behind the PiP window, and when the PiP window closes, focus moves to a downloaded file behind it. The bug was filed against Chrome 128 and rated medium severity, with a bounty of 1000.00 USD, disclosed on 2026-02-10 under CVE-2026-2318.
To follow this, you need a few ideas from scratch. A browser is the program you use to visit websites, such as Chrome. A web page is the document the browser shows you. A popup is a small window that a website opens, often for ads or login prompts. Focus is which window or element is currently receiving your keyboard input: when you type, the letters go to whatever has focus, just as a conversation goes to the person you are looking at. Picture-in-Picture is the floating video window described above. A CVE is a public identifier for a known security flaw, so people can look it up. A bounty is money a company pays a researcher for finding and reporting a bug responsibly.
Setup
The researcher reproduced the issue with the following environment:
| Item | Value |
|---|---|
| Browser | Chrome 128.0.6613.114 (Official Build) (64-bit) |
| Operating system | Windows 11 |
| Test file | poc.html (attached to the report) |
| Example payload binary | adrestore.exe from Sysinternals |
The proof of concept uses a real executable from Sysinternals as the file that gets launched, but the report notes that it could be any arbitrary executable.
A proof of concept (PoC) is a small demonstration that proves a bug is real. An executable is a file that runs a program when opened, like a .exe file on Windows. **Sysinternals is a set of tools published by Microsoft; the report uses one of its programs as an example executable. The operating system is the main software that runs your computer, here Windows 11. The browser version is the exact release of Chrome used for the test.
Finding it
The researcher noticed that a PiP window and a hidden popup can be combined so that focus lands on the concealed popup. When the user presses keys while looking at the PiP window, those keypresses are delivered to the popup instead. The interesting case is what happens when the PiP window is closed while a downloaded file sits behind it: the browser automatically shifts focus to the downloaded file, and two Enter key presses are then enough to execute it. The first Enter closes the PiP window, and the second Enter opens the executable.
The researcher also observed that PiP is not strictly required. Any popup that is opened and closed in front of a downloaded file will cause the browser to focus the downloaded file, so the Enter key can initiate the launch there too.
Think of focus as a spotlight: only one thing on stage is lit at a time, and your keystrokes go to whatever is lit. The bug is that the spotlight can be moved to something the audience cannot see. A downloaded file is a file the browser saved to your computer, often shown in a bar at the bottom of the window. Normally, pressing Enter on a focused downloaded file opens it, which is convenient but dangerous if the file is a program.
Exploitation
Step 1: Deliver the page
The victim downloads the attached poc.html file and opens it in the latest Chromium browser. The report gives the reproduction steps as:
1. Download the attached `poc.html` file.
2. Open the `poc.html` file in the latest Chromium browser.
3. Interact with the game and observe how the executable is successfully launched without the user's awareness.
Line by line: the first line tells the tester to save the proof-of-concept page to disk. The second line tells them to open that saved page in a current Chromium-based browser. The third line tells them to play the game and watch for the program starting without any obvious action from the user. The reason for these steps is to recreate the victim's situation exactly: a normal person opening a page and interacting with it.
The page presents itself as a game. The game asks the user to click on the PiP window to gather rewards, which keeps the user's attention on the floating window while a hidden popup is positioned behind it.
Step 2: Hijack focus onto the hidden popup
By manipulating focus onto the concealed popup, the attacker captures keypresses that the user believes are going to the game in the PiP window. The popup is hidden behind the PiP window, so the user does not see where the input is actually going.
This is the core of the trick. The user sees the floating game window and assumes their keys go there. In reality, the hidden popup has focus, so it receives the keys. The reason the attacker does this is to control what happens when the user presses Enter later.
Step 3: Prompt for two Enter presses
Once the user has collected rewards, the game asks the victim to press Enter twice to claim them. This is the social engineering step that turns the focus hijack into file execution.
Social engineering means manipulating people rather than machines: here, the game gives a believable reason to press Enter twice. The reason for asking twice is that the first press is needed to close the floating window, and the second press is needed to open the file that has focus afterwards.
Step 4: Close the PiP window and launch the file
When the PiP window is closed on top of the downloaded file, the browser automatically shifts focus to that file. In the proof of concept the executable is adrestore.exe from Sysinternals, fetched from:
https://live.sysinternals.com/adrestore.exe
This is a web address for a file on a Microsoft server. The file then sits behind the floating window. The report stresses that this could be any arbitrary executable. The files are opened behind the PiP window.
Step 5: The PiP-free variant
The same interaction works without PiP. Any popup opened and closed in front of a downloaded file will automatically focus on the downloaded file, allowing the Enter key to initiate the launch. The PiP window is a convenient way to hold the user's attention, but it is not a requirement for the focus shift itself.
In other words, the floating game window is a distraction technique. The underlying weakness is the automatic focus change to a downloaded file when a window closes.
Root cause
The flaw is an inappropriate implementation of focus handling around PiP and popups. When the PiP window closes, the browser moves focus to the downloaded file behind it, and the next Enter press activates that file. The hidden popup behind the PiP window lets the attacker direct the user's keypresses to a surface the user cannot see. The report does not describe the specific code path or the patch.
Root cause means the underlying reason the bug exists, as opposed to its symptoms. Here, the browser's normal habit of moving focus to a downloaded file becomes dangerous when combined with a hidden window and a plausible reason to press Enter.
Impact
An attacker who convinces a victim to open the page and play the game can cause an arbitrary executable to be launched without the victim's awareness. The victim must interact with the page and press Enter twice, and the file must already be downloaded and sitting behind the PiP window. The report frames the outcome as unintended execution of a downloaded file, and notes that the same focus shift can be triggered by any popup, not only PiP.
Impact is what an attacker can achieve if the bug is used. Here it is running a program on the victim's computer, which is serious because a program can do anything the user can do.
Fix
The report does not describe a fix.
A fix or patch is a change to the software that removes the bug. The report only describes the problem, not the solution that was shipped.
Variants to test
- Popup without PiP. Open and close a popup in front of a downloaded file and check whether focus lands on the file. A positive result is that the next Enter press launches the file.
- Other floating surfaces. Try the same focus manipulation with any always-on-top or floating UI element that can sit above a hidden popup. A positive result is that keypresses intended for the floating element reach the hidden popup.
- Different file types. A positive result is that the second Enter opens the file.
- Keyboard variants. A positive result is that the file opens without an explicit click.
A variant is a slightly different version of the same bug. Testing variants helps defenders find all the ways the weakness can be triggered, not just the one in the report.
Hunting notes
This kind of bug tends to hide in focus management around browser UI surfaces: PiP, popups, permission prompts and download bars. During recon, look for pages that combine a floating window with a hidden popup and a download, and watch where focus goes when the floating window closes. The researcher showed impact by building a game that keeps the user's attention on the PiP window, then asking for two Enter presses to claim rewards, and demonstrating that the executable launches without the user's awareness.
Recon (reconnaissance) means exploring a target to find weak spots before trying anything. UI surfaces are the parts of the browser you see and interact with, such as windows, bars and prompts. Actionable means a report gives defenders enough detail to reproduce and fix the problem.
Glossary
- Browser: the program you use to visit websites, such as Chrome.
- Web page: the document a browser shows you.
- Popup: a small window that a website opens, often for ads or login prompts.
- Focus: which window or element is currently receiving your keyboard input.
- Picture-in-Picture (PiP): a browser feature that keeps a video playing in a small always-on-top window.
- CVE: a public identifier for a known security flaw.
- Bounty: money a company pays a researcher for finding and reporting a bug responsibly.
- Proof of concept (PoC): a small demonstration that proves a bug is real.
- Executable: a file that runs a program when opened, such as a
.exefile on Windows. - Sysinternals: a set of tools published by Microsoft, used in the report as an example program.
- Operating system: the main software that runs your computer, such as Windows 11.
- Downloaded file: a file the browser saved to your computer, often shown in a bar at the bottom of the window.
- Social engineering: manipulating people rather than machines, for example by giving a believable reason to press a key.
- Root cause: the underlying reason a bug exists, as opposed to its symptoms.
- Impact: what an attacker can achieve if the bug is used.
- Fix / patch: a change to the software that removes the bug.
- Variant: a slightly different version of the same bug.
- Recon (reconnaissance): exploring a target to find weak spots before trying anything.
- UI surfaces: the parts of the browser you see and interact with, such as windows, bars and prompts.
- Actionable: a report that gives defenders enough detail to reproduce and fix the problem.