Skip to content
Misconfiguration Advisory Advanced CVE-2026-87571

Improper certificate validation in Loader (CVE-2026-87571)

Chrome's Client-Hints persistence logic saves origin-keyed hints from a navigation response without checking the connection's TLS certificate status, unlike HSTS, Alt-Svc and other security headers. An active on-path attacker who gets a user to bypass a certificate warning could plant durable high-entropy hints that Chrome later sends to the genuine origin.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 43 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 potential vulnerability in Chrome's Client-Hints persistence logic allows an active on-path attacker to plant durable, high-entropy Client-Hints for a target origin over a connection with TLS certificate errors. Unlike other state-persisting security features (e.g., HSTS, Alt-Svc, DBSC), the Client-Hints persistence logic checks only the syntactic trustworthiness of the origin's scheme, omitting a certificate status validation. This can cause high-entropy fingerprinting information to be volunteered on subsequent connections to the authentic origin.

Affected files:

  • content/browser/client_hints/client_hints.cc
  • content/browser/renderer_host/navigation_request.cc
  • content/browser/client_hints/critical_client_hints_throttle.cc

Estimated timestamp from git blame: 2020-06-30

Description

Root Cause

In content/browser/client_hints/client_hints.cc, ParseAndPersistAcceptCHForNavigation parses and persists origin-keyed Client-Hints from a navigation response header. However, its transport security verification is limited to checking whether the origin is potentially trustworthy via IsValidURLForClientHints:

C++
// content/browser/client_hints/client_hints.cc
bool IsValidURLForClientHints(const url::Origin& origin) {
  return network::IsOriginPotentiallyTrustworthy(origin);
}

This check only validates structural aspects of the origin (such as whether the scheme is HTTPS). It does not consult the connection's actual certificate status (cert_status or ssl_info).

This behavior diverges from other security mechanisms that write origin-keyed persistent state from response headers. For example, the following sibling handlers strictly discard headers if the connection has certificate errors:

  • HSTS (net/url_request/url_request_http_job.cc): IsCertStatusError(ssl_info.cert_status)
  • DBSC (net/url_request/url_request_http_job.cc): IsCertStatusError(ssl_info.cert_status)
  • Report-To (net/http/http_network_transaction.cc): IsCertStatusError(response_.ssl_info.cert_status)
  • NEL (net/http/http_network_transaction.cc): IsCertStatusError(response_.ssl_info.cert_status)
  • Alt-Svc (net/http/http_network_transaction.cc): !IsCertStatusError(response_.ssl_info.cert_status)

Persistence Sink

When client hints are parsed, PersistAcceptCH invokes delegate->PersistClientHints, which in Chrome is implemented via:

C++
// components/client_hints/browser/client_hints.cc
content_settings::ContentSettingConstraints constraints;
constraints.set_session_model(content_settings::mojom::SessionModel::DURABLE);
settings_map_->SetWebsiteSettingDefaultScope(
    primary_url, GURL(), ContentSettingsType::CLIENT_HINTS,
    base::Value(std::move(client_hints_dictionary)), constraints);

Because the session model is set to DURABLE, this writes directly to the user profile's preferences on disk, meaning the opt-in survives browser restarts.

Potential Steps to Trigger

Note: Our automated security review tooling does not currently have the capability to execute live code or run proofs of concept. The following are suggested, potential steps based on a static analysis of the codebase:

  1. An active on-path attacker (MITM) intercepts the network traffic of a victim who is navigating to https://victim.example.

  2. The attacker presents an invalid or self-signed certificate, causing Chrome to display an SSL/TLS certificate warning interstitial.

  3. The user clicks "Proceed" on the warning interstitial, registering a temporary certificate exception in SSLHostStateDelegate and triggering a reload.

  4. The connection is completed over the bypassed certificate. The attacker returns a 200 OK response with a malicious Accept-CH header containing a full set of high-entropy hints:

    HTTP
    Accept-CH: Sec-CH-UA-Full-Version-List, Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Model, Sec-CH-UA-Platform-Version, Sec-CH-UA-WoW64, Device-Memory, Sec-CH-Device-Memory, Sec-CH-Viewport-Height, Sec-CH-DPR, Sec-CH-Prefers-Reduced-Motion, Save-Data
    
  5. NavigationRequest commits the navigation and invokes ParseAndPersistAcceptCHForNavigation. Because there is no validation of the connection's certificate error status, the high-entropy Client-Hints preferences are successfully saved to disk as a durable content setting.

  6. The MITM is removed. When the victim later navigates to the authentic https://victim.example over a legitimate TLS connection, the browser retrieves the stored settings and automatically transmits the high-entropy client hints, defeating the privacy expectation that such hints are only volunteered on first-party opt-in.

Suggested Fix

Gate ParseAndPersistAcceptCHForNavigation (or its calling sites in NavigationRequest and CriticalClientHintsThrottle) to ensure that client hints are never persisted from connections with active certificate errors, mirroring the logic used in standard security headers:

C++
if (net::IsCertStatusError(ssl_info.cert_status)) {
  return std::nullopt;
}

Evaluated with Chrome root at commit: 94d9235ebe3b7276e5284f0dc5d55577ff949908


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 function that parses and persists Accept-CH headers only checks that the origin's scheme is potentially trustworthy and never inspects the connection's certificate error status.

Impact

High-entropy fingerprinting data could be volunteered to the authentic origin without its opt-in, weakening the privacy expectation around Client Hints; the attack requires the user to click through a certificate warning.

What the attacker needed

Active on-path attacker; victim clicks through a certificate warning

The fix

The persistence path should be gated so that Client Hints are never saved from connections with active certificate errors, mirroring the checks used for HSTS, Alt-Svc and similar headers.

How it was found

  1. An active on-path attacker intercepts the victim's navigation to the target origin.
  2. The attacker presents an invalid or self-signed certificate, triggering Chrome's certificate warning interstitial.
  3. The user clicks Proceed, creating a temporary certificate exception and reloading the page.
  4. The attacker returns a 200 response with an Accept-CH header listing many high-entropy hints.
  5. Chrome commits the navigation and persists the hints as a durable content setting without checking the certificate error.
  6. After the attacker is removed, Chrome sends the stored high-entropy hints to the authentic origin on later visits.

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.

Client Hints are extra details a browser can send to a website, such as the exact browser version or device model, to help the site tailor its response. Normally the browser only sends these after the real site asks for them over a trusted connection. Here, an attacker sitting on the network could trick the browser into saving that request while using a fake certificate, so the browser later leaks those details to the real site without the site ever asking.

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.