Skip to content

← Actionable
Critical, CVSS 9.1amended

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

CVE-2026-135389GHSA-hhpj-h56m-9f2p

What to do

Partial vendor fix. Follow the primary source's mitigation guidance and check back for a fix.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

  • Go github.com/pion/dtls/v2

    Affected
    >= 2.1.0, <= 2.2.12
    Fixed in
    no fixed version recorded
  • Go github.com/pion/dtls/v3

    Affected
    < 3.1.14
    Fixed in
    3.1.14
  • Go github.com/pion/dtls/v4

    Affected
    < 4.0.0-rc.6
    Fixed in
    4.0.0-rc.6

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS
9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
  • CVE-2026-135389: 0.73% estimated exploitation activity in the next 30 days; percentile 55.71 (FIRST EPSS, 2026-12-02). This is a model estimate, not proof of exploitation or customer exposure.
Source description

As published by the source; long descriptions are shortened.

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…

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 2 · amended ·

    Amended from osv record GHSA-hhpj-h56m-9f2p

  2. Revision 1 · created ·

    Published from ghsa record GHSA-hhpj-h56m-9f2p

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: CVE-2026-135389

Advisory: Pion DTLS: Client authentication bypass through premature DTLS 1.2 session caching
IDs: CVE-2026-135389, GHSA-hhpj-h56m-9f2p
Record: https://patchnext.com/advisories/cve-2026-135389 (revision 2, source checked 3 Dec 2026, 06:40 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Critical (CVSS 9.1)
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Partial vendor fix; fixed versions by package: github.com/pion/dtls/v3 3.1.14; github.com/pion/dtls/v4 4.0.0-rc.6. A vendor fix does not mean a deployment is fixed.

## Affected components
- Go github.com/pion/dtls/v2: affected >= 2.1.0, <= 2.2.12
- Go github.com/pion/dtls/v3: affected < 3.1.14; fixed in 3.1.14
- Go github.com/pion/dtls/v4: affected < 4.0.0-rc.6; fixed in 4.0.0-rc.6

## Suggested inspection (read-only)
- Go github.com/pion/dtls/v2: check the installed version with your package manager.
- Go github.com/pion/dtls/v3: check the installed version with your package manager.
- Go github.com/pion/dtls/v4: check the installed version with your package manager.

## Supported action
No complete vendor fix is recorded. Follow the primary source's mitigation guidance and check this record again before closing anything.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on github.com/pion/dtls/v2, github.com/pion/dtls/v3, github.com/pion/dtls/v4.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://github.com/advisories/GHSA-hhpj-h56m-9f2p (GitHub-reviewed advisory GHSA-hhpj-h56m-9f2p lists affected ranges: Go github.com/pion/dtls/v2 >=2.1.0 =0 =0 <4.0.0-rc.6)
- Verified: https://osv.dev/vulnerability/GHSA-hhpj-h56m-9f2p (OSV record GHSA-hhpj-h56m-9f2p lists affected ranges: Go github.com/pion/dtls/v2 >=2.1.0 =0 =0 <4.0.0-rc.6 (fixed))

Commands are suggestions: review each one before running it.

Loading voting…