Skip to content
Access control Advisory Advanced CVE-2026-79208

Missing authorization in HTTP2 (CVE-2026-79208)

A malicious HTTPS proxy can inject Alt-Svc entries for any origin tunneled through it because the HTTP/2 code does not check the proxy's authority for non-zero stream IDs. These entries persist in the cache, allowing the attacker to track browsing history and infer activity even after the proxy is removed.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 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: A malicious HTTP/2 proxy can inject unauthorized Alt-Svc entries for any origin tunneled through a CONNECT stream. This occurs because SpdySession::OnAltSvc fails to perform a certificate authority check when processing ALTSVC frames on non-zero stream IDs. Injected entries persist in the Alt-Svc cache even after the proxy is removed, enabling cross-network tracking and browsing history inference.

Affected files:

  • net/spdy/spdy_session.cc
  • net/http/http_proxy_connect_job.cc
  • net/spdy/spdy_stream.cc

Estimated timestamp from git blame: 2016-06-03

Summary

A potential vulnerability exists in Chrome's HTTP/2 implementation where a malicious or compromised HTTPS proxy can inject Alt-Svc entries for arbitrary origins tunneled through it. This is caused by a missing authority check in SpdySession::OnAltSvc when handling ALTSVC frames received on active CONNECT streams.

Root Cause Analysis

In net/spdy/spdy_session.cc, the SpdySession::OnAltSvc method handles ALTSVC frames. The logic handles session-level (stream 0) and stream-level (non-zero stream ID) frames differently:

  1. For stream_id == 0: The code correctly verifies that the session's certificate is authorized for the origin specified in the ALTSVC frame using a CanPool check (line 3218).
  2. For stream_id != 0: The code retrieves the URL associated with the active stream. For CONNECT streams used by an HTTP/2 proxy, this URL is synthesized as the destination origin (e.g., https://victim.com:443) in HttpProxyConnectJob::DoSpdyProxyCreateStream (line 704 of net/http/http_proxy_connect_job.cc). However, the implementation in SpdySession::OnAltSvc only checks if the scheme is HTTPS (line 3230) and fails to perform any certificate authority check (like CanPool) to ensure the proxy is authorized to provide alternative services for that destination origin.

Because HttpServerProperties (the Alt-Svc cache) is keyed by (origin, NetworkAnonymizationKey) and does not include the proxy chain, entries injected while using a proxy persist and are applied when the user later connects to the same origin directly without the proxy.

Suggested Steps to Reproduce (Theoretical)

  1. Configure Chrome to use an HTTPS proxy that negotiates h2 and is trusted by the client.
  2. Navigate to a destination site (e.g., https://example.com) through the proxy.
  3. The proxy, upon receiving the CONNECT request, sends an ALTSVC frame on the same stream ID (e.g., Stream 1) with a value like h3="attacker.test:443"; ma=2592000.
  4. SpdySession::OnAltSvc processes the frame and updates HttpServerProperties with the attacker-supplied alternative service for example.com because it lacks an authority check for Stream 1.
  5. Observe the entry in chrome://net-internals/#alt-svc.
  6. Disable the proxy and navigate to https://example.com directly. Chrome will attempt a QUIC connection to attacker.test with SNI example.com, leaking the user's IP and browsing activity.

Impact

This enables persistent tracking of a user's browsing history even after they stop using the malicious proxy. The attacker-controlled host receives connection attempts (including SNI) from the user's direct IP whenever they visit a poisoned origin. An attacker could also use this to persistently disable QUIC for specific origins by sending a 'clear' Alt-Svc value.

Suggested Fix

Modify SpdySession::OnAltSvc to perform an authority check for non-zero stream IDs. Specifically, if the session is used as a proxy (indicated by the ProxyChain or SessionUsage in the SpdySessionKey), it should not accept ALTSVC frames on CONNECT streams, or it should strictly verify that the session has certificate authority for the stream's origin before updating HttpServerProperties.

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

Likely, the code handling Alt-Svc frames on non-zero stream IDs only checks that the scheme is HTTPS and does not verify that the proxy is authorised for the destination origin.

Impact

This could enable persistent tracking of browsing history and leak the user's IP address and activity to the attacker even after the proxy is removed.

What the attacker needed

Victim uses a malicious HTTPS proxy; proxy is trusted by the client; proxy supports HTTP/2

The fix

The code should perform an authority check for non-zero stream IDs and reject Alt-Svc frames on CONNECT streams when the session is used as a proxy.

How it was found

  1. Configure Chrome to use a trusted HTTPS proxy that supports HTTP/2.
  2. Navigate to a destination site through the proxy.
  3. The proxy sends an Alt-Svc frame on the same stream ID with an attacker-controlled alternative service.
  4. The browser processes the frame and stores the alternative service for the destination.
  5. Disable the proxy and visit the destination directly; the browser attempts a connection to the attacker's host.

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.

When you use a proxy, your browser can be told to use a different server for a website in the future. This report shows that a malicious proxy can set that instruction for any site you visit through it, and the browser remembers it even after you stop using the proxy. That lets the attacker see when you visit those sites later.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.