Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Vendor: Traefik Labs · https://traefik.io/ · pkg:golang/github.com/traefik/traefik/v3 · Last reviewed 2026-12-05 · History

Summary

  • With no curvePreferences set, 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 MLKEM1024 is available only when listed in curvePreferences.2
  • Classical groups can be disabled with the curvePreferences TLS 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 curvePreferences to the hybrid names on the default TLS 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), then X25519, CurveP256, CurveP384, CurveP521”.1
  • X25519MLKEM768 “is in the Go defaults since Go 1.24, and SecP256r1MLKEM768 and SecP384r1MLKEM1024 since Go 1.26”; post-quantum key exchange needs TLS 1.3. Go ignores the order of curvePreferences and 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 curvePreferences lost post-quantum protection against "harvest now, decrypt later" attacks.”; it allows the three hybrids and pure MLKEM1024.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.mod of 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: VersionTLS13 also refuses TLS 1.2 clients; the Kubernetes TLSOption takes the same fields; add MLKEM1024 for 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

  1. 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

  2. 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

  3. 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) ↩

  4. 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

  5. Traefik pull request 11731, “Introduce X25519MLKEM768 for Post-Quantum-Secure TLS”. https://github.com/traefik/traefik/pull/11731 (accessed 2026-12-05) ↩ ↩2

  6. 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) ↩

  7. Traefik go.mod at tag v3.5.0 (go 1.24.0). https://github.com/traefik/traefik/blob/v3.5.0/go.mod (accessed 2026-12-05) ↩

  8. Traefik Dockerfile, commit 43b2775. https://github.com/traefik/traefik/blob/43b27758c5ffc5fd92f50652fa1bcb7a4d97cf2b/Dockerfile (accessed 2026-12-05) ↩


Edit: Traefik

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.