DTLS client auth bypass via shared session resumption cache
Affects github.com/pion/dtls/v2 from 2.1.0 through 2.2.12 when an application shares a SessionStore between outbound connections and its listener. The 3.x line is fixed in 3.1.14.
- Exploited
- No known exploitation
- Fix
- Fixed in 3.1.14
- Who is exposed
- Not reported
Summary
Pion DTLS, a Go implementation of Datagram Transport Layer Security, lets a listener accept a DTLS 1.2 session resumption that was created by an outbound client connection, without checking which role created it. A remote attacker who previously connected to the application as a malicious server can reuse that cached session, without logging in, to bypass client authentication and gain unauthorized access to the listener when both connections share a SessionStore.
Written by a model
Original description
Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 2.1.0 until 3.1.14, a listener performing DTLS 1.2 resumption accepted a session created by an outbound client connection without checking which role created it. A malicious server previously contacted by the application can retain the outbound session secret, select the client-side cached session through its session key, and present it to the application's reachable listener when both connections share a SessionStore. The attacker must first complete an outbound connection. WebRTC users are not affected. The listener can accept application data without running its normal PSK callback or client-certificate authentication checks, allowing a peer trusted only for an outbound connection to gain unauthorized listener access. The issue is fixed in version 3.1.14.
Who should check
Teams running pion/dtls v3 before 3.1.14, or pion/dtls v2 from 2.1.0 through 2.2.12, where outbound clients and a listener share a SessionStore. WebRTC users are not affected.
“When an application shares a SessionStore between its outbound connections and its listener”
What to do
Upgrade to a fixed version: 3.1.14.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-135390 (Pion DTLS: Client authentication bypass when client and server connections share a session store), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-135390 (entry last updated 2026-11-24):
Affected:
- pion dtls: from 2.1.0, through 2.2.12; from 3.0.0, fixed in 3.1.14
Fixed versions: 3.1.14.
Conditions (all must be true for the bug to be hit):
- The application shares a SessionStore between its outbound connections and its listener. (source: https://github.com/pion/dtls/security/advisories/GHSA-cqhp-ggp7-58qj)
- Affected github.com/pion/dtls/v2 versions from 2.1.0 through 2.2.12. (source: https://github.com/pion/dtls/security/advisories/GHSA-cqhp-ggp7-58qj)
- The attacker must first complete an outbound connection initiated by the application. (source: https://github.com/pion/dtls/security/advisories/GHSA-cqhp-ggp7-58qj)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-135390 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-135390 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/pion/dtls/security/advisories/GHSA-cqhp-ggp7-58qj
- https://github.com/pion/dtls/pull/1234
- https://github.com/pion/dtls/commit/2b234cd7174fc758372de0e479fc66515f54f631
- https://github.com/pion/dtls/commit/b8359836b8941ff2a37ad50fb23f801edebeece8
- https://github.com/pion/dtls/releases/tag/v3.1.14
- https://github.com/pion/dtls/releases/tag/v4.0.0-rc.6
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-135390
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-135390"}.Affected versions
- pion dtlsFrom 2.1.0 · through 2.2.12; From 3.0.0 · fixed in 3.1.14
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity7.4/10CVSS 7.4
- No patch0/5No signal
What would change the score
- Would score about 69 if added to CISA KEV
- Would score about 64 if CISA's SSVC rates exploitation active
- Would score about 29 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 7
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · pion/dtls · Advisory GHSA-cqhp-ggp7-58qj |
| CVE record 1Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-135390 |
| Other links 5 | |
| Repository | GitHub · pion/dtls · Pull request #1234 |
| Repository | GitHub · pion/dtls · Commit 2b234cd7 |
| Repository | GitHub · pion/dtls · Commit b8359836 |
| Repository | GitHub · pion/dtls · Release v3.1.14 |
| Repository | GitHub · pion/dtls · Release v4.0.0-rc.6 |
Questions about CVE-2026-135390
Is CVE-2026-135390 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The listener accepts application data without running its normal PSK callback or client-certificate authentication checks. A peer trusted only for an outbound connection can therefore gain listener access.
Source: github.com
Which versions are affected by CVE-2026-135390?
dtls: from 2.1.0 through 2.2.12; from 3.0.0 before 3.1.14.
Source: cve.now feed data
Am I affected, and how do I check?
Affects github.com/pion/dtls/v2 versions 2.1.0 through 2.2.12, and the 3.x range starting at 3.0.0 before 3.1.14. The setup that matters is an application that shares one SessionStore between its outbound connections and its listener. Check the pion/dtls version in your go.mod file and whether the application passes the same SessionStore to both.
Source: github.com
How do I fix CVE-2026-135390?
Upgrade the 3.x line to 3.1.14 or later. The checked facts name no fixed version for the 2.x line, so use a version outside 2.1.0 through 2.2.12 only after confirming a fix in the advisory.
Source: github.com
Related
- CVE-2026-135389Pion DTLS: Client authentication bypass through premature DTLS 1.2 session caching
- CVE-2026-135388Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonation
- CVE-2026-135392Pion DTLS: Unbounded handshake cache allows remote memory exhaustion
- CVE-2022-29190Header reconstruction method can be thrown into an infinite loop in Pion DTLS
- CVE-2026-135391Pion DTLS: Oversized peer RSA keys allow excessive CPU consumption during DTLS handshakes
- CVE-2026-54908Pion DTLS: Denial of service via panic while parsing a crafted ECDHE_PSK ServerKeyExchange message
No corrections so far. Something wrong on this page? Report an error.