Cloud Native & eBPF

Envoy v1.40.0: Post-quantum TLS, stable HTTP/3, and Bazel bzlmod migration

Key Takeaway

Envoy 1.40.0 introduces post-quantum hybrid key exchange by default and stabilizes HTTP/3 and QUIC support.

Summary

Envoy proxy has released version 1.40.0, featuring a major build system migration from WORKSPACE to bzlmod. The release stabilizes HTTP/3 and QUIC, adds X25519MLKEM768 hybrid key exchange for post-quantum security, and introduces alpha support for an AI Protocol Manager filter. It also includes significant security hardening and several CVE fixes.

Technical changes in Envoy 1.40.0

  • Build System: Migration to bzlmod requires downstreams to use MODULE.bazel and Envoy's custom registry.
  • Security: Default ECDH curves now include X25519MLKEM768 hybrid key exchange; HTTP/3 and QUIC are now stable.
  • Networking: QUIC listeners now support mTLS (client certificates), and UDP hot restarts preserve established sessions during drain.
  • AI/MCP: New AI Protocol Manager (alpha) filter extracts LLM token usage for OpenAI, Anthropic, and Gemini.
  • Breaking Changes: Removal of AWS-LC as a selectable SSL library and changes to the Rust SDK HttpFilter hooks.

Why it matters

The migration to bzlmod and the shift to post-quantum TLS defaults represent significant changes for users managing large-scale deployments and security compliance.

What to do

  • Update to Envoy 1.40.0 to receive post-quantum TLS (X25519MLKEM768) and stable HTTP/3/QUIC support.
  • If you build Envoy downstream, migrate from WORKSPACE to MODULE.bazel and add Envoy's custom Bazel registry at https://raw.githubusercontent.com/envoyproxy/bazel-registry alongside the BCR.
  • If you use AWS-LC, switch to --config=openssl (for ppc64le) as AWS-LC is removed as a selectable SSL library.
  • If you use the Rust SDK for dynamic modules, update HttpFilter hooks to use &self instead of &mut self and move per-stream mutable state behind interior mutability.

Original reference: github.com →