Insufficient validation of untrusted input in Downloads (CVE-2026-5887)
Chrome's dangerous file protection could be bypassed by using a double 'double percent sign' in a filename, allowing a .lnk file to be downloaded despite the protection. An attacker could trick a user into saving a malicious shortcut file.
- Fix shipped in 47 days
Steps to reproduce the problem
- Run poc.py, and then open http://127.0.0.1:8000/
- Right click
download mehyperlink and then chooseSave File As - Choose
Savebutton and .lnk file will be downloaded
Problem Description
This is a bypass of https://issues.chromium.org/issues/444803530, where an attacker uses a double percent sign (%%) to bypass Chrome’s dangerous file protection. Although it has already been fixed, it can still be bypassed by using a double “double percent sign,” such as: file.lnk .%% .%%
Summary
.lnk File Download Bypass Using "Save As" Link (Bypass of #444803530)
Additional Data
Category: Security
Chrome Channel: Not sure
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 filename sanitisation or dangerous-file detection logic mishandles repeated percent-encoding sequences, allowing a .lnk extension to slip through.
Impact
An attacker could deliver a .lnk file that Chrome would normally block, potentially leading to code execution if the user opens it.
What the attacker needed
Victim uses Chrome; victim downloads and opens the file
How it was found
- Run the provided script and open the local web page.
- Right-click the 'download me' link and choose 'Save File As'.
- Click 'Save' and the .lnk file is downloaded.
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.
Chrome tries to stop you from downloading dangerous files like shortcuts (.lnk). This report shows a way to sneak such a file past that protection by putting special characters in the filename. If you then open the file, it could run harmful commands.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.