Policy bypass in Downloads (CVE-2026-5900)
Chrome's automatic retry of failed navigations (NetErrorAutoReloader) retries a page that failed with ERR_TOO_MANY_REDIRECTS, and a service worker can use those retries to start downloads and then redirect back to the attacker's page. This lets an attacker trigger unlimited downloads without any user interaction, bypassing the multi-download blocker.
Originally disclosed on Chrome VRP
- Fix shipped in 3 months
VULNERABILITY DETAILS
Chrome's NetErrorAutoReloader automatically retries failed navigations (including ERR_TOO_MANY_REDIRECTS) after a delay. When a navigation exceeds the 20-redirect limit and fails with ERR_TOO_MANY_REDIRECTS, the auto-reloader retries it after a 1-second delay. This retry allows an attacker to trigger downloads without proper user interaction validation, effectively bypassing the multi-download blocker.
The NetErrorAutoReloader uses an exponential backoff schedule for retries: 1 second, 5 seconds, 30 seconds, 1 minute, 5 minutes, 10 minutes, and 30 minutes for subsequent attempts. An attacker can leverage this by using a service worker to serve a download on the first retry (after 1 second), causing the error page to persist. The second retry (after 5 seconds) is then used to redirect the user back to the attacker's page, restarting the entire attack loop and allowing unlimited downloads without any user interaction.
Breakdown of the attack
- Attacker automatically redirects the user to a page that triggers a chain of 20 redirects.
- At the 21st redirect, Chrome triggers
ERR_TOO_MANY_REDIRECTSand shows an error page. ShouldAutoReload()returnsTRUEbecauseERR_TOO_MANY_REDIRECTSis not in the exclusion list.- After a 1-second delay (first retry),
ReloadMainFrame()reloads the failed URL. - The service worker serves a downloadable file. The download is initiated without requiring a user gesture, and the error page remains.
- After a 5-second delay (second retry), the auto-reloader retries again. This time, the service worker redirects back to the attacker's page.
- The attack loop restarts, allowing the attacker to trigger unlimited downloads.
I have also attached a video reproducing the attack (repro.mp4).
BISECT
By doing an initial bisect, I found that the issue was introduced between 791932 and 791966 (https://chromium.googlesource.com/chromium/src/+log/74fcfa083f8f12b9a7e5181176921dc6a2b2d5de..281c417f3a79f4220addb3592c241f9e3913bb28).
After investigating, it became clear that the commit that introduced the issue is https://chromium.googlesource.com/chromium/src/+/4408a0fab85c8a2d4aafe3ede4a42524109dbb15, and it landed on M86.0.4215.0.
VERSION
Chrome Version: 143.0.7499.170 (Stable)
Chrome Version: 144.0.7559.31 (Beta)
Chrome Version: 145.0.7587.5 (Dev)
Chrome Version: 145.0.7618.0 (Canary)
Operating System: Windows 11 24H2
REPRODUCTION CASE
Steps to setup the PoC
- Download the following files:
index.htmlandsw.js. - Move all files into the same folder.
- Serve the files using a local web server (e.g.,
python -m http.server 8080).
Steps to reproduce the issue
- Navigate to
http://localhost:8080/index.html. - Chrome will show an
ERR_TOO_MANY_REDIRECTSerror page. After 1 second (first retry),NetErrorAutoReloaderautomatically retries the last URL. - The service worker serves the download file. Notice that
bypass.txtis downloaded without additional user interaction. - After 5 seconds (second retry), the auto-reloader retries again. The service worker now redirects back to
index.html. - The attack loop restarts automatically, triggering another download after 1 second. This cycle repeats indefinitely, allowing unlimited downloads without any user interaction.
CREDIT INFORMATION
Reporter credit: Luan Herrera (@lbherrera_)
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 auto-reload logic treats ERR_TOO_MANY_REDIRECTS as a retryable error and reloads the failed URL without re-checking that the retried navigation still requires a user gesture for downloads.
Impact
An attacker could cause unlimited file downloads without any user interaction, bypassing Chrome's multi-download blocker; the report does not claim any further impact.
What the attacker needed
Victim visits attacker page; attacker controls a service worker; Chrome browser
How it was found
- Open the attacker page that starts a chain of 20 redirects.
- Chrome hits ERR_TOO_MANY_REDIRECTS and shows an error page.
- After the 1-second first retry, the service worker serves a downloadable file, which downloads without a user gesture.
- After the 5-second second retry, the service worker redirects back to the attacker page.
- The loop restarts and repeats, producing unlimited downloads.
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 has a feature that quietly reloads a page when it fails to load, such as when a site redirects in an endless loop. The report shows that a malicious site can use those automatic reloads to make files download on their own, again and again, without the person clicking anything. Normally Chrome blocks a site from starting many downloads in a row, but this trick gets around that protection.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.