CVE-2026-115529: Schannel TLS auto client session resumption
In curl with the Schannel TLS backend, TLS session resumption kept a previously authenticated client certificate identity alive across a cross-origin redirect, even after automatic client certificate selection was turned off. An attacker who could influence a redirect could therefore cause an application to reach an mTLS-protected endpoint under the earlier client identity.
- Triaged in 5 hours
- Fixed in 4 days
- Disclosed after 4 days
Summary:
In curl 8.23.0 with Schannel, TLS session resumption preserves an authenticated client certificate identity across a cross-origin redirect even after automatic client certificate selection is disabled.
This appears to be an incomplete fix for CVE-2026-86415, where the original fix addressed authenticated connection reuse but did not prevent the same authentication state from being retained through TLS session resumption.
Affected version
Reproduced with libcurl 8.23.0-DEV (Schannel) on a Windows Server 2022 GitHub Actions runner, using TLS 1.2.
Steps To Reproduce:
- Establish an mTLS connection to a localhost HTTPS server using
CURLSSLOPT_AUTO_CLIENT_CERTand an ephemeral client certificate. - Close the physical connection while retaining the libcurl TLS session cache, then reuse the same easy handle to follow an HTTP redirect back to the HTTPS server.
- With session caching enabled, the redirected connection resumes the authenticated TLS session over a new TCP connection, and the server reports the original client certificate identity in both TLS ticket and session-ID modes.
- With session caching disabled, the redirected TLS handshake fails because no client certificate is provided.
Impact
An application following an attacker-influenced redirect could unintentionally access an mTLS-protected endpoint under a previously authenticated client identity, potentially bypassing the intended redirect authentication boundary.
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 fix for the earlier reuse issue only cleared the authenticated connection state but left the TLS session cache intact, so resumption restored the client certificate identity.
Impact
An application following an attacker-influenced redirect could unintentionally reach an mTLS-protected endpoint under a previously authenticated client identity, potentially bypassing the intended redirect authentication boundary.
What the attacker needed
Attacker-influenced redirect; TLS session caching enabled; Schannel backend on Windows
How it was found
- Set up an mTLS connection to a local HTTPS server using automatic client certificate selection with a temporary client certificate.
- Close the connection but keep the TLS session cache, then reuse the same handle to follow a redirect back to the server.
- With caching on, the redirected connection resumes the authenticated session over a new connection and the server sees the original client identity.
- With caching off, the redirected handshake fails because no client certificate is sent.
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 two computers talk over HTTPS they can agree to remember each other and skip the full setup next time; this is called session resumption. Here the library remembered not just the encryption but also which client certificate had been used, so a later connection to a different place still looked like the same authenticated client. That means a redirect to somewhere else could quietly carry the old identity with it.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.