Critical vulnerability
Critical authentication bypass in github.com/pion/dtls/v2 (CVE-2026-135389)
Authentication bypass in github.com/pion/dtls/v2 · Go
CVE-2026-135389
Pion DTLS: Client authentication bypass through premature DTLS 1.2 session caching
- Severity
- Critical 9.1
- Published
- 3 Dec 2026
- Fixed in
- 3.1.14, 4.0.0-rc.6
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change data
Pion DTLS saves resumable sessions before the original handshake has completed client authentication. An unauthenticated attacker can create an unfinished session and then resume it to bypass required client-certificate authentication. This doesn't affect webrtc users.
Discovered by Anthropic's OSS Scanner ANT-2026-8ECSI13S
Affected servers must enable a SessionStore, negotiate a certificate-based cipher suite, and require client certificates through RequireAnyClientCert or RequireAndVerifyClientCert. The same mechanism can bypass a rejecting VerifyConnection callback.
The server stores the session ID and master secret after processing ClientKeyExchange, before receiving and validating the client's Finished message and enforcing the final authentication checks.
An attacker can omit the client Certificate message, send ClientKeyExchange, and leave the handshake unfinished. Because the attacker participated in the key exchange, it knows the resulting master secret.
| Software | Affected versions |
|---|---|
| github.com/pion/dtls/v2Go |
|
| github.com/pion/dtls/v3Go |
|
| github.com/pion/dtls/v4Go |
|
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135389
- GitHub Advisory Database https://github.com/advisories/GHSA-hhpj-h56m-9f2p
From NVD, the CVE Program, OSV.dev with the GitHub Advisory Database, WPVulnerability, WordPress's security advisories and CISA's Known Exploited Vulnerabilities catalog, as they stood when this was written. Each vulnerability's own page has its latest rating and fix. This product uses the NVD API but is not endorsed or certified by the NVD.