Skip to content
Misconfiguration Advisory Advanced CVE-2026-79006

Protection mechanism failure in HttpsUpgrades (CVE-2026-79006)

A logic error in how the force_no_https_upgrade flag is propagated causes the HttpsUpgradesInterceptor to be attached to navigations that should be exempt from HTTPS upgrades. During redirect chains on these exempt navigations, the interceptor reuses the initial exemption state and adds every target host in the chain to the 15-day HTTP allowlist, allowing a malicious captive portal or MITM attacker to silently disable HTTPS-First Mode protections for arbitrary domains.

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 without the Chrome Security team.

Overview: A discrepancy in how the force_no_https_upgrade flag is propagated causes the HttpsUpgradesInterceptor to be erroneously attached to navigations exempt from HTTPS upgrades. During redirect chains on these exempt navigations, the interceptor reuses the initial exemption state, incorrectly adding every target host in the chain to the 15-day HTTP allowlist. This allows a malicious captive portal or MITM attacker to silently disable HTTPS-First Mode protections for arbitrary domains.

Affected files:

  • chrome/browser/ssl/https_upgrades_interceptor.cc
  • chrome/browser/ui/browser_navigator_params_utils.cc
  • chrome/browser/chrome_content_browser_client.cc

Estimated timestamp from git blame: 2025-10-01

Summary

A potential logic error exists in the initialization of navigation parameters that causes HttpsUpgradesInterceptor to be attached to navigations that are meant to be explicitly excluded from HTTPS upgrades (such as captive portal probes or explicitly typed http:// URLs). Because interceptors are reused across redirect legs, the interceptor incorrectly applies the original navigation's exemption status to every subsequent host in a redirect chain. This results in the persistent (15-day) allowlisting of arbitrary domains, silently bypassing HTTPS-First Mode (HFM) protections.

Technical Details

The root cause is a discrepancy in how force_no_https_upgrade is populated in chrome/browser/ui/browser_navigator_params_utils.cc:

  1. Missing Flag Propagation: When LoadURLParamsFromNavigateParams constructs the navigation parameters for a captive portal probe or an explicitly typed HTTP URL, it correctly sets force_no_https_upgrade_ = true inside the ChromeNavigationUIData object. However, it fails to set the corresponding force_no_https_upgrade boolean field in the content::NavigationController::LoadURLParams struct (which defaults to false).
  2. Erroneous Interceptor Creation: Because LoadURLParams.force_no_https_upgrade is false, NavigationControllerImpl initializes the NavigationRequest with force_no_https_upgrade_ = false. Consequently, ChromeContentBrowserClient::WillCreateURLLoaderRequestInterceptors erroneously creates an HttpsUpgradesInterceptor for the request.
  3. Initial Allowlist Write: Inside HttpsUpgradesInterceptor::MaybeCreateLoader, the code checks ShouldExcludeNavigationFromUpgrades. This function reads the correctly populated ChromeNavigationUIData and returns true. If Strict Mode is not enabled (e.g., the user is in Balanced Mode), the interceptor explicitly allowlists the initial host by calling StatefulSSLHostStateDelegate::AllowHttpForHost, writing a persistent ContentSettingsType::HTTP_ALLOWED entry valid for 15 days.
  4. Redirect Chain Poisoning: When the initial HTTP request receives a 30x redirect, NavigationURLLoaderImpl::Restart is called. Crucially, Restart reuses the exact same interceptor array and the same ChromeNavigationUIData instance for the new URL. The interceptor evaluates the new target host, sees the persistent exemption state in the UI data, and calls AllowHttpForHost again for the redirect target. This repeats for every hop in the chain.

Impact

A malicious captive portal or MITM attacker can intercept an exempt HTTP request (like a connectivity check) and respond with a redirect chain pointing to up to 20 victim domains (e.g., http://bank.example, http://email.example). This silently writes persistent HTTP exceptions for those domains into the user's profile across all networks. For the next 15 days, any navigation to those domains will bypass HTTPS-First Mode upgrades, allowing the attacker to seamlessly impersonate the origins via plaintext HTTP.

Potential Reproduction Steps

Note: Our tooling agent does not have the ability to run code, so these are potential steps to reproduce the issue.

  1. Configure a Chrome profile with default HFM settings (e.g., Balanced mode enabled).
  2. As a MITM attacker or captive portal, intercept a plaintext HTTP connectivity probe (e.g., http://connectivitycheck.gstatic.com/generate_204).
  3. Respond with a chain of 30x redirects to target victim hosts: http://victim1.example -> http://victim2.example.
  4. End the redirect chain at the actual captive portal login page.
  5. Observe in chrome://settings/content/all or HostContentSettingsMap that victim1.example and victim2.example have been added to the HTTP allowlist with a 15-day expiration.
  6. On a trusted network, navigate to http://victim1.example and observe that no HFM interstitial is shown and the connection remains plaintext HTTP.

Suggested Fix

Update LoadURLParamsFromNavigateParams in chrome/browser/ui/browser_navigator_params_utils.cc to explicitly populate the force_no_https_upgrade field in content::NavigationController::LoadURLParams whenever it calculates the exemption for ChromeNavigationUIData.

C++
  if (params->frame_tree_node_id.is_null()) {
    bool force_no_https_upgrade =
        params->url_typed_with_http_scheme ||
        params->captive_portal_window_type !=
            captive_portal::CaptivePortalWindowType::kNone;
    
    load_url_params.force_no_https_upgrade = force_no_https_upgrade; // <-- Add this line

    std::unique_ptr<ChromeNavigationUIData> navigation_ui_data =
        ChromeNavigationUIData::CreateForMainFrameNavigation(
            target_contents, params->is_using_https_as_default_scheme,
            force_no_https_upgrade);
    navigation_ui_data->set_navigation_initiated_from_sync(
        params->navigation_initiated_from_sync);
    load_url_params.navigation_ui_data = std::move(navigation_ui_data);
  }

This ensures that the NavigationRequest correctly understands the exemption, preventing the HttpsUpgradesInterceptor from being instantiated in the first place.

Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b


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

Likely a missing assignment: the force_no_https_upgrade boolean in LoadURLParams is not set even though the corresponding field in ChromeNavigationUIData is, so the interceptor is created and then reuses the exemption across redirects.

Impact

A malicious captive portal or MITM attacker could silently write persistent HTTP exceptions for up to 20 victim domains, causing HTTPS-First Mode to be bypassed for those domains for 15 days, allowing the attacker to impersonate the origins via plaintext HTTP.

What the attacker needed

Chrome with HTTPS-First Mode in Balanced mode; Attacker controls network (MITM or captive portal); Victim triggers an exempt HTTP navigation

The fix

The fix should explicitly populate the force_no_https_upgrade field in LoadURLParams whenever the exemption is calculated, preventing the interceptor from being instantiated.

How it was found

  1. Configure a Chrome profile with default HTTPS-First Mode settings (Balanced mode).
  2. As a MITM attacker or captive portal, intercept a plaintext HTTP connectivity probe.
  3. Respond with a chain of 30x redirects to target victim hosts.
  4. End the redirect chain at the actual captive portal login page.
  5. Observe that the victim hosts have been added to the HTTP allowlist with a 15-day expiration.
  6. On a trusted network, navigate to a victim host and observe that no HTTPS-First Mode interstitial is shown and the connection remains plaintext HTTP.

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.

HTTPS-First Mode is a browser feature that tries to upgrade insecure HTTP connections to secure HTTPS. This report describes a bug where a special exemption meant for captive portal checks or manually typed HTTP addresses accidentally gets applied to every website in a redirect chain, permanently marking those sites as allowed to use insecure HTTP for 15 days. An attacker who controls a network (like a fake Wi-Fi portal) could abuse this to make the browser silently stop protecting certain sites.

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.