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

Open redirect in AppManifest (CVE-2026-106322)

The WebApp Migration API only checked that the initial install URL was same-site, then loaded it as a browser-initiated top-level navigation that followed HTTP redirects to any destination. An attacker could use this to make credentialed GET requests to cross-site or private network addresses, potentially enabling CSRF and SSRF.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 months

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: The browser-side same-site check for the WebApp Migration API only validates the pre-redirect install URL. Since the subsequent background load behaves as a top-level browser-initiated navigation, it follows HTTP redirects to arbitrary cross-site or private network destinations with credentials, enabling potential CSRF and SSRF.

Affected files:

  • content/browser/manifest/manifest_manager_host.cc
  • components/webapps/browser/web_contents/web_app_url_loader.cc
  • chrome/browser/web_applications/commands/install_migrate_to_app_command.cc
  • chrome/browser/web_applications/commands/fetch_manifest_and_update_command.cc

Estimated timestamp from git blame: 2026-03-30

Summary

There is a potential security issue in the WebApp Migration API (active in desktop field trials under the DesktopAppOriginMigration config) where same-site checks are applied only to the initial, pre-redirect install_url of migrate_to/migrate_from manifests. Because the browser loads this URL using a browser-initiated, top-level main frame navigation in a background WebContents, the navigation automatically follows HTTP redirects without re-checking if the redirect destination is same-site. This can be abused to make credentialed GET requests to arbitrary cross-site or private network addresses, bypassing SameSite cookie restrictions and Local Network Access (LNA) checks.

Note: These findings are based on a static analysis of the codebase. Our tooling does not currently have the capability to execute code or run a live proof of concept, so this issue should be treated as potential/suggested until verified.

Root Cause Analysis

  1. Pre-Redirect Verification Only: In content/browser/manifest/manifest_manager_host.cc, the browser-side manifest parser validates the install_url of migrate_to and migrate_from against the document origin's site using SchemefulSite::IsSameSiteWith():

    C++
    if (manifest.migrate_to) {
      if (manifest.migrate_to->install_url.is_valid() &&
          !document_site.IsSameSiteWith(manifest.migrate_to->install_url)) {
        return "Manifest migrate_to install_url must be the same site...";
      }
    }
    

    This validation is performed only on the parsed URL value, before any network connection is made.

  2. Browser-Initiated Top-Level Navigation: When installing or updating the app, the URL is navigated using WebAppUrlLoader::LoadUrl (defined in components/webapps/browser/web_contents/web_app_url_loader.cc), which initiates a top-level, main-frame navigation where is_renderer_initiated = false and initiator_origin = nullopt.

  3. Bypassing Protections on Redirects: Because the navigation is treated as browser-initiated and runs on a main frame:

    • Local Network Access (LNA) checks are completely bypassed since top-level main-frame navigations default to Policy::kAllow (see content/browser/renderer_host/local_network_access_util.cc). This enables reachability to private local IP addresses (RFC1918 / link-local addresses).
    • Fetch Metadata is set to Sec-Fetch-Site: none, which bypasses server-side checks that verify the source of the navigation.
    • SameSite Cookies (SameSite=Lax and potentially Strict depending on kCookieSameSiteConsidersRedirectChain) are attached to the redirected request since there is no cross-site initiator origin.
  4. Post-hoc Detection is Too Late: While WebAppUrlLoader monitors the load and detects redirects by comparing the final URL with the requested URL in DidFinishLoad (returning kRedirectedUrlLoaded to abort the command), the HTTP request to the redirect destination has already been fully processed by the target server before this check occurs.

Potential Steps to Reproduce

  1. An attacker serves a PWA from https://attacker.example/ with a manifest specifying:

    JSON
    "migrate_to": {
      "id": "https://attacker.example/v2",
      "install_url": "https://attacker.example/r"
    }
    
  2. When the PWA is installed and subsequently updated, ManifestUpdateManager triggers InstallMigrateToAppCommand which loads https://attacker.example/r in a background WebContents.

  3. The server at https://attacker.example/r responds with an HTTP 302 Found redirecting to https://victim-bank.example/transfer?to=evil&amt=1000 or a local address like http://192.168.1.1/admin?cmd=reboot.

  4. The browser follows the redirect, attaching the user's session cookies for victim-bank.example or successfully routing the request into the local router, executing the action.

Suggested Fix

Implement navigation throttling or strict redirection checks within WebAppUrlLoader or the migration commands. Specifically:

  • Introduce a policy or parameter in WebAppUrlLoader::LoadUrl to explicitly disallow cross-site redirects during background manifest-related navigations.
  • Implement a custom NavigationThrottle for the migration commands that monitors redirects (WillRedirectRequest) and cancels the navigation immediately if a redirect attempts to cross same-site/same-origin boundaries.

Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8


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 same-site validation was applied only to the pre-redirect install URL, while the subsequent browser-initiated top-level navigation followed HTTP redirects without re-checking the destination.

Impact

This could enable CSRF against cross-site endpoints and SSRF to private network addresses, bypassing SameSite cookie restrictions and Local Network Access checks; the report notes the findings are from static analysis and have not been verified with a live proof of concept.

What the attacker needed

Desktop field trial DesktopAppOriginMigration active; Attacker controls a PWA with a crafted manifest; Victim installs and updates the PWA; Victim has cookies for the redirect target

The fix

The report suggests adding navigation throttling or strict redirect checks in WebAppUrlLoader or the migration commands to cancel cross-site redirects during background manifest navigations.

How it was found

  1. An attacker serves a PWA with a manifest whose migrate_to install_url points to an attacker-controlled redirect endpoint.
  2. When the PWA is installed and updated, the browser loads that install_url in a background WebContents.
  3. The attacker's server responds with an HTTP redirect to a victim site or a private network address.
  4. The browser follows the redirect, attaching the user's cookies or reaching the local device, and the action is executed.

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 install a web app, the browser fetches a file called a manifest that can tell it to migrate to a new address. The browser checked that this address was on the same site as the app, but it did not check where that address redirected to. An attacker could make the address redirect to a bank or a home router, and the browser would follow it while sending the user's cookies, which could perform actions on those sites without the user's knowledge.

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.