CVE-2026-135390: Pion DTLS Authentication Bypass Vulnerability

HIGH
Advisory Identifier: GHSA-cqhp-ggp7-58qj
CVSS 7.4
CWE-287
Published
Advisory Summary

CVE-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.

CVE-2026-135390 at a Glance

CVE Identifier CVE-2026-135390
GHSA Identifier GHSA-cqhp-ggp7-58qj
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-287: Improper Authentication
Affected Product Pion DTLS
Package Ecosystem Go
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (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.

github.com/pion/dtls/v2 fixed: Latest secure release
Upgrade github.com/pion/dtls/v2 to Latest secure release
github.com/pion/dtls/v3 fixed: 3.1.14
Upgrade github.com/pion/dtls/v3 to 3.1.14
github.com/pion/dtls/v4 fixed: 4.0.0-rc.6
Upgrade github.com/pion/dtls/v4 to 4.0.0-rc.6
Verify Direct and Transitive Dependencies

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

### Summary Pion 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. Discovered by Anthropic's OSS Scanner `ANT-2026-ALO2G36N` ### Details The 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. During 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. ### Impact The 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. The fix https://github.com/pion/dtls/commit/2b234cd7174fc758372de0e479fc66515f54f631

CVE-2026-135390 Affected Pion DTLS Versions

3 component(s)
Fixed Versions:
3.1.144.0.0-rc.6
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?
CVE-2026-135390 is a security vulnerability in Pion DTLS involving Client authentication bypass when client and server connections share a session store under CWE-287: Improper Authentication.
Which Pion DTLS versions are affected?
Affected versions include releases prior to 3.1.14, 4.0.0-rc.6 across affected packages: github.com/pion/dtls/v2, github.com/pion/dtls/v3, github.com/pion/dtls/v4.
What version fixes CVE-2026-135390?
Upgrading to 3.1.14, 4.0.0-rc.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/pion/dtls/v2 affected?
Yes, github.com/pion/dtls/v2 is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
Is github.com/pion/dtls/v3 affected?
Yes, github.com/pion/dtls/v3 is affected in releases prior to 3.1.14. Upgrade your dependency to 3.1.14 or later.
What is the CVSS score of CVE-2026-135390?
CVE-2026-135390 has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-135390?
CVE-2026-135390 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Go dependencies for CVE-2026-135390?
Run the dependency tree command: 'inspect dependencies for github.com/pion/dtls/v2'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}