CVE-2026-135390: Pion DTLS: Client authentication bypass when client and server connections share a session store
Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 2.1.0 until 3.1.14, a listener performing DTLS 1.2 resumption accepted a session created by an outbound client connection without checking which role created it. A malicious server previously contacted by the application can retain the outbound session secret, select the client-side cached session through its session key, and present it to the application's reachable listener when both connections share a SessionStore. The attacker must first complete an outbound connection. WebRTC users are not affected. The listener can accept application data without running its normal PSK callback or client-certificate authentication checks, allowing a peer trusted only for an outbound connection to gain unauthorized listener access. The issue is fixed in version 3.1.14.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.1.14
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using Pion DTLS versions 2.1.0 through 3.1.13 are exposed if a DTLS 1.2 listener and an outbound DTLS client connection share a SessionStore. WebRTC users are not affected.
What must an attacker do to exploit this?
The attacker must operate a malicious server that the application contacts through an outbound DTLS connection, allowing the attacker to retain the resulting session secret. The attacker can then use the client-side cached session key when connecting to the application's reachable listener.
What security checks can be bypassed?
The listener may accept application data without executing its normal PSK callback or client-certificate authentication checks. This can let a peer trusted only for an outbound connection obtain unauthorized access to the listener.
How can the issue be remediated?
Upgrade Pion DTLS to version 3.1.14, which fixes the role-validation issue during DTLS 1.2 session resumption.