Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.1

CVE-2026-135389: Pion DTLS allows unauthenticated client to resume session

CVE-2026-135389 · published today
Summary

Servers using the Pion DTLS library that store session data and require client certificates can be tricked into skipping the certificate check. An attacker can start a handshake, stop before sending a certificate, and then reuse the saved session to gain access without proving their identity. Update the library to the latest version that removes this behavior.

What to do
  • Update github.com pion to version 3.1.14.
  • Update github.com pion to version 4.0.0-rc.6.
Affected software
Ecosystem VendorProductAffected versions
go github.com pion >= 2.1.0, <= 2.2.12
go github.com pion < 3.1.14
Fix: upgrade to 3.1.14
go github.com pion < 4.0.0-rc.6
Fix: upgrade to 4.0.0-rc.6
– pion dtls >= 2.1.0, <= 2.2.12
Ubuntu:24.04:LTS canonical golang-github-pion-dtls.v2 All versions
Ubuntu:26.10 canonical golang-github-pion-dtls-v3 All versions
Debian:14 debian golang-github-pion-dtls-v3 All versions
Debian:12 debian golang-github-pion-dtls.v2 All versions
Original advisory text
Pion DTLS: Client authentication bypass through premature DTLS 1.2 session caching
### Summary

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`

### Details

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.

### Impact

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. It can then open another connection and resume the cached session. The abbreviated handshake validates possession of that secret without enforcing the original client-authentication requirements.

fixed by https://github.com/pion/dtls/commit/ce84b979bcb5449727b3ea5c57add4e1edb33284
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.1 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-287Improper Authentication
Timeline
Published3 Dec 2026
Updated3 Dec 2026
First seen24 Nov 2026
Track software like this
Free during beta