Skip to content
Open redirect Advisory Advanced CVE-2026-16415

Insufficient validation of untrusted input in Extensions (CVE-2026-16415)

A PDF mime-handler fallback mechanism caches a buffered response body keyed only by frame identifier, without checking the URL it belongs to. A third-party PDF handler extension could trigger a fallback, have the reload redirected to a victim origin, and cause the attacker's PDF to render under the victim's URL with valid TLS indicators.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 50 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A logical vulnerability in the PDF mime-handler fallback mechanism may allow a potential address bar spoofing attack. By leveraging the abortAndFallbackToNativeHandler API followed by an HTTP 302 redirect during the fallback re-navigation, a third-party extension can potentially render arbitrary PDF content under a victim origin's URL while keeping the victim's URL and TLS lock icon intact in the omnibox.

Affected files:

  • extensions/browser/mime_handler/mime_handler_stream_manager.cc
  • chrome/browser/plugins/plugin_response_interceptor_url_loader_throttle.cc

Estimated timestamp from git blame: 2026-05-13

Description

A potential logic flaw exists in the PDF mime-handler fallback mechanism that can result in a full address bar URL spoof. When a third-party extension handling PDF files triggers a fallback using the chrome.mimeHandler.abortAndFallbackToNativeHandler() API, the browser-side MimeHandlerStreamManager caches the stream's data pipe and initiates a reload navigation of the embedder frame.

However, the fallback registry (pending_native_fallback_frames_) is keyed only by FrameTreeNodeId, and no validation is performed to ensure the redirected URL matches the original URL for which the fallback body was cached. If the reload navigation is redirected via an HTTP 302 response to a victim's URL, the PluginResponseInterceptorURLLoaderThrottle will retrieve the attacker's pre-buffered body pipe and splice it directly into the victim's response. Consequently, Chrome's built-in PDF viewer will render the attacker's PDF payload under the victim's committed URL context.

Potential Trigger Path

Please note that these are potential steps derived from manual codebase analysis; our tooling does not currently have the capability to run code or execute a functional proof of concept.

  1. A third-party extension registering a public MIME type handler for application/pdf is installed (available on Dev/Canary unconditionally, or behind the --enable-features=ApiMimeHandler flag on Stable).
  2. The user navigates to an attacker-controlled URL hosting a PDF file (e.g., https://attacker.com/exploit.pdf). The navigation is intercepted, and the body is buffered into a MimeHandlerBodyCache as the extension's handler page is loaded.
  3. The extension page invokes chrome.mimeHandler.abortAndFallbackToNativeHandler().
  4. MimeHandlerStreamManager::AbortAndFallbackToNativeHandler() captures the buffered data pipe and registers it in pending_native_fallback_frames_ keyed by the frame's FrameTreeNodeId. It then initiates a reload on the same frame targeting https://attacker.com/exploit.pdf.
  5. The attacker's server responds to the reload request with an HTTP 302 Redirect pointing to a PDF resource on a victim origin (e.g., https://victim.com/statement.pdf).
  6. The browser-initiated navigation follows the redirect within the same frame. When the response from victim.com is intercepted by PluginResponseInterceptorURLLoaderThrottle, it calls IsPendingNativeFallback(frame_tree_node_id_), which evaluates to true because the lookup is based purely on the FrameTreeNodeId.
  7. The throttle consumes the attacker's cached body pipe via TakeCachedFallbackBody() and splices it into the TransferrableURLLoader, while keeping the victim's cloned response headers.
  8. The navigation commits, and the native PDF viewer renders the attacker's custom PDF content under https://victim.com/statement.pdf in the Omnibox with valid security/TLS indicators.

Root Cause Code References

  • Map Keyed Only by FTN: In extensions/browser/mime_handler/mime_handler_stream_manager.cc:

    C++
    bool MimeHandlerStreamManager::IsPendingNativeFallback(
        content::FrameTreeNodeId frame_tree_node_id) const {
      return pending_native_fallback_frames_.contains(frame_tree_node_id);
    }
    
  • No URL Validation in the Throttle: In chrome/browser/plugins/plugin_response_interceptor_url_loader_throttle.cc:

    C++
    if (response_head->mime_type == pdf::kPDFMimeType) {
      auto* stream_manager = MimeHandlerStreamManager::FromWebContents(web_contents);
      if (stream_manager &&
          stream_manager->IsPendingNativeFallback(frame_tree_node_id_)) { 
        extension_id = extension_misc::kPdfExtensionId;
        if (chrome_pdf::features::IsOopifPdfEnabled()) {
          cached_body = stream_manager->TakeCachedFallbackBody(frame_tree_node_id_);
        }
      }
    }
    

Suggested Fix

To remediate this issue, modify MimeHandlerStreamManager::CachedFallbackBody to store the expected origin or URL of the fallback stream alongside the cached pipe.

When the throttle queries the fallback stream manager, require passing the current response_url. The manager should then validate that the current response_url matches the origin (or URL) of the cached fallback body before returning the pipe. If a mismatch or cross-origin redirection is detected, the cached body must be discarded, and the reload must proceed through a standard network fetch of the redirected URL.

Evaluated with Chrome root at commit: 87214e6721f6c34afd9181b80769a24c0c601c50


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

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 pending fallback registry is keyed only by frame identifier and the throttle never compares the redirected response URL with the URL the cached body was buffered for.

Impact

An attacker could make arbitrary PDF content appear under a victim site's URL with intact security indicators, enabling address bar spoofing; the text notes the steps are derived from code analysis and no working proof of concept was executed.

What the attacker needed

Third-party PDF handler extension installed; victim visits attacker-controlled URL; attacker server issues a redirect

The fix

The cached fallback body should store the expected origin or URL and the throttle should pass the response URL so a mismatch or cross-origin redirect discards the cached body and fetches normally.

How it was found

  1. Install a third-party extension that registers a handler for the PDF MIME type.
  2. Navigate to an attacker-controlled URL serving a PDF so the body is buffered while the extension handler loads.
  3. The extension page calls the abort-and-fallback API, which caches the data pipe and reloads the same frame.
  4. The attacker's server answers the reload with a redirect to a PDF on a victim origin.
  5. The throttle sees a pending fallback for the frame and splices the cached body into the victim's response.
  6. The navigation commits and the built-in PDF viewer shows the attacker's PDF under the victim URL.

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 a browser shows a padlock and a web address, users trust that the content came from that site. Here, a browser component kept a saved copy of a file but only remembered which tab it belonged to, not which website. If the tab was then redirected to a different site, the saved file could still be shown while the address bar displayed the other site's name.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.