A DTLS server that requires a client certificate can accept a stranger without them presenting one. The flaw is in Pion DTLS, the Go implementation of the protocol that applications use to communicate over UDP with the same guarantees as TLS, and it was registered on December 3 as CVE-2026-135389, with 9.1 out of 10 on CVSS 3.1 and an incorrect authentication weakness. The cause fits in one sentence: the library stores the resumable session before checking who is on the other side, and that order turns a performance optimization into an authentication shortcut.
The fix has existed since October 16, in versions 3.1.14 and 4.0.0-rc.6, and branch 2 is left without a patch. Pion WebRTC users are not affected, because that product does not use the vulnerable path. Everyone else, and that includes any service that puts DTLS in front of an API, a VPN or an internet of things device, has to choose between updating or removing session resumption.
The detail that makes this case more than a routine patch is the order of operations. The security of a protocol depends not only on what it checks, but on when it checks it. Storing the session secret before validating the certificate is a performance decision that opens a thirty-second window in which the server already trusts someone it has not yet authenticated.
What does Pion store before checking who is calling?
In a normal DTLS handshake, the client and server exchange messages and derive a shared secret. They then mutually verify their credentials. The server sends a certificate request, the client responds with its certificate and with proof that it holds the private key, and then comes the Finished message, which confirms that both have calculated the same thing. Only at the end are the authorization checks applied.
Pion DTLS stored the resumable session right after processing the ClientKeyExchange, the message with which both parties derive the master secret. The vulnerability record describes it without embellishment: the session was written to the store before reading the Finished, before requiring the client certificate and before running the verification function the operator had configured.
With the session stored, the rest is mechanical. An attacker opens the connection and reads the certificate request. They send the ClientKeyExchange and leave without presenting a certificate or a Finished. The server is left waiting for a message that never arrives, but the session is already recorded with its identifier and its secret. On a second connection, the attacker offers that identifier and completes the abbreviated handshake. The server looks at the store, finds it and moves on.
Why is session resumption the weak point?
Resumption exists to save work. A full handshake costs CPU and latency. In DTLS it also requires several round trips over a network that can lose packets. Protocols solve the problem by storing a shared state the first time and skipping the negotiation on subsequent occasions. In TLS 1.3 that idea is called ticket-based resumption, and in DTLS 1.2 it relies on the session identifier.
The saving has a catch. A zero-day in VMware vCenter exploited since September confirms that authentication remains the preferred target of those seeking to get in without permission. When a server resumes, it accepts without renegotiating and, in many implementations, without asking for credentials again. That is fine if the stored session only contains sessions that have already fully authenticated. It stops being fine if the store accepts half-finished states, because then the shortcut becomes a side door.
Pion's documentation already warned that resumption reduces the security of connections. The problem was not the warning, but that the code stored too early. An operator who configured a session store, a suite with certificates and the requirement of a client certificate believed they had mutual authentication. In practice, they had mutual authentication for clients that behaved properly.
Who is affected and who is not?
It affects three branches, with different outcomes. Version 2, from 2.1.0 to 2.2.12, will not receive a fix. Branch 3 is fixed from 3.1.14, and branch 4 from 4.0.0-rc.6. The Pion DTLS release log dates the two fixed versions and the patch that accompanies them at October 16.
| Branch |
Affected versions |
Fixed version |
| Pion DTLS 2 |
2.1.0 to 2.2.12 |
No fix |
| Pion DTLS 3 |
earlier than 3.1.14 |
3.1.14 |
| Pion DTLS 4 |
earlier than 4.0.0-rc.6 |
4.0.0-rc.6 |
The conditions matter as much as the versions. The server has to use a session store, negotiate a suite with certificates and require a client certificate with RequireAnyClientCert or RequireAndVerifyClientCert. The variant that relies on a verification callback to reject connections also falls, because the attacker never gets to run it. If the service does not use a store, it does not issue a session identifier and the side door does not exist.
The WebRTC case deserves a separate line, because it is Pion's best-known use. Browsers do not present client certificates in the sense that this flaw requires, and the WebRTC stack does not configure the affected path. Anyone using the library for video calls can breathe easy. Anyone using it for mTLS over UDP, which is common in industrial gateways and in tunnels between devices, should review their configuration.
A late advisory and a proof that is not an exploit
The calendar is once again the awkward part. The patch was published on October 16, the public advisory arrived on December 3 and the CVE identifier was created on November 24 in the NVD, still unanalyzed. In between, any operator who read the release notes for 3.1.14 found a generic mention of security improvements, with no CVE and no detail.
The absence of known exploitation allows the delay to be read calmly. The CVE is not in CISA's catalog and no public report speaks of compromised servers. The test repository published on December 3 demonstrates that a session is written to the store too early, but it is not a remote exploit. The difference between a proof of concept and a usable attack is still large.
The fix is small, even if it arrives late. The change in the code moves the storing to the end of the process, when the client has already proven who they are. It also adds checks on resumption. It is the kind of fix a reviewer detects by looking at the order of calls, not by running fuzzing tests. It also explains why the flaw went unnoticed: the happy path worked.
How to mitigate today?
Updating is the main route. A service on branch 3 or 4 has a fixed version and needs nothing more. Branch 2 forces a line migration, something that should be planned with the same criteria as a major dependency change, because there will be no patch.
If updating is not possible immediately, the advisory itself offers a way out. Removing the session store from the listener configuration disables resumption and, with it, the side door. The cost is that every connection pays for the full handshake, something that is noticeable on networks with packet loss and slow devices.
After the patch comes the design review. A service that requires a client certificate must check that resumption does not bypass that requirement, and that the verification callback also runs on abbreviated connections. These tests are cheap to write and detect the class of error before a scanner finds it.
The authentication that is stored too early
This flaw does not break cryptography. The derived secret is correct, the key exchange is correct and the encryption of the data is too. What breaks is the sequence, and that is a lesson the sector repeats every few months: order errors are as serious as algorithm errors and much harder to see.
Along the way it leaves a reminder about invisible dependencies. Pion DTLS lives inside products that almost no one associates with TLS, and its update does not appear on any vendor's dashboard. The DTLS 1.3 news improves the protocol, but does not replace knowing which version is running in production.