Vulnerabilities in pkg:golang/github.com/pion/dtls/v4
PACKAGECVE-2026-135390 is a HIGH (CVSS 7.4) authentication bypass vulnerability (CWE-287: Improper Authentication) affecting Pion DTLS libraries in the Go ecosystem. The issue involves client authentication bypass when client and server connections share a session store. Remediation is available by upgrading affected packages to version 3.1.14, 4.0.0-rc.6.
pkg:golang/github.com/pion/dtls/v4
Vulnerability advisories affecting package pkg:golang/github.com/pion/dtls/v4. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-cqhp-ggp7-58qj | CVE-2026-135390 | HIGH | Pion DTLS: Client authentication bypass when client and server connections share a session store |
| GHSA-hhpj-h56m-9f2p | CVE-2026-135389 | CRITICAL | Pion DTLS: Client authentication bypass through premature DTLS 1.2 session caching |
| GHSA-qpgj-64qg-5m4r | CVE-2026-135393 | MODERATE | Pion DTLS: Repeated client certificate verification allows excessive CPU consumption during DTLS handshakes |
| GHSA-jp25-wc3w-p9xp | CVE-2026-135391 | MODERATE | Pion DTLS: Oversized peer RSA keys allow excessive CPU consumption during DTLS handshakes |
CVE-2026-135390 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-135390
To remediate this vulnerability, upgrade all affected Pion DTLS dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/pion/dtls/v2 to Latest secure release
Upgrade github.com/pion/dtls/v3 to 3.1.14
Upgrade github.com/pion/dtls/v4 to 4.0.0-rc.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/pion/dtls/v2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-135390, inspect your project dependencies for Pion DTLS:
inspect dependencies for github.com/pion/dtls/v2
Analyze the terminal output to locate any version of Pion DTLS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.14), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Pion DTLS, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-135390 Affected Pion DTLS Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/pion/dtls/v2
|
Go |
≥ 2.1.0
≤ 2.2.12
|
|
|
github.com/pion/dtls/v3
|
Go |
< 3.1.14
|
3.1.14
|
|
github.com/pion/dtls/v4
|
Go |
< 4.0.0-rc.6
|
4.0.0-rc.6
|
References
Frequently Asked Questions
What is CVE-2026-135390?
Which Pion DTLS versions are affected?
What version fixes CVE-2026-135390?
Is github.com/pion/dtls/v2 affected?
Is github.com/pion/dtls/v3 affected?
What is the CVSS score of CVE-2026-135390?
What CWE is associated with CVE-2026-135390?
How can I check Go dependencies for CVE-2026-135390?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cqhp-ggp7-58qj",
"modified" : "2026-12-03T01:53:00Z",
"published" : "2026-12-03T01:53:00Z",
"aliases" : [ "CVE-2026-135390" ],
"summary" : "Pion DTLS: Client authentication bypass when client and server connections share a session store",
"details" : "### Summary\n\nPion DTLS does not distinguish sessions created by a client from sessions created by a server. When an application shares a SessionStore between its outbound connections and its listener, a malicious server previously contacted by the application can reuse the outbound session to bypass the listener's authentication requirements. This doesn't affect webrtc users.\n\nDiscovered by Anthropic's OSS Scanner `ANT-2026-ALO2G36N`\n\n### Details\n\nThe attacker must have completed an outbound connection initiated by the application, retain that connection's session secret, and be able to reach the application's listener. No credentials accepted by the listener are required.\n\nDuring DTLS 1.2 resumption, the listener looks up the peer-supplied session ID and accepts the returned session without checking which role created it. Client sessions are stored under a key derived from the remote address and server name. The malicious server can use that key to select the client's cached session and complete the handshake using the master secret it already knows.\n\n### Impact\n\nThe listener then accepts application data without running its normal PSK callback or client-certificate authentication checks. For example, a server trusted only for an outbound connection can gain access to a listener that requires a different PSK or a client certificate.\n\nThe fix https://github.com/pion/dtls/commit/2b234cd7174fc758372de0e479fc66515f54f631",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pion/dtls/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"last_affected" : "2.2.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pion/dtls/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.1.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pion/dtls/v4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.0.0-rc.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/security/advisories/GHSA-cqhp-ggp7-58qj"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-135390"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/pull/1234"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/commit/2b234cd7174fc758372de0e479fc66515f54f631"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/commit/b8359836b8941ff2a37ad50fb23f801edebeece8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pion/dtls"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/releases/tag/v3.1.14"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/releases/tag/v4.0.0-rc.6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-03T01:53:00Z",
"nvd_published_at" : "2026-11-24T17:18:24Z"
}
}