Does Traefik's post-quantum key exchange work with the clients and devices in front of it?
Traefik v3.5 added the X25519MLKEM768 curve name to its TLS curve mapping (PR 11731, merged 3 June 2025), and Traefik v3.8.0, released 23 November 2026, lists the hybrid curves x25519mlkem768, secp256r1mlkem768 and secp384r1mlkem1024 that Go 1.26 enables by default. What a hybrid handshake changes for the clients, libraries and network devices in front of Traefik therefore depends on the Traefik build you run (and the Go toolchain it was compiled with) and on whether curvePreferences is set in your TLS options. If you leave curvePreferences unset, the default is controlled by the Go runtime, so the same configuration can present different key shares after a rebuild. The PR author stated that the v3.5 change alters nothing unless the new curve is explicitly configured, so a v3.5 upgrade alone should not change handshakes for existing clients. Test the rebuilt binary before you assume that.
Before changing anything, inventory the parts of the path that see a ClientHello. Load balancers, WAFs, CDN edges, firewalls and SASE or TLS-inspection devices in front of Traefik each parse the handshake, and a larger hybrid key share can cross a TCP segment boundary or trip a device that expects classic ClientHello sizes. One community report (topic 29730) describes a TCP router with a HostSNI rule failing to read SNI when an X25519MLKEM768 ClientHello spans two segments. That report names no fix version and no maintainer confirmation, so treat it as a reason to test, not as a known defect. Confirm the affected router type, the client libraries you serve (browsers, SDKs and backend services built on Go, OpenSSL or others), and whether any inspecting device on the path can be upgraded.
The Traefik TLS options documentation, checked on 2026-12-03, does not mention post-quantum, ML-KEM or X25519MLKEM768, so it publishes no guidance on enabling or disabling hybrid key exchange. Ask Traefik Labs in writing which default applies to your exact version and build, and record the answer. In your test plan, cover at least one client per stack, a TCP-level route using SNI, and any inspection device in the path, and check each handshake for the negotiated group. Pin curvePreferences in a test environment to see the classic-only and hybrid outcomes side by side before you decide which default to keep in production.
Which Traefik versions and settings change the handshake a client sees
This table lists, by Traefik version and by Go runtime setting, which changes can alter the key exchange a client negotiates. Read each row as a condition: the handshake changes only when the named version or setting applies to your build and configuration. Check each row against the build you run, because the defaults come from the Go toolchain Traefik was compiled with.
| Version or setting | What changes in the handshake | Source and check date |
|---|---|---|
| Traefik v3.5 (PR 11731) | Adds the curve name X25519MLKEM768 to Traefik's TLS curve mapping. The author states no behavior change occurs unless the curve is explicitly configured in TLS. | Traefik PR 11731, merged 3 June 2025 (checked 2026-12-03) |
| Traefik v3.5 release announcement | Lists X25519MLKEM768 as a feature. The post does not explain how to enable it. | Traefik v3.5 blog, 24 July 2025 (checked 2026-12-03) |
| Go 1.24 default (tlsmlkem) | X25519MLKEM768 is enabled by default when CurvePreferences is nil. Setting GODEBUG tlsmlkem=0 reverts this default. | Go 1.24 release notes (checked 2026-12-03) |
| Go 1.26 default (tlssecpmlkem) | SecP256r1MLKEM768 and SecP384r1MLKEM1024 are enabled by default. Setting CurvePreferences or GODEBUG tlssecpmlkem=0 disables them. | Go 1.26 release notes (checked 2026-12-03) |
| Traefik v3.8.0 curve names | The curvePreferences name map includes x25519mlkem768, secp256r1mlkem768 and secp384r1mlkem1024. The source notes these hybrids are on by default since Go 1.26. | Traefik v3.8.0 certificate.go, released 23 November 2026 (checked 2026-12-03) |
| Traefik v3.8.0 build toolchain | The go.mod file declares go 1.27.0, so the Go version a build uses determines the defaults that apply. | Traefik v3.8.0 go.mod (checked 2026-12-03) |
| Traefik TLS options page | Does not mention post-quantum, ML-KEM or X25519MLKEM768, so the vendor page publishes no setting to enable or disable hybrid key exchange. | Traefik TLS options reference (checked 2026-12-03) |
| Community report on HostSNI routers | A TCP router with a HostSNI rule reportedly fails to read SNI when an X25519MLKEM768 ClientHello spans two TCP segments. No fix version is named. | Traefik community topic 29730 (checked 2026-12-03) |
How browsers, API clients and libraries are likely to be affected
Browsers and API clients open the TLS connections that reach Traefik from outside. Traefik's sources describe what the server side can offer, but they do not list which browser or client releases offer X25519MLKEM768, so the effect on this group is unknown until it is tested. The server side depends on the build: Traefik v3.8.0 names the hybrid groups x25519mlkem768, secp256r1mlkem768 and secp384r1mlkem1024, under a comment that they are enabled by default since Go 1.26. A handshake can use a hybrid group only when the client also offers a matching one.
- Server build matters: the hybrid groups depend on the Go version the Traefik binary is built with, not on a Traefik setting alone.
- Client offers decide the outcome: a client that offers no matching group falls back to a classical group, and the sources do not say what happens to a client that offers only a hybrid group the server lacks.
- No client version list: the sources name no browser or API client release that supports X25519MLKEM768, so do not assume support from the server build.
- Vendor statement absent: the Traefik TLS options page does not mention post-quantum or ML-KEM settings, so it gives no client guidance.
- Test with your own inventory: build a list of the browsers, SDKs and API clients your users and partners run, and check each one's handshake against a test Traefik deployment.
Before changing any curve setting, confirm which client versions in your inventory offer a hybrid group, using their own documentation or a handshake capture.
Backend services that Traefik reaches over TLS use their own TLS stacks, which may differ from the one inside Traefik. The ServersTransport settings control these outbound connections, including minVersion, maxVersion, cipherSuites and rootCAs, but the docs state no effective default version for minVersion or maxVersion. The sources do not describe whether the outbound connection can use a hybrid group, so the backend side needs to be confirmed separately.
- Outbound settings are separate: ServersTransport governs the connection from Traefik to a backend, and it is configured apart from the entrypoint TLS options.
- No default version stated: the docs give no effective default for minVersion or maxVersion, so record the values in use rather than assuming them.
- Backend libraries vary: each backend runtime or TLS library may negotiate groups differently, and the sources do not cover them.
- Certificate checks still apply: insecureSkipVerify defaults to false, and changing key exchange does not change the certificate checks Traefik performs.
- Test each backend path: exercise every backend route with the settings you plan to use and record the negotiated group.
Before a change, list each ServersTransport in use and confirm with each backend's owner which TLS library it runs and whether that library offers a hybrid group.
Older browsers, legacy API clients, and embedded devices may not offer any post-quantum-capable group, and the sources say nothing about them. Traefik's documented TLS options include minVersion, maxVersion and cipherSuites, which determine what older clients can negotiate. Changing the curve preference does not remove classical groups, but the sources do not describe how clients behave when a server prefers a group they do not support.
- Legacy handshakes: a client limited to older protocol versions or cipherSuites may not negotiate any setting you change, so check the minVersion value in each TLS option.
- Embedded devices: firmware-bound clients often cannot be updated, and the sources give no information about their TLS stacks.
- Curve preference effects: the sources do not say whether a curvePreferences list that omits classical groups breaks older clients, so test that before removing any group.
- Client inventory first: identify which devices and clients cannot be updated, and keep them on a tested path.
- Isolation as a question: where a client cannot be upgraded, record that as an open question for your security team, not as a conclusion the sources support.
Before changing curvePreferences, confirm with each embedded device vendor whether its TLS stack offers any hybrid group and whether it still connects after the change.
Which middleboxes can break when the ClientHello grows
A post-quantum hybrid key exchange makes the TLS ClientHello larger, which can change how devices between a client and Traefik read it. The cards below cover the device types that sit in front of Traefik and what to confirm with each.
Load balancers in front of Traefik
Any load balancer that inspects the TLS handshake before forwarding traffic to Traefik reads the same ClientHello. If that load balancer parses the server name or other handshake fields, it has to handle a ClientHello that is larger than before. Traefik itself offers no option that changes how an upstream load balancer reads the handshake. Ask the load balancer vendor whether it parses the ClientHello, and test a hybrid key exchange client through the full path before changing settings on Traefik.
TCP proxies and HostSNI routing
A TCP router in Traefik that uses a HostSNI rule reads the server name from the ClientHello to choose a backend. Community topic 29730 reports that when an X25519MLKEM768 ClientHello spans two TCP segments, the router failed to read the SNI. The report names no fix version and no confirmation from a maintainer. Teams that route TCP by SNI should test with an X25519MLKEM768 client that splits the handshake across segments, and should not assume the behavior is resolved.
Community topic 29730Why a larger ClientHello can split
A TLS ClientHello that carries a hybrid key share is larger than a classic one. When it grows past the space available in one TCP segment, it can arrive split across two or more segments. Any device that expects the whole handshake in one read may then misparse it. This is a general networking risk, not a documented behavior of a specific device, so the exact effect depends on each device and its configuration.
Inspection devices and TLS inspection
Firewalls, secure web gateways and intrusion systems that inspect TLS in transit may read the ClientHello to classify or decrypt traffic. Such a device can drop, reset or mis-handle a handshake it does not expect. The inspecting device vendor must be asked whether its current release parses ClientHellos with hybrid key shares and whether it handles segmented handshakes. Until that is confirmed in writing, test the path with an inspection device in place.
Ask each device vendor
For every load balancer, proxy and inspection device between clients and Traefik, record the product, its version and whether it parses the ClientHello. Ask whether it handles a ClientHello split across TCP segments and whether it has been tested with X25519MLKEM768. Keep the vendor's answers with the version they apply to. Repeat the check after any upgrade of the device, since a version change can alter this behavior.
What to test before changing Traefik's curve settings
This sequence establishes what Traefik, its build and the clients and devices around it already do with hybrid key exchange, so that any change to curvePreferences is made against a known baseline. Each step ends with a check whose result you record before moving to the next.
Inventory clients and middleboxes in the path
List every client type that connects to the Traefik entrypoints, including browsers, API clients, mobile apps and service-to-service callers, and every network device between them, such as load balancers, TLS inspection appliances, firewalls and PROXY protocol senders. Record which of these are expected to offer X25519MLKEM768 or other hybrid groups and which are not. This step is done when each client and device has an owner and a documented TLS library or product version, and any device whose ClientHello handling you cannot confirm is flagged for vendor follow-up.
Confirm the Traefik and Go versions
Record the Traefik release in use. The latest GitHub release documented by Traefik Labs is v3.8.0, published 23 November 2026, so confirm whether your binary or image is that version or an earlier one. Then confirm the Go toolchain the binary was built with, for example from the build output or by inspecting the binary with Go's version tooling. Go 1.24 enables X25519MLKEM768 by default when curve preferences are nil, and Go 1.26 enables the SecP256r1MLKEM768 and SecP384r1MLKEM1024 hybrids by default, so the build toolchain determines which hybrids can be negotiated before any setting is touched. This step is done when both versions are written down next to the inventory.
Check where curvePreferences is set
Search the static configuration, the dynamic configuration and any Kubernetes or Helm values for curvePreferences. Note whether it appears under the TLS options named default, under a named tls.options entry, or nowhere. Remember that a router tls section, even an empty one, replaces the entrypoint TLS configuration with no merge, so check each router as well as each entrypoint. This step is done when you have a complete list of every TLS options block that applies to each entrypoint and router, and you know which one each router resolves to.
Test TCP HostSNI routers with a hybrid ClientHello
Routers that use a TCP HostSNI rule read the server name from the ClientHello, which is a separate path from HTTP routing. Community topic 29730 reports that such a router failed to read SNI when an X25519MLKEM768 ClientHello spanned two TCP segments, and the report names no fix version and no maintainer confirmation. Send a hybrid ClientHello through a test copy of each TCP HostSNI router, ideally one that fragments the handshake across segments as in the report, and confirm that the expected backend is selected. If the match fails, record the Traefik version and the test conditions. This step is done when every TCP HostSNI router has a recorded pass or fail result for the hybrid case.
Confirm the negotiated group from a test client
Connect from a test client that offers hybrid groups, such as a current browser or a client built on a library with hybrid support, and record the group the server selects. Repeat the test with a client that does not offer hybrid groups to confirm the fallback behavior. Use a client whose version and library you recorded in step one. The vendor documentation for TLS options does not mention post-quantum or ML-KEM settings as of 3 December 2026, so this observed result, not a documented default, is the evidence that the sequence is complete. This step is done when both negotiated results and the client versions are recorded.
Record the baseline before any change
Collect the results from the previous steps into one dated baseline: the Traefik and Go versions, every curvePreferences setting and the router each one applies to, the TCP HostSNI results, and the negotiated groups per client type. Mark any client or device that offered a hybrid group but did not receive one, and any router that failed the hybrid ClientHello test. Only after this baseline is signed off by the platform owner should a change to curvePreferences be proposed, since each later test can then be compared with it. This step is done when the baseline record exists and is linked from the change request.
How to confirm which key exchange a client actually negotiated
The Traefik settings in the supplied sources decide what the server offers, not what a given client ends up using. The curvePreferences option in a TLS options block sets the groups Traefik is willing to negotiate, and it is left unset by default, in which case Traefik uses the defaults of the Go runtime it was built with. The Go release notes state that the hybrid group X25519MLKEM768 is enabled by default in Go 1.24 when CurvePreferences is nil, and that GODEBUG set to tlsmlkem=0 reverts that default. For the hybrids SecP256r1MLKEM768 and SecP384r1MLKEM1024, Go 1.26 enables them by default, and GODEBUG set to tlssecpmlkem=0 or an explicit CurvePreferences setting can disable them. Because these switches sit in the build and runtime of the Traefik binary, the Go version Traefik was built with matters as much as the configuration file. Check that version against the release you run, using the Traefik GitHub releases page and the notes for the Go version named in its go.mod.
The vendor documentation does not describe a way to verify which key exchange was negotiated. The Traefik TLS options reference, as checked on 2026-12-03, does not mention post-quantum, ML-KEM or X25519MLKEM768, so the server's own configuration cannot confirm the result for a particular connection. Confirm it from the client side. Use a test client whose TLS library you know offers a hybrid group, connect to the Traefik entrypoint, and record which group the handshake completes with. Run a packet capture on the same connection and inspect the ClientHello and ServerHello to see the offered and selected groups. Repeat the test with each client type that matters to you, such as browsers, API SDKs and internal services, because each one offers a different set of groups. Keep the captures and the client and Go versions you tested with, since the results apply only to those combinations.
What Traefik has not published on client and middlebox compatibility
The Traefik documentation and release materials supplied for this topic say little about how post-quantum key exchange interacts with clients, libraries and network devices. The gaps below matter because a changed ClientHello can affect routing, handshakes and inspection, so each one has a specific question to put to the vendor before you change settings.
No post-quantum mention on TLS options
The Traefik TLS options page, checked on 2026-12-03, does not mention post-quantum, ML-KEM or X25519MLKEM768. Its curvePreferences setting is documented without any hybrid curve names, so an engineer cannot tell from the reference alone whether X25519MLKEM768 is offered by default, or what happens when it is set. Ask the vendor: Which curvePreferences values enable X25519MLKEM768, and is it offered when curvePreferences is left unset in v3.8.0? Confirm the answer against the release you run, not the current docs.
TLS options referenceNo fix version for HostSNI
A community report, topic 29730, says a TCP router with a HostSNI rule fails to read the SNI when the client's X25519MLKEM768 ClientHello spans two TCP segments. The page names no fix version and no maintainer confirmation. Until a fix is named, treat this as an open issue for any TCP router that routes on SNI. Ask the vendor: Is the HostSNI fragmentation issue confirmed, which release fixes it, and is there a workaround for routing by SNI? Test with a client that sends X25519MLKEM768 before relying on SNI routing in production.
Community topic 29730No tested client or middlebox list
The supplied materials contain no list of clients, client libraries or network middleboxes that Traefik has tested with post-quantum key exchange. Browsers, API clients and TLS-inspecting devices in front of or behind Traefik may handle a larger ClientHello differently. Ask the vendor: Which clients, client libraries and middleboxes has the project tested with X25519MLKEM768, and which versions? Without that list, build your own test matrix from the clients and devices your traffic actually uses.
Enabling is not explained in the release post
The Traefik v3.5 blog post, dated 24 July 2025, lists X25519MLKEM768 for post-quantum-secure TLS but does not explain how to enable it. The related pull request states that no behavior changes unless the curve is explicitly set in TLS configuration, which makes the default state the first thing to confirm. Ask the vendor: What is the exact configuration to enable X25519MLKEM768, and where is that documented for the current release? Verify the active setting in your deployment before assuming a handshake change.
Traefik v3.5 blogWhat can go wrong when hybrid key exchange reaches clients and middleboxes
Enabling a hybrid key exchange in Traefik changes the first message of every TLS handshake, the ClientHello, and that change can break things before any certificate is checked. The most concrete risk in the supplied material is for TCP routers that route on SNI. Traefik community topic 29730 reports that a TCP router using a HostSNI rule fails to read the server name when the client sends an X25519MLKEM768 ClientHello split across two TCP segments. The report names no fix version and no maintainer confirmation, so treat it as an open issue. Before changing any setting, test SNI routing with a client that sends the hybrid group, and check whether any load balancer, firewall or inspection device in front of Traefik reassembles or inspects that split ClientHello. Middleboxes that parse only the first segment will see no server name at all.
The second risk is silent fallback. A hybrid group is only used when both sides offer it. Go 1.24 enables X25519MLKEM768 by default when Config.CurvePreferences is nil, and Go 1.26 enables SecP256r1MLKEM768 and SecP384r1MLKEM1024 by default, so a Traefik build compiled with a recent Go may offer hybrid groups without an operator choosing them. Clients that do not offer a hybrid group will simply complete the handshake with a classical group, and nothing in the handshake reports the difference. The Traefik TLS options page publishes nothing on enabling or disabling post-quantum key exchange, so confirm the negotiated group in a test client's own output rather than assuming it from the configuration file. Also confirm which Go version your Traefik binary was built with, since the source for v3.8.0 declares go 1.27.0.
The third risk is a mismatch between an unset and an explicit curvePreferences. When the option is left unconfigured, the group list follows Go's defaults for the build, so the same configuration file can behave differently after a Go or Traefik upgrade. When you set an explicit list, only the groups you name are offered, and any hybrid you omit is excluded. Pinning the list makes behavior reproducible but also means a later upgrade will not add a group you did not write. Unknown curve names are rejected with an error in tlsmanager.go (invalid CurveID in curvePreferences), so a typo blocks configuration rather than failing silently. Verify that Traefik starts and logs no curve error after each change, and record the final list in version control so the reviewer can see what was intended.
Common questions about Traefik and post-quantum clients
Is Traefik quantum safe?
No product can be called quantum safe on the basis of the public record, and Traefik Labs has not published a claim that Traefik Proxy is. What the sources support is narrower. Traefik v3.5 added the X25519MLKEM768 curve name, and the Traefik v3.8.0 source lists hybrid curve names that Go enables by default. Whether a given deployment actually negotiates a hybrid key exchange depends on the Go version, on whether curvePreferences is set, and on what the client offers. Certificate signatures are not covered by these key exchange settings. Confirm the behavior in your own environment with a handshake test rather than relying on a label.
Which Traefik version do I need for post-quantum key exchange?
The curve name X25519MLKEM768 appeared in Traefik with pull request 11731, merged on 3 June 2025 under milestone 3.5, and the Traefik v3.5 blog post of 24 July 2025 lists it. The v3.8.0 source, the latest release the facts record (published 23 November 2026), contains the hybrid names x25519mlkem768, secp256r1mlkem768 and secp384r1mlkem1024, and declares go 1.27.0 in go.mod. Because the default behavior depends on the Go toolchain the binary was built with, check the release notes for your exact version and the Go version it was compiled against. Traefik Hub FIPS builds are a separate product and are covered below.
Does a client have to change to connect to a post-quantum Traefik?
Usually not for the key exchange itself. A hybrid key exchange is negotiated during the TLS handshake, so a client that offers the hybrid group can use it and a client that does not will fall back to a classical group if Traefik still allows one. Clients that want the hybrid group must send it in their ClientHello, which depends on their TLS library and version. Check the browsers, API clients, SDKs and internal services that connect to Traefik, because each one may offer different groups. Mutual TLS client certificates use separate signature and CA settings that this key exchange change does not cover.
Do middleboxes between clients and Traefik need testing?
Yes, test them before enabling hybrid key exchange in production. A larger ClientHello can be split across TCP segments, and a community report on Traefik topic 29730 describes a TCP router using a HostSNI rule failing to read the SNI when an X25519MLKEM768 ClientHello spans two segments. The page names no fix version and no maintainer confirmation. Load balancers, firewalls, inspection devices and PROXY protocol hops in front of Traefik can all affect the handshake. Test each path with the real client mix and watch for failed handshakes, dropped SNI routing and timeouts.
Does post-quantum support in Traefik cost extra?
Open-source Traefik Proxy is distributed under its own license terms, and the facts supplied do not give a price for the hybrid key exchange feature, which is configured through existing TLS settings. The cost question that the sources do address is Traefik Hub. Hub's FIPS 140-3 mode uses dedicated images and requires a license that includes the FIPS feature. Ask your vendor to confirm which edition, license and images your environment needs, and ask whether any support, upgrade or retesting is charged separately. Your own costs also include testing time, client upgrades and any middlebox changes.
What should I ask Traefik Labs or my vendor before enabling this?
Ask these questions in writing and record the answers with dates:
- Which Traefik version and Go toolchain produce the hybrid groups by default in our build?
- Is there a published setting to enable or disable hybrid key exchange, and which page documents it? The TLS options page checked on 2026-12-03 does not mention post-quantum.
- Is there a fix or workaround for the HostSNI issue reported in topic 29730?
- Which edition, license and image do we need for FIPS-validated key exchange, and does that cover ML-KEM?
- What is the support and upgrade policy for these settings?
The FIPS solutions page is vendor marketing for Traefik Hub, so treat it as a claim to verify rather than evidence for the open-source proxy.
How DeployOpen helps plan and test Traefik post-quantum changes
DeployOpen works on Traefik post-quantum compatibility with clients, libraries and middleboxes by first finding which clients, libraries and network devices meet the handshake in your environment. We then test each proposed setting in a controlled environment before anything changes in production.
How we scope
- We agree a written, fixed scope covering which Traefik entrypoints, routers and backends are in the review.
- We list the client populations, libraries and middleboxes that sit on the path to each entrypoint.
- We confirm which Traefik edition and version you run, because the open-source proxy and Traefik Hub differ.
How we build
- We build a test environment that matches your entrypoint, TLS options and ServersTransport settings.
- We test candidate curvePreferences changes against representative clients and check SNI handling through TCP routers.
- We check middleboxes that split ClientHello messages across TCP segments, since these can break HostSNI routing.
How we hand over
- We deliver a written record of each client, library and middlebox result, with the Traefik version tested.
- We document each setting we tested, its effect on the handshake, and the fallback you can restore.
- We hand over a test plan you can rerun before each Traefik upgrade or configuration change.
How we support
- Ongoing support and continuous retesting are available as a retainer, so new Traefik releases are rechecked.
- Retests follow each Traefik release that changes TLS behavior, so your compatibility record stays current.
- Questions about vendor notices or the next release are answered against the scope we agreed in writing.

