Vendor: Traefik Labs · https://traefik.io/ · pkg:golang/github.com/traefik/traefik/v3 · Last reviewed 2026-12-05 · History
Summary
- With no
curvePreferencesset, Traefik uses the Go defaults, which include the hybrid groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024 for TLS 1.3 clients that offer them: this is the default.12 - The pure group
MLKEM1024is available only when listed incurvePreferences.2 - Classical groups can be disabled with the
curvePreferencesTLS option; setting it replaces the defaults, and from 3.8.1 Traefik logs a warning when the list has no post-quantum group.123 - Connections to backends offer the hybrid groups to TLS 1.3 backends; “the key exchange offered to the backends is not configurable”.1
- Traefik serves ML-DSA certificates, with the private key in the PKCS #8 seed format; clients without ML-DSA support cannot connect to those.1
To refuse clients without a hybrid group, set
curvePreferencesto the hybrid names on thedefaultTLS option (from 3.8.1).2
Cryptographic operations
- Client connections (Traefik is the TLS server): TLS 1.2 minimum, TLS 1.3 maximum, key exchange order “Post-quantum hybrids (
X25519MLKEM768,SecP256r1MLKEM768,SecP384r1MLKEM1024), thenX25519,CurveP256,CurveP384,CurveP521”.1 X25519MLKEM768“is in the Go defaults since Go 1.24, andSecP256r1MLKEM768andSecP384r1MLKEM1024since Go 1.26”; post-quantum key exchange needs TLS 1.3. Go ignores the order ofcurvePreferencesand uses its own.12 See Go.- Server certificates: RSA and ECDSA certificates are not exposed to “harvest now, decrypt later” and “Traefik also serves post-quantum ML-DSA certificates” (ML-DSA); public CAs do not issue them yet, so a private CA is needed.1
- Backends (Traefik is the TLS client): “connects to the backends over TLS with the Go defaults for the key exchange”.1
Versions
| Change | Version | Date | Package URL | Source |
|---|---|---|---|---|
X25519MLKEM768 accepted as a curvePreferences name; go.mod moves to Go 1.24.0 |
3.5.0 | 2025-07-23 | pkg:golang/github.com/traefik/traefik/v3@v3.5.0 |
45 |
Post-quantum names accepted in curvePreferences, warning when none is set |
3.8.1 | 2026-12-04 | pkg:golang/github.com/traefik/traefik/v3@v3.8.1 |
4 |
| Same change, backported | 3.7.21 | 2026-12-04 | pkg:golang/github.com/traefik/traefik/v3@v3.7.21 |
4 |
| Same change, backported | 2.11.65 | 2026-12-04 | pkg:golang/github.com/traefik/traefik/v2@v2.11.65 |
4 |
- 3.8.1 PR: “As only classical curves were accepted, any TLS option setting
curvePreferenceslost post-quantum protection against "harvest now, decrypt later" attacks.”; it allows the three hybrids and pureMLKEM1024.6 - 3.5.0 PR registered only
X25519MLKEM768: “No behavioral changes occur unless the new curve is explicitly configured in TLS.”5 The two PRs differ on what was accepted before 3.8.1; both are reported. - Go toolchain per release binary not checked; only
go.modof 3.5.0 was read (go 1.24.0).7
Configuration
Enabling PQC
Nothing needed when curvePreferences is unset; a classical-only list replaces the defaults. From 3.8.1:
tls:
options:
default:
curvePreferences:
- X25519MLKEM768
- SecP256r1MLKEM768
- SecP384r1MLKEM1024
Disabling classical algorithms
- The list above “only accept[s] clients that support a post-quantum hybrid key exchange, and refuse[s] the other clients, on all the routers that do not reference another TLS option.”2
- Adding
minVersion: VersionTLS13also refuses TLS 1.2 clients; the KubernetesTLSOptiontakes the same fields; addMLKEM1024for the pure group.12 - The backend key exchange cannot be changed.1
Distributions
Checked 2026-12-05. The Dockerfile starts FROM alpine:3.24 and copies in the prebuilt binary, so groups come from the Go toolchain used to build it, not the Alpine base; see Alpine.8 Other packages not checked.
Not verified
- Go toolchain version of each official binary and image.
- The release that added ML-DSA certificate loading.
- Vendor commitments: no roadmap statement on post-quantum work found.
References
-
Traefik documentation, “TLS Algorithms and Post-Quantum Key Exchange”, commit 43b2775. https://github.com/traefik/traefik/blob/43b27758c5ffc5fd92f50652fa1bcb7a4d97cf2b/docs/content/security/tls-algorithms.md (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
-
Traefik documentation, TLS options, “Curve Preferences”, commit 43b2775. https://github.com/traefik/traefik/blob/43b27758c5ffc5fd92f50652fa1bcb7a4d97cf2b/docs/content/reference/routing-configuration/http/tls/tls-options.md#curve-preferences (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
-
Traefik changelog, v3.8.1 (2026-12-04): “Support post-quantum curve preferences and warn when none is set (#14453)”. https://github.com/traefik/traefik/blob/43b27758c5ffc5fd92f50652fa1bcb7a4d97cf2b/CHANGELOG.md#L1-L16 (accessed 2026-12-05) ↩
-
Traefik changelog, v3.8.1, v3.7.21, v2.11.65 (all 2026-12-04) and v3.5.0 (2025-07-23, “Introduce X25519MLKEM768 for Post-Quantum-Secure TLS (#11731)”). https://github.com/traefik/traefik/blob/43b27758c5ffc5fd92f50652fa1bcb7a4d97cf2b/CHANGELOG.md (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4
-
Traefik pull request 11731, “Introduce X25519MLKEM768 for Post-Quantum-Secure TLS”. https://github.com/traefik/traefik/pull/11731 (accessed 2026-12-05) ↩ ↩2
-
Traefik pull request 14453, “Support post-quantum curve preferences and warn when none is set”. https://github.com/traefik/traefik/pull/14453 (accessed 2026-12-05) ↩
-
Traefik
go.modat tag v3.5.0 (go 1.24.0). https://github.com/traefik/traefik/blob/v3.5.0/go.mod (accessed 2026-12-05) ↩ -
Traefik
Dockerfile, commit 43b2775. https://github.com/traefik/traefik/blob/43b27758c5ffc5fd92f50652fa1bcb7a4d97cf2b/Dockerfile (accessed 2026-12-05) ↩