All vulnerabilities

Go

CVE-2026-135389

Pion DTLS: Client authentication bypass through premature DTLS 1.2 session caching

Severity
Critical 9.1
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
3.1.14, 4.0.0-rc.6
Weakness
Improper authentication (CWE-287)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Also known as
GHSA-hhpj-h56m-9f2p
Sources
OSV.dev and GitHub

Description

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.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
github.com/pion/dtls/v2Go · osv:Go:github.com/pion/dtls/v2
  • From 2.1.0 up to 2.2.12
github.com/pion/dtls/v3Go · osv:Go:github.com/pion/dtls/v3
  • Every version before 3.1.14
github.com/pion/dtls/v4Go · osv:Go:github.com/pion/dtls/v4
  • Every version before 4.0.0-rc.6

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 6 vulnerable
PackageDebian releaseStatus
golang-github-pion-dtls-v3sidunstableVulnerableNo fix yet.
14forkytestingVulnerableNo fix yet.
golang-github-pion-dtls.v2sidunstableVulnerableNo fix yet.
14forkytestingVulnerableNo fix yet.
13trixiestableVulnerableNo security update; the fix may come in a point release. Debian: Minor issue
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-135389 , read in the last 12 hours.

About github.com/pion/dtls/v2

About github.com/pion/dtls/v3

About github.com/pion/dtls/v4

References