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.ccchrome/browser/ui/browser_navigator_params_utils.ccchrome/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:
- Missing Flag Propagation: When
LoadURLParamsFromNavigateParamsconstructs the navigation parameters for a captive portal probe or an explicitly typed HTTP URL, it correctly setsforce_no_https_upgrade_ = trueinside theChromeNavigationUIDataobject. However, it fails to set the correspondingforce_no_https_upgradeboolean field in thecontent::NavigationController::LoadURLParamsstruct (which defaults tofalse). - Erroneous Interceptor Creation: Because
LoadURLParams.force_no_https_upgradeisfalse,NavigationControllerImplinitializes theNavigationRequestwithforce_no_https_upgrade_ = false. Consequently,ChromeContentBrowserClient::WillCreateURLLoaderRequestInterceptorserroneously creates anHttpsUpgradesInterceptorfor the request. - Initial Allowlist Write: Inside
HttpsUpgradesInterceptor::MaybeCreateLoader, the code checksShouldExcludeNavigationFromUpgrades. This function reads the correctly populatedChromeNavigationUIDataand returnstrue. If Strict Mode is not enabled (e.g., the user is in Balanced Mode), the interceptor explicitly allowlists the initial host by callingStatefulSSLHostStateDelegate::AllowHttpForHost, writing a persistentContentSettingsType::HTTP_ALLOWEDentry valid for 15 days. - Redirect Chain Poisoning: When the initial HTTP request receives a 30x redirect,
NavigationURLLoaderImpl::Restartis called. Crucially,Restartreuses the exact same interceptor array and the sameChromeNavigationUIDatainstance for the new URL. The interceptor evaluates the new target host, sees the persistent exemption state in the UI data, and callsAllowHttpForHostagain 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.
- Configure a Chrome profile with default HFM settings (e.g., Balanced mode enabled).
- As a MITM attacker or captive portal, intercept a plaintext HTTP connectivity probe (e.g.,
http://connectivitycheck.gstatic.com/generate_204). - Respond with a chain of 30x redirects to target victim hosts:
http://victim1.example->http://victim2.example. - End the redirect chain at the actual captive portal login page.
- Observe in
chrome://settings/content/allorHostContentSettingsMapthatvictim1.exampleandvictim2.examplehave been added to the HTTP allowlist with a 15-day expiration. - On a trusted network, navigate to
http://victim1.exampleand 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.
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.
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
- Configure a Chrome profile with default HTTPS-First Mode settings (Balanced mode).
- As a MITM attacker or captive portal, intercept a plaintext HTTP connectivity probe.
- Respond with a chain of 30x redirects to target victim hosts.
- End the redirect chain at the actual captive portal login page.
- Observe that the victim hosts have been added to the HTTP allowlist with a 15-day expiration.
- 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.