CVE-2026-135389: Pion DTLS Authentication Bypass Vulnerability
CRITICALCVE-2026-135389 is a CRITICAL (CVSS 9.1) authentication bypass vulnerability (CWE-287: Improper Authentication) affecting Pion DTLS libraries in the Go ecosystem. The issue involves client authentication bypass through premature dtls 1.2 session caching. Remediation is available by upgrading affected packages to version 3.1.14, 4.0.0-rc.6.
CVE-2026-135389 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-135389
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-135389, 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-135389 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-135389?
Which Pion DTLS versions are affected?
What version fixes CVE-2026-135389?
Is github.com/pion/dtls/v2 affected?
Is github.com/pion/dtls/v3 affected?
What is the CVSS score of CVE-2026-135389?
What CWE is associated with CVE-2026-135389?
How can I check Go dependencies for CVE-2026-135389?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hhpj-h56m-9f2p",
"modified" : "2026-12-03T01:50:44Z",
"published" : "2026-12-03T01:50:44Z",
"aliases" : [ "CVE-2026-135389" ],
"summary" : "Pion DTLS: Client authentication bypass through premature DTLS 1.2 session caching",
"details" : "### Summary\n\nPion 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.\n\nDiscovered by Anthropic's OSS Scanner `ANT-2026-8ECSI13S`\n\n### Details\n\nAffected 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.\n\nThe 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.\n\n### Impact\n\nAn 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. It can then open another connection and resume the cached session. The abbreviated handshake validates possession of that secret without enforcing the original client-authentication requirements.\n\nfixed by https://github.com/pion/dtls/commit/ce84b979bcb5449727b3ea5c57add4e1edb33284",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/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-hhpj-h56m-9f2p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-135389"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/pull/1234"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/commit/410ac0ef28df49757d3a695c10dda75137e1dbf2"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/commit/ce84b979bcb5449727b3ea5c57add4e1edb33284"
}, {
"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" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-03T01:50:44Z",
"nvd_published_at" : "2026-11-24T17:18:24Z"
}
}