CVE-2026-135389: Pion DTLS: Client authentication bypass through premature DTLS 1.2 session caching
Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 2.1.0 until 3.1.14, a server with a SessionStore saved the session ID and master secret after ClientKeyExchange, before receiving a valid Finished message and before enforcing the configured client-authentication checks. A remote client can omit its Certificate message, send ClientKeyExchange, leave the first handshake unfinished, and then resume the cached session using the master secret it learned during key exchange. The server must use a SessionStore and negotiate a certificate-based cipher suite. The attack can bypass client certificates required through RequireAnyClientCert or RequireAndVerifyClientCert, or a rejecting VerifyConnection callback. WebRTC users are not affected. The abbreviated handshake can allow unauthorized access to application data. The issue is fixed in version 3.1.14.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Pion DTLSto a version that resolves this vulnerability.Fixed in 3.1.14
Event History
Frequently Asked Questions
Which deployments are exposed?
Affected deployments use Pion DTLS from 2.1.0 through 3.1.13, configure a SessionStore, and negotiate a certificate-based cipher suite. WebRTC users are not affected.
Does requiring client certificates prevent exploitation?
No. The issue can bypass client authentication configured with RequireAnyClientCert or RequireAndVerifyClientCert, and can also bypass a rejecting VerifyConnection callback.
What does an attacker need to do?
A remote client can omit its Certificate message, send ClientKeyExchange, leave the initial handshake unfinished, and resume the prematurely cached session using the master secret learned during key exchange. No prior authentication is required in the provided attack scenario.
What can be done before upgrading?
The vulnerable flow requires a server-side SessionStore. Removing or disabling session caching prevents that prerequisite; the permanent fix is upgrading to version 3.1.14.