Skip to content
File upload Advisory Intermediate CVE-2026-5887

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.

daffainfo Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 47 days

Steps to reproduce the problem

  1. Run poc.py, and then open http://127.0.0.1:8000/
  2. Right click download me hyperlink and then choose Save File As
  3. Choose Save button 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 \

The original report as published on the Chromium issue tracker, by daffainfo. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

  1. Run the provided script and open the local web page.
  2. Right-click the 'download me' link and choose 'Save File As'.
  3. 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.

More by daffainfo

View all

1 more disclosed report, best first.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.