CVE-2026-135390 is a high-severity (CVSS 7.4) Improper Authentication vulnerability in github.com/pion/dtls/v2. A fix is available for github.com/pion/dtls/v2 — see the affected versions and patch details below.
Pion DTLS: Client authentication bypass when client and server connections share a session store
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-135390.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/pion/dtls/v2🐹github.com/pion/dtls/v3🐹github.com/pion/dtls/v4Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
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
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/pion/dtls/v2 | ≥ 2.1.0 | No fix |
| 🐹Go | github.com/pion/dtls/v3 | all versions | 3.1.14go get github.com/pion/dtls/v3@v3.1.14 |
| 🐹Go | github.com/pion/dtls/v4 | all versions | 4.0.0-rc.6go get github.com/pion/dtls/v4@v4.0.0-rc.6 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/pion/dtls/v2, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
A fix is available for CVE-2026-135390; check the affected-versions list above or the advisory for the patched release of github.com/pion/dtls/v2, then make sure no transitive dependency still pins the vulnerable range.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Red Hat Product Security has rated this flaw as having an impact of Important. Exploitation requires DTLS session resumption to be enabled with a session store shared between an outbound client connection and an inbound listener. The only Red Hat products shipping the affected library are the Network Observability…
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.Source: Red Hat security advisory for CVE-2026-135390 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-135390 in your dependencies?
Find it across Go, including transitive dependencies.