Skip to content
DayZeroHub
Critical CVSS 9.1CVE-2026-135389

Pion DTLS: Client authentication bypass through premature DTLS 1.2 session caching (CVE-2026-135389)

pion dtls

Summary

Pion DTLS, the Go implementation of DTLS, can store a session before the handshake is complete and before client-authentication checks are enforced, allowing a remote client to resume it without authenticating. The vulnerability is rated critical (CVSS 9.1) and the vendor fixes it in version 3.1.14.

What happened

A server using a SessionStore saved the session ID and master secret after the ClientKeyExchange message, before receiving a valid Finished message and before enforcing the configured client-authentication checks. As a result, a remote client could resume the stored session through the abbreviated handshake without having completed authentication. This can bypass client certificates required through RequireAnyClientCert or RequireAndVerifyClientCert, as well as a VerifyConnection callback that rejects the connection. For this to apply, the server must use a SessionStore and negotiate a certificate-based cipher suite. The weakness is classified as CWE-287 (improper authentication).

Why it matters

The abbreviated handshake can allow unauthorized access to application data. The CVSS 3.1 score is 9.1 (critical), with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, assigned by GitHub (CNA). According to the source, WebRTC users are not affected. The source does not state active exploitation, and CISA's KEV catalog is not cited for this issue.

Affected products and versions

Pion dtls, versions >= 2.1.0, <= 2.2.12 and >= 3.0.0, < 3.1.14.

ProductVersionsFixed in
pion dtls>= 2.1.0, <= 2.2.12—
pion dtls>= 3.0.0, < 3.1.14—

Action recommended by the source

The vendor states the issue is fixed in version 3.1.14. The source does not state a fixed version for the 2.x branch (>= 2.1.0, <= 2.2.12) nor any other mitigations. More details in the vendor advisory: https://github.com/pion/dtls/security/advisories/GHSA-hhpj-h56m-9f2p

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-287

Relevant change history

  1. Advisory correction

    The preliminary version was replaced by the full write-up.

  2. Published

    Preliminary advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources