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

Vendor: Cloudflare · https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/ · pkg:github/cloudflare/cloudflared · Last reviewed 2026-12-05 · History

Summary

  • Key agreement: hybrid X25519MLKEM768 is the default on connections that use the quic protocol, with fallback to classical if the connection fails.12
  • Classical key agreement can be disabled by whoever runs cloudflared: the --post-quantum flag allows only post-quantum key agreement, with no fallback.1
  • Post-quantum key agreement is not supported when the tunnel uses the http2 protocol.1
  • Authentication: classical. Cloudflare lists signatures for Tunnel as “Not yet”.3

Run cloudflared tunnel run --post-quantum <UUID or NAME> (or set TUNNEL_POST_QUANTUM) so quic connections use only post-quantum key agreement.1

Post-quantum authentication for Tunnel “soon”; 2027 Q2 for post-quantum authenticated TLS and SSH on internal and customer-facing interfaces (2026-12-03).4

Cryptographic operations

  • Tunnel connection: cloudflared is the TLS 1.3 client, over QUIC by default. Default groups in order: X25519MLKEM768, P256Kyber768Draft00 (pre-standard hybrid), classical P-256 as fallback. --post-quantum drops P-256.2
  • Authentication: “Not yet”.3
  • Origin features: automatic key exchange excludes zones using Tunnel and Authenticated Origin Pulls is incompatible with it, so Origin connections does not apply.56 Cloudflare recommends Tunnel for origins without post-quantum support.3

Versions

Change Version or date Package URL Source
--post-quantum flag added; opt-in, pre-standard Kyber hybrids 2022.9.1 pkg:github/cloudflare/cloudflared@2022.9.1 7
Post-quantum key agreement default on quic, with fallback not stated   1

The release that made it default is not stated; newest release on 2026-12-05 was 2026.12.0.8

Configuration

  • Enabling: nothing on quic, the default protocol.1
  • Disabling classical: --post-quantum; “quic connections are only allowed to use PQ key agreements, with no fallback to non-PQ.” In a config file: post-quantum: true.17
  • A tunnel forced to http2 uses classical key agreement.1

References

  1. Cloudflare Docs, “Run parameters”, post-quantum. https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/configure-tunnels/cloudflared-parameters/run-parameters/#post-quantum (accessed 2026-12-05). ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8

  2. cloudflared source, crypto/curves.go at commit 60656a9. https://github.com/cloudflare/cloudflared/blob/60656a9c731ec9e4e74de1f93ff32c826cde05d4/crypto/curves.go (accessed 2026-12-05). ↩ ↩2

  3. Cloudflare Docs, “PQC in Cloudflare products”. https://developers.cloudflare.com/ssl/post-quantum-cryptography/pqc-cloudflare-products/ (accessed 2026-12-05). ↩ ↩2 ↩3

  4. Cloudflare Blog, “Project Quantum Leap: Cloudflare will be fully post-quantum in 2027”, 2026-12-03. https://blog.cloudflare.com/project-quantum-leap/ (accessed 2026-12-05). ↩

  5. Cloudflare Docs, “Automatic key exchange to origins”. https://developers.cloudflare.com/ssl/origin-configuration/automatic-key-exchange/ (accessed 2026-12-05). ↩

  6. Cloudflare Docs, “Authenticated Origin Pulls (mTLS)”. https://developers.cloudflare.com/ssl/origin-configuration/authenticated-origin-pull/ (accessed 2026-12-05). ↩

  7. Cloudflare Blog, post-quantum Cloudflare Tunnel announcement, 2022-10-03. https://blog.cloudflare.com/post-quantum-tunnel/ (accessed 2026-12-05). “cloudflared 2022.9.1 adds the –post-quantum flag”. ↩ ↩2

  8. cloudflared releases. https://github.com/cloudflare/cloudflared/releases (accessed 2026-12-05). ↩


Edit: Cloudflare Tunnel

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.