Inappropriate implementation in QUIC (CVE-2026-17733)
Proxied QUIC sessions in Chromium incorrectly trigger connection migration back to the default network after the handshake, causing a direct UDP probe to the proxy that leaks the client's real IP address. The session then fully migrates to an unencapsulated socket, bypassing the proxy tunnel.
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.
Overview: Proxied QUIC sessions incorrectly trigger connection migration back to the default network upon handshake completion due to a network handle mismatch. This sends a direct UDP probe to the proxy, leaking the client's real IP address. A non-fatal DUMP_WILL_BE_CHECK then allows the session to fully migrate to an unencapsulated socket, bypassing the proxy tunnel entirely.
Affected files:
net/quic/quic_chromium_client_session.ccnet/quic/quic_session_pool.cc
Estimated timestamp from git blame: 2025-04-18
Description
There is a potential privacy leak and encapsulation bypass in Chromium's QUIC client when using proxied sessions, such as those used for MASQUE or IP Protection. The vulnerability stems from a logical flaw where proxied sessions incorrectly trigger connection migration, leading them to send unencapsulated UDP packets directly to the proxy server.
In a multi-hop proxy configuration (like IP Protection), this flaw causes the client's real IP address to be exposed to the second-hop proxy, violating the split-knowledge privacy model. Furthermore, the session fully migrates out of the proxy tunnel, sending all subsequent traffic unencapsulated.
Root Cause Analysis
The vulnerability is a chain of logic bugs across session initialization, migration triggering, and non-fatal assertions:
-
Network Handle Mismatch during Initialization: When
QuicSessionPool::CreateSessionOnProxyStreamcreates a proxied session, it intentionally sets thenetworkhandle tohandles::kInvalidNetworkHandleto prevent migration. However, inQuicSessionPool::CreateSessionHelper(net/quic/quic_session_pool.cc:2091), the pool passes its globally tracked validdefault_network_to theQuicChromiumClientSessionconstructor instead of the explicitly invalidnetworkparameter. -
Spurious Migration Trigger: Upon successful completion of the cryptographic handshake,
QuicChromiumClientSession::OnCryptoHandshakeComplete()checks if it needs to migrate back to the default network (net/quic/quic_chromium_client_session.cc:4081):C++ if (migrate_session_on_network_change_v2_ && default_network_ != handles::kInvalidNetworkHandle && GetCurrentNetwork() != default_network_)For a proxied session,
GetCurrentNetwork()invokesGetBoundNetwork()on theQuicProxyDatagramClientSocket, which correctly returnskInvalidNetworkHandle. Because the session was erroneously constructed with a validdefault_network_(e.g., the Wi-Fi interface handle), the conditionGetCurrentNetwork() != default_network_evaluates to true. The session then incorrectly schedules a migration back to the default network. -
Client IP Leak via Probing: When the migration timer fires (after
kMinRetryTimeForDefaultNetworkSecs),StartProbingcreates a direct, unproxiedDatagramClientSocketbound to the physicaldefault_network_. It sends a raw QUICPATH_CHALLENGEto the session'speer_address(). In the context of a proxied session,peer_address()is the proxy's IP address. This sends a raw UDP packet from the client's real IP directly to the proxy, exposing the client's location/identity. -
Encapsulation Bypass via Non-Fatal Check: Because the proxy is a standard QUIC server, it responds to the
PATH_CHALLENGEwith aPATH_RESPONSE. This validates the direct path, triggeringQuicChromiumClientSession::MigrateToSocket(). InsideMigrateToSocket(net/quic/quic_chromium_client_session.cc:4228), there is a safeguard:C++ // Sessions carried via a proxy should never migrate... DUMP_WILL_BE_CHECK(session_key_.proxy_chain().is_direct());Crucially,
DUMP_WILL_BE_CHECKis non-fatal in official release builds (DCHECK_IS_ON()is false). It merely generates a crash dump and allows execution to continue. The session proceeds toMigratePath, permanently swapping its proxy-encapsulated writer for a direct raw UDP writer. All subsequent QUIC packets bypass the CONNECT-UDP tunnel entirely.
Potential Reproduction Steps
Although not yet verified with a live exploit, an attacker or researcher could potentially observe this issue using the following steps:
- On an Android device or a client with
kMigrateSessionsOnNetworkChangeV2enabled, configure Chromium to route QUIC traffic through a CONNECT-UDP proxy (e.g., an IP Protection proxy). - Initiate an HTTP/3 connection to any target website.
- Monitor the network traffic on the client's physical network interface (e.g., using Wireshark or tcpdump).
- Observe the initial QUIC handshake completing over the proxy tunnel.
- Wait approximately 1 second (the duration of
kMinRetryTimeForDefaultNetworkSecs). - Observe a raw UDP
PATH_CHALLENGEpacket sent directly from the client's real IP to the proxy's IP. - If the proxy relays or responds to the probe, observe that subsequent QUIC packets for the session are sent as raw UDP packets directly to the proxy, completely bypassing the HTTP/3 encapsulation of the MASQUE tunnel.
Evaluated with Chrome root at commit: 0eb4855bda702feaaa8b899336664f97e3df88b8
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. Please feel free to reach out to me if you have concerns or feedback.
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 logic error where the session pool passes a valid default network handle to a proxied session instead of the intended invalid handle, causing a spurious migration check to succeed.
Impact
The client's real IP address could be exposed to the second-hop proxy, and all subsequent traffic may bypass the proxy tunnel, breaking the split-knowledge privacy model.
What the attacker needed
Chromium with migration enabled; CONNECT-UDP proxy configured; multi-hop proxy setup
How it was found
- Configure Chromium to route QUIC traffic through a CONNECT-UDP proxy on a client with migration enabled.
- Initiate an HTTP/3 connection to any target website.
- Monitor network traffic on the client's physical interface.
- Observe the QUIC handshake completing over the proxy tunnel.
- Wait about one second for the migration timer.
- Observe a raw UDP PATH_CHALLENGE sent directly from the client's real IP to the proxy, and subsequent packets bypassing the tunnel.
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 traffic should go through the proxy so the destination does not see your real address. In this bug, the browser mistakenly thought it should switch back to a direct connection and sent a test packet straight to the proxy from your real address, revealing it. It then kept using a direct connection, so the proxy was no longer protecting your traffic.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.