Skip to content
Misconfiguration Advisory Advanced CVE-2026-13925

Inappropriate implementation in Downloads (CVE-2026-13925)

Chrome's SavePackage feature used the original pre-redirect URL when assigning Mark-of-the-Web to downloaded subresources, so an open redirect on an Intranet domain could cause a malicious archive to be tagged with the Intranet zone. When extracted, the executable inherited that zone and could run without SmartScreen warnings.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 52 days

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: The SavePackage feature incorrectly uses the initial pre-redirect URL when annotating downloaded subresources with Mark-of-the-Web (MOTW). An attacker can leverage an open redirect on an Intranet domain to serve a malicious archive, assigning it an Intranet MOTW (ZoneId=1). This can bypass Windows SmartScreen protections when the extracted payload is executed.

Affected files:

  • content/browser/download/save_file_manager.cc
  • content/browser/download/save_package.cc

Estimated timestamp from git blame: 2025-10-22

Summary

When a user saves a webpage using the "Webpage, Complete" feature, Chrome downloads the page's subresources. If a subresource download involves an HTTP redirect, Chrome incorrectly annotates the downloaded file with Mark-of-the-Web (MOTW) information based on the initial pre-redirect URL rather than the final destination URL.

In enterprise environments where internal domains are mapped to the "Local Intranet" security zone (ZoneId=1), an attacker who can leverage an open redirect on a trusted domain can use this flaw to deliver malicious payloads that bypass Windows SmartScreen. By delivering the payload within a format considered NOT_DANGEROUS by Chrome's Safe Browsing policies (e.g., a .zip archive), the attacker avoids Chrome's defense-in-depth file renaming mitigations. When the user extracts the archive using Windows Explorer, the Intranet MOTW propagates to the extracted executable, allowing it to run without SmartScreen warnings.

Technical Details

  1. When SavePackage discovers a subresource, it initiates a save request via SaveFileManager::SaveURL (content/browser/download/save_file_manager.cc).
  2. SaveURL constructs a quarantine_callback to be executed when the download finishes. This callback is created using base::BindOnce and captures the original pre-redirect url by value (lines 235-239).
  3. The network request is made. If the server responds with a redirect, the SimpleURLLoader follows it to the final_url.
  4. When the response starts, SimpleURLLoaderHelper::OnResponseStarted is called. It parses the Content-Disposition header from the final response (e.g., attachment; filename="payload.zip") and creates a SaveFileCreateInfo object. It moves the existing quarantine_callback into this object without updating the bound URL.
  5. On the UI thread, SavePackage::GenerateFileName is called. It uses net::GenerateFileNameImpl, which prioritizes the filename from the Content-Disposition header. The file is named payload.zip.
  6. Because .zip is considered NOT_DANGEROUS in download_file_types.asciipb, ChromeDownloadManagerDelegate::SanitizeSavePackageResourceName does not append a .download extension to the file.
  7. Once the download completes, SaveFinished executes the bound quarantine_callback.
  8. The callback invokes SaveFileManager::QuarantineItem, which receives the original Intranet URL. This URL is eventually passed to Windows via quarantine::InvokeAttachmentServices.
  9. Windows writes the :Zone.Identifier stream to payload.zip. Because the original URL is in the Local Intranet zone, Windows sets ZoneId=1.
  10. When the user extracts the ZIP using Windows Explorer, the ZoneId=1 MOTW is propagated to the extracted executable. Double-clicking the executable bypasses SmartScreen Application Reputation checks because the file is considered to have originated from a trusted Intranet source.

Potential Exploitation Steps

Please note our tooling agent cannot execute code; these are suggested steps to verify the vulnerability.

  1. On a Windows machine, add a domain (e.g., internal.example.com) to the "Local Intranet" zone via Internet Options (Security tab).
  2. Prepare a malicious executable and compress it into a payload.zip file.
  3. Host the payload.zip file on an attacker-controlled server (https://attacker.evil/payload.zip), ensuring the server responds with a Content-Disposition: attachment; filename="payload.zip" header.
  4. Prepare a webpage that includes a subresource (e.g., an <img> tag) with a src pointing to a redirector on the trusted Intranet domain (e.g., https://internal.example.com/redirect?url=https://attacker.evil/payload.zip).
  5. Open the webpage in Chrome.
  6. Press Ctrl+S and save the page as "Webpage, Complete".
  7. Navigate to the associated _files folder created by Chrome.
  8. Check the Zone Identifier for the downloaded payload.zip file using PowerShell: Get-Content -Path 'C:\path\to\saved_page_files\payload.zip' -Stream Zone.Identifier
  9. Observe that ZoneId=1 and HostUrl points to internal.example.com.
  10. Extract the ZIP file using Windows Explorer. Verify the extracted executable also has ZoneId=1.
  11. Run the extracted executable to confirm SmartScreen warnings are bypassed.

Suggested Fix

The quarantine_callback should not capture the URL by value before the network request begins. Instead, the callback signature should be updated to accept the final URL as a parameter when invoked at the end of the download. Alternatively, SimpleURLLoaderHelper::OnResponseStarted should re-bind the quarantine_callback with the final_url before passing it to SaveFileCreateInfo.

Evaluated with Chrome root at commit: eca8648a4e1cdfdda68c495a6003059fed641955


Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. 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

The quarantine callback captured the original URL by value before the network request, so redirects were not reflected in the Mark-of-the-Web annotation.

Impact

An attacker could bypass Windows SmartScreen protections when the extracted payload is executed, but this requires an open redirect on an Intranet domain and a user who saves the page and extracts the archive.

What the attacker needed

Windows machine; Intranet domain mapped to Local Intranet zone; Open redirect on that Intranet domain; Victim saves page as 'Webpage, Complete'

The fix

The quarantine callback should accept the final URL as a parameter or be re-bound with the final URL before use.

How it was found

  1. Add an internal domain to the Local Intranet zone on Windows.
  2. Host a malicious ZIP on an attacker server with a Content-Disposition attachment header.
  3. Create a webpage with a subresource pointing to an open redirect on the trusted Intranet domain that leads to the ZIP.
  4. Open the webpage in Chrome and save it as 'Webpage, Complete'.
  5. Check the Zone.Identifier stream of the downloaded ZIP and observe ZoneId=1.
  6. Extract the ZIP and run the executable to confirm SmartScreen is bypassed.

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.

When you save a webpage, Chrome downloads extra files and tags them with a 'Mark-of-the-Web' so Windows knows where they came from. This report says Chrome used the wrong address (the one before a redirect) for that tag, so a file from an attacker could look like it came from a trusted company network. That could let a malicious program run without the usual Windows warning.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.