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

Observable discrepancy in Network (CVE-2026-87539)

The NoVarySearchCache in Chromium uses a single global LRU list and size counter across all Network Isolation Key partitions, so an attacker can detect cache insertions on other sites by observing eviction of their own entries. This creates a cross-site side channel for tracking user activity.

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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: The NoVarySearchCache uses a single global LRU list and size counter across all Network Isolation Key (NIK) partitions. An attacker can detect the number of cache insertions on other sites by observing the eviction of their own entries, bypassing intended cross-site isolation. This vulnerability enables a reliable side channel for tracking user activity across top-level site boundaries.

Affected files:

  • net/http/no_vary_search_cache.cc
  • net/http/no_vary_search_cache.h
  • net/http/http_cache_transaction.cc
  • net/http/http_cache.cc
  • net/base/features.cc

Estimated timestamp from git blame: 2025-01-16

Summary

The NoVarySearchCache in Chromium's network stack is designed to store the relationship between a URL and a previous response that used the No-Vary-Search (NVS) header. While the cache correctly partitions its lookup map by the NetworkIsolationKey (NIK), its eviction mechanism—specifically the LRU list and entry counter—is global. This shared state allows an attacker to create a cross-site eviction oracle to monitor user activity on other websites.

Root Cause Analysis

In net/http/no_vary_search_cache.h, the cache structure is defined as follows:

C++
// Partitioned lookup map
CachePartitionKeyToBaseUrlMap partitions_;

// Global eviction state
base::LinkedList<Query> lru_;
size_t size_ = 0u;
size_t max_size_;

When a new entry is inserted via DoInsert() (net/http/no_vary_search_cache.cc, line 604), it is added to the global lru_ list and the global size_ is incremented. If size_ exceeds max_size_ (defaulting to 1000 in net/base/features.cc), EvictIfOverfull() is triggered:

C++
void NoVarySearchCache::EvictIfOverfull() {
  CHECK_LE(size_, max_size_ + 1);
  if (size_ == max_size_ + 1) {
    // Remove the globally least-recently-used entry
    EraseQuery(lru_.tail()->value());
  }
}

Because lru_.tail() returns the globally oldest entry regardless of which partition it belongs to, an insertion by a victim site under one NIK will evict an entry belonging to an attacker site under a different NIK.

Potential Attack Scenario

An attacker can exploit this behavior without requiring a compromised renderer:

  1. Priming: The attacker-controlled site fills the NoVarySearchCache to its 1000-entry capacity by fetching resources with the No-Vary-Search header.
  2. Maintenance: The attacker periodically re-fetches these resources. Each hit calls MoveToHead(lru_), ensuring the attacker's entries remain at the front of the global LRU list.
  3. Observation: When the user visits a victim site that triggers a No-Vary-Search cache insertion, the cache exceeds its limit. The browser evicts the attacker's globally stalest entry at the tail of the list.
  4. Probing: The attacker later fetches their resources using new query parameters (nonces).
    • If the entry for a resource was evicted, the NVS lookup fails, the URL is not rewritten, and a network request reaches the attacker's server.
    • If the entry survived, the NVS lookup succeeds, the URL is rewritten to the cached version, and a disk cache hit occurs, preventing a network request.

By observing which nonced requests reach their server, the attacker can precisely count how many NVS-enabled resources were loaded on other sites.

Potential Steps to Reproduce

  1. Navigate to https://attacker.example. The page should perform 1000 fetch() calls to resources that return No-Vary-Search: params and have long-lived caching.
  2. Maintain these entries as fresh by periodically re-fetching them.
  3. In a different top-level context, navigate to https://victim.example, which serves one or more resources with No-Vary-Search headers.
  4. At attacker.example, attempt to fetch the original resources using unique query nonces.
  5. Count the number of requests that hit the attacker's server; this count will correspond to the number of NVS insertions on the victim site.

Suggested Fix

The eviction state must be partitioned by the CachePartitionKey. Each partition should have its own LRU list and size limit, ensuring that insertions in one partition only evict entries from that same partition. Alternatively, the global max_size_ could be replaced by per-partition caps to prevent one site from monopolizing or observing the global cache state.

Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e


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 eviction state (LRU list and size counter) is global rather than partitioned by NetworkIsolationKey, so insertions in one partition evict entries from another.

Impact

An attacker could reliably count how many No-Vary-Search-enabled resources were loaded on other sites, enabling cross-site tracking of user activity.

What the attacker needed

Attacker controls a website; victim visits attacker site; victim visits a site using No-Vary-Search

The fix

The eviction state should be partitioned by CachePartitionKey, with each partition having its own LRU list and size limit.

How it was found

  1. Navigate to the attacker site, which performs 1000 fetch calls to resources returning No-Vary-Search: params with long-lived caching.
  2. Periodically re-fetch these resources to keep the attacker's entries fresh in the global LRU list.
  3. In a different top-level context, navigate to a victim site that serves resources with No-Vary-Search headers.
  4. At the attacker site, fetch the original resources using unique query nonces.
  5. Count the number of requests that reach the attacker's server; this count corresponds to the number of NVS insertions on the victim site.

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.

A browser cache stores web responses to speed up loading. This report found that a special cache for a header called No-Vary-Search shares its eviction list across all websites, so one site can tell when another site adds entries by watching its own entries get removed. That lets a malicious site learn which other sites a user visits.

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.