Pion DTLS: Client authentication bypass through premature DTLS 1.2 session caching
- State
- Published
- Severity
- 9.1 Critical
- Published
- Nov 24, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 23, 2026
Description
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.
| Product | Versions |
|---|---|
| dtls pion | >= 2.1.0, <= 2.2.12 Affected>= 3.0.0, < 3.1.14 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 9.1 Critical | GitHub_M |
Weaknesses
- CWE-287 Improper Authentication
References
- https://github.com/pion/dtls/security/advisories/GHSA-hhpj-h56m-9f2p
- https://github.com/pion/dtls/pull/1234
- https://github.com/pion/dtls/commit/410ac0ef28df49757d3a695c10dda75137e1dbf2
- https://github.com/pion/dtls/commit/ce84b979bcb5449727b3ea5c57add4e1edb33284
- https://github.com/pion/dtls/releases/tag/v3.1.14
- https://github.com/pion/dtls/releases/tag/v4.0.0-rc.6
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.