# CVE-2026-135389: Pion DTLS: Client authentication bypass through premature DTLS 1.2 session caching

> Remote clients can bypass client certificate authentication in Pion DTLS servers using SessionStore by resuming a cached session; Go DTLS server developers should care.

- **Severity:** Critical 9.1 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** Yes (`SessionStore`, `ClientKeyExchange`)
- **Fix available:** Yes
- **Published:** 24 Nov 2026
- **Updated:** 24 Nov 2026
- **Also known as:** GHSA-hhpj-h56m-9f2p, UBUNTU-CVE-2026-135389

## What is CVE-2026-135389?

CVE-2026-135389 is a critical authentication bypass vulnerability in pion dtls, published on 24 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 2.1.0 until 3.1.14, a server with a SessionStore saved the session ID and master secret after ClientKeyExchange, before receiving a valid Finished message and before enforcing the configured client-authentication checks. A remote client can omit its Certificate message, send ClientKeyExchange, leave the first handshake unfinished, and then resume the cached session using the master secret it learned during key exchange. The server must use a SessionStore and negotiate a certificate-based cipher suite. The attack can bypass client certificates required through RequireAnyClientCert or RequireAndVerifyClientCert, or a rejecting VerifyConnection callback. WebRTC users are not affected. The abbreviated handshake can allow unauthorized access to application data. The issue is fixed in version 3.1.14.

Weakness: CWE-287 (Improper Authentication)

## Which versions are affected by CVE-2026-135389?

An affected version is only exploitable if your software calls SessionStore or ClientKeyExchange. Many projects that include it are not exposed.


## How do I fix CVE-2026-135389?

Upgrade pion dtls to 3.1.14 or later. The advisory says that version fixes it.

## Is CVE-2026-135389 being exploited?

There is no known exploitation of CVE-2026-135389 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-135389 and fix it if it is affected.

What it is: CVE-2026-135389 is a critical authentication bypass vulnerability in pion dtls, published on 24 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-135389 in the wild and no public exploit code.
Exposure: An affected version is only exploitable if your software calls SessionStore or ClientKeyExchange. Many projects that include it are not exposed.

Affected product: pion dtls. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
   If an affected version is present, also search the code for calls to SessionStore or ClientKeyExchange and report whether any exist.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-135389/ (Markdown: https://insights.sbomify.com/CVE-2026-135389/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-135389
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-135389
- OSV: https://osv.dev/vulnerability/CVE-2026-135389

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-135389/
Summaries are generated and may contain mistakes; the official description above is the record.
