Pion DTLS
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.1.0, <= 2.2.12
- >= 3.0.0, < 3.1.14
Fixed in 3.1.14
Mitigation
Upgrade dtls to 3.1.14 or later.
References
- Vendor advisory github.com/pion/dtls/security/advisories/GHSA-…
- Patch github.com/pion/dtls/pull/1234
- Patch github.com/pion/dtls/commit/410ac0ef28df49757d…
3 more
- Patch github.com/pion/dtls/commit/ce84b979bcb5449727…
- Release notes github.com/pion/dtls/releases/tag/v3.1.14
- Release notes github.com/pion/dtls/releases/tag/v4.0.0-rc.6
Timeline
Days relative to CVE publicationFirst public PoC 8.4 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-135389 (created 3 Dec 2026, found by us: 3 Dec 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-135389 | 3 Dec 2026 +8.4 d | 3 Dec 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.