GHSA-cqhp-ggp7-58qj

Suggest an improvement
Source
https://github.com/advisories/GHSA-cqhp-ggp7-58qj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-cqhp-ggp7-58qj/GHSA-cqhp-ggp7-58qj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cqhp-ggp7-58qj
Aliases
Published
2026-12-03T01:53:00Z
Modified
2026-12-03T02:00:16Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Pion DTLS: Client authentication bypass when client and server connections share a session store
Details

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

Database specific
{
    "cwe_ids":  [
        "CWE-287"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-12-03T01:53:00Z",
    "nvd_published_at":  "2026-11-24T17:18:24Z",
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/pion/dtls/v2

Package

Name
github.com/pion/dtls/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/pion/dtls/v2

Affected ranges

Type
SEMVER
Events
Introduced
2.1.0
Last Affected
2.2.12

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-cqhp-ggp7-58qj/GHSA-cqhp-ggp7-58qj.json"

Go / github.com/pion/dtls/v3

Package

Name
github.com/pion/dtls/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/pion/dtls/v3

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.1.14

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-cqhp-ggp7-58qj/GHSA-cqhp-ggp7-58qj.json"

Go / github.com/pion/dtls/v4

Package

Name
github.com/pion/dtls/v4
View open source insights on deps.dev
Purl
pkg:golang/github.com/pion/dtls/v4

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.0.0-rc.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-cqhp-ggp7-58qj/GHSA-cqhp-ggp7-58qj.json"