1.41.0 (Pending)
Incompatible behavior changes
Changes that are expected to cause an incompatibility if applicable; deployment changes are likely required
admin: The
/stats/prometheusand/stats?format=prometheusadmin endpoints no longer sort the stats by name, which reduces the CPU cost of Prometheus scrapes with many stats. Each metric family is still emitted as one group, but the order of families and series can change between scrapes. This behavior can be reverted by setting the runtime guardenvoy.reloadable_features.prometheus_stats_unsortedtofalse.bootstrap:
Server::Configuration::BootstrapExtensionFactory::createBootstrapExtensionnow returnsabsl::StatusOr<BootstrapExtensionPtr>instead of throwing on configuration errors, matching the non-throwing pattern already used by HTTP/network filter factories. This is a source-breaking change for out-of-tree bootstrap extensions: the interface method is now pure virtual with no default implementation, so everyBootstrapExtensionFactoryimplementation must be updated to return a status instead of throwing.gcp_authn: Bound token requests (bound_jwt and bound_access_token) to the GCP metadata server now use HTTP
POSTwith the full PEM-encoded client certificate chain in the JSON request body ({"certificate_chain": "<PEM>"}), replacing the deprecated HTTPGETrequest with thebindCertificateFingerprintquery parameter.geoip: The HTTP geoip filter now removes every configured geolocation header from the incoming request before the lookup, so a header a client sent is never forwarded upstream as if the lookup had set it. Previously a client-supplied header was kept whenever the lookup had no value for it: an address absent from the database, a database error, a field the database lacks for that address, or a request whose lookup was skipped because the downstream address was not an IP address. Geolocation providers report the headers they are configured to write through the new
Driver::geoHeaderNames()method, which defaults to empty for providers that do not implement it. This behavior can be reverted by setting the runtime guardenvoy.reloadable_features.geoip_sanitize_geo_headerstofalse.http: Added the runtime guard
envoy.reloadable_features.filter_manager_per_filter_buffer, disabled by default. When enabled, the filter manager buffers the body data stopped at each filter in that filter’s own buffer, instead of in a single buffer shared by the whole stream, so a filter only ever replays the data it holds itself.decodingBuffer(),addDecodedData()andmodifyDecodingBuffer()(and their encoding counterparts) then operate on the calling filter’s own buffer:decodingBuffer()no longer returns body data buffered by other filters in the chain. A filter returningStopIterationNoBufferconsumes the frame: whatever it leaves in a frame replayed from an earlier filter’s buffer is dropped. A body added by several filters while the headers pass through the chain is still sent once, as a single body. The stream buffer limit applies to the total held by all buffers in each direction, and the router drops the request body it kept for retries or internal redirects once it gives up on them, so the kept body no longer counts towards that limit. This fixes a filter resuming iteration ending the stream early, dropping the remaining body, when another filter earlier in the chain was still holding data that it later injected (for example, three ext_proc filters processing the body inSTREAMEDmode), and a filter resuming iteration sending on body data still held by an earlier filter before that filter had finished with it, or sending it twice to a filter that keeps it, such as the router with a retry policy. When enabled, the runtime guardsenvoy.reloadable_features.ext_proc_inject_data_with_state_updateandenvoy.reloadable_features.filter_manager_forward_added_data_on_continuehave no effect.router: A TCP upstream that half closes its connection, such as the origin of a terminated CONNECT tunnel, no longer causes an HTTP/2 or HTTP/3 downstream stream to be reset. The half close is propagated downstream as an end of stream, and the stream is closed once the downstream client half closes its own side. Previously the stream was reset, which discarded any response data that had not yet been written to the downstream connection. This change can be reverted by setting the runtime guard
envoy.reloadable_features.tcp_tunnel_allow_upstream_half_closetofalse.stats: The tag-extracted names of per-worker stats now keep
workeras a separate name segment when theworker_idtag is extracted:server.worker_1.watchdog_missis now extracted toserver.worker.watchdog_missinstead ofserver.worker_watchdog_miss, and the same applies to the per-worker stats underlistener.<address>.,listener_manager.andthread_local_cluster_manager.. Prometheus names are unchanged, because.and_are both sanitized to_there. Metric names change only for sinks that emit the tag-extracted name verbatim, such asdog_statsd,metrics_serviceand the OpenTelemetry sink.tls: Upstream TLS connections now default to a maximum TLS version of TLS 1.3 instead of TLS 1.2 when tls_maximum_protocol_version is not set, which also lets them use the default post-quantum key exchange. When the upstream server supports TLS 1.3, an mTLS client certificate rejected by the upstream is reported as a reset after the connection is established rather than as a connection failure. In that case,
connect-failureHTTP retries and TCP proxy max_connect_attempts don’t retry it on another endpoint, connect-only TCP health checks pass, and the rejection isn’t counted in theupstream_cx_connect_failcluster statistic. Outlier detection also records the connection as successful, so the host isn’t ejected for consecutive local origin failures caused by TCP proxy connections, or by HTTP requests when split_external_local_origin_errors is enabled. This behavior can be reverted by setting the runtime guardenvoy.reloadable_features.default_client_tls_max_version_is_1_3tofalse, or per cluster by settingtls_maximum_protocol_versiontoTLSv1_2.upstream: A host health change now re-partitions only the priority that holds the host instead of every priority. EDS clusters are unchanged. This behavior can be reverted by setting the runtime guard
envoy.reloadable_features.incremental_health_transitiontofalse.xds: The
envoy_reloadable_features_unified_muxis enabled by default after prod testing.
Minor behavior changes
Changes that may cause incompatibilities for some users, but should not for most
ai_protocol_manager: The AI filters now also run on requests parsed under parse_unconfigured_routes, so a catch-all route such as a dynamic forward proxy’s can rely on schema validation to detect the API. A payload that parses is re-serialized like a declared endpoint’s unless
reserialize_bodyisDISABLE; one that fails to parse is still forwarded unchanged. An API an AI filter detects is published asenvoy.ai.llm_protocol.requestfilter state, and the response then runs the AI filters as a declared endpoint’s does.alts: The ALTS transport socket’s server-side (downstream) handshakes now talk to the ALTS handshaker service through Envoy’s async gRPC client instead of blocking gRPC calls. Previously, each call blocked the worker thread until the handshaker service responded, for up to 30 seconds, so a slow or unreachable handshaker service stalled every connection on that worker. A worker now keeps serving its other connections while a handshake waits, a handshake whose connection closes is cancelled, and the handshaker service streams are counted in the
grpc.alts_handshaker.*gRPC client stats. Client-side (upstream) handshakes still make blocking calls. This behavior can be temporarily reverted by setting runtime guardenvoy.reloadable_features.alts_async_handshakertofalse.build: GCC builds (
--config=gcc) now use toolshed’s hermetic GCC 13.4.0 toolchain instead of a GCC installed in the build image. GCC uses Envoy’s hermetic sysroot (the same as Clang), static libstdc++, and links with hermetic LLD instead of gold. It supports Linux x86_64 only, and--config=gccnow fails on other platforms instead of building with Clang. The GCC build image,--config=libstdc++andBAZEL_USE_LIBSTDCPPare removed. To build with a system GCC, setgcc_extension.host(path = "...", toolchains = ["gcc_linux_x86_64"])from@envoy_toolshed//toolchains/gcc:extensions.bzlin the root module.build: The GCC reference build (
--config=gcc) is now built and tested in Envoy CI with-c opt, for consistency with the Clang build, which is built and tested with-c opt. The newgcc-ciconfig builds it as CI does, without debug information (--fission=noand-g0): with GCC, the split debug information that-c optadds took compiles and links over the memory of the RBE pools they run on and made the binaries several times larger, and nothing from the GCC build is published.--config=gccnow links with-z nostart-stop-gc, as-c optlinks with--gc-sections, which otherwise drops the link array sectionsupbregisters extensions in. It also no longer treats-Wnonnulland-Wstringop-overflowas errors, as GCC reports false positives for them with optimization.This has no effect on any production binaries produced by the project, but downstream projects that build with GCC and wish to continue building with
-c fastbuildmay require some adjustment.cares: Changes the default value of
envoy.restart_features.shared_cares_dns_resolvertofalse. Turn this on ifqcache_max_ttlis set in c-ares config and sharing the query cache across DNS clusters is desired.config: When a new SDS watch is added for a secret name that another watch on the same delta gRPC mux (or SotW gRPC mux with
envoy.reloadable_features.unified_muxenabled) already subscribes to, and the new watch has not received any update yet, Envoy now delivers the last received version of that secret to the new watch instead of waiting for the management server to send it again. Previously the new watch received nothing until itsinitial_fetch_timeoutexpired or the server pushed a new version, for example after a listener or cluster update that only changed ansds_config. Other resource types are not cached. This behavior can be temporarily reverted by setting the runtime flagenvoy.reloadable_features.xds_replay_cached_resourcestofalse.config: xDS resource types that may be subscribed to while a config update is being applied are now paused centrally for every subscription, regardless of its transport (gRPC, REST or filesystem), instead of by each xDS API. As part of this change, Virtual Host Discovery Service (VHDS) requests are now also paused while a Route Discovery Service (RDS) update is being applied, so that the VHDS subscriptions created by the update are batched into a single request.
contrib: The Istio peer metadata conversion now takes a peer’s app name and version from the
appandversionlabels again, and usesapp.kubernetes.io/nameandapp.kubernetes.io/versiononly when those labels are absent or empty. A workload’s own stats always useappandversion, so giving theapp.kubernetes.io/*labels precedence madesource_app,destination_app,source_versionanddestination_versionreported by a peer differ from the values the workload reports for itself, and the same workload showed up under two names. This restores the label precedence Istio proxies used beforeapp.kubernetes.io/*labels were preferred.dns: The c-ares resolver (c-ares 1.34.9) now clamps DNS record TTLs that do not fit in a signed 32-bit integer to its maximum value (2147483647 seconds) instead of letting them wrap to a negative value, which Envoy previously treated as a zero TTL. When
respect_dns_ttlis enabled, such records are now cached for the clamped TTL rather than refreshed on the next cycle.dns_resolver: Updated the
webpki-rootsandrustls-webpkicrates used by the built-in Hickory DNS resolver dynamic module, so that DNS-over-TLS and DNS-over-HTTPS upstreams no longer trust the compromised eMudhra intermediate CA certificates (see https://emudhra.we-have-a-problem.com/).dynamic_modules: The dynamic modules route specifier no longer records
specifier_durationfor a request outside runtime_fraction.filter_chain: The filters of a filter chain that is configured per route in the filter chain filter now get the stats prefix of the enclosing context instead of a hard-coded
filter_chain.prefix. As route specific configurations have no stats prefix today, their stats move fromfilter_chain.<name>.*to<name>.*.grpc_web: The gRPC-Web filter now limits the
grpc-messagebuilt from a non-gRPC response body to 16 KiB also when the body arrives as a single chunk (for example a local reply), as it already did for bodies that arrive in several chunks.http: An HTTP/1 downstream connection that carries no request between the start of a drain sequence and its drain timeout, such as one closed by the connection idle timeout, is now closed without waiting for the delayed close timeout. There is no response on such a connection for the client to read, and while the delayed close was pending Envoy ignored any request a pooling client sent on it, so that request was never answered. This change can be reverted by setting the runtime guard
envoy.reloadable_features.http1_skip_delayed_close_on_idle_draintofalse.http: The body size limit filter no longer counts bytes sent after the upstream accepts an upgrade such as WebSocket, or a CONNECT request. Those bytes are tunneled traffic rather than a request body, and counting them reset long-lived WebSocket connections once their total traffic passed the limit. Bytes sent before the upstream accepts are still counted, and so are raw TCP tunneled over POST on an
allow_postroute and CONNECT-UDP that Envoy terminates itself.http: The gRPC statistics filter now applies replace_dots_in_grpc_service_name to allowlisted methods. Previously, this option only affected statistics emitted with
stats_for_all_methodsset totrue. When enabled withindividual_method_stats_allowlist, dots in service names are now replaced with underscores in emitted metric names. Allowlist entries continue to use the original service names, including dots. Dashboards and alerts that refer to the previous metric names need to be updated.jwt_authn: jwt_authn: when a JWT has no
kid, keys whosex5t#S256(or, failing that,x5t) differs from the JWT header’s are skipped. Keys without a thumbprint are still tried. This behavior can be reverted by setting runtime guardenvoy.reloadable_features.jwt_authn_select_key_by_x5ttofalse.listener: A State-of-the-World (SotW) Listener Discovery Service (LDS) update now removes only the listeners that were previously received through LDS, instead of every dynamic listener that is not part of the update. Listeners that other components add are therefore no longer removed when a SotW LDS update arrives, and a listener whose name differs from its resource name, such as an entry of a filesystem collection, is no longer drained and added again on every SotW update. This behavior can be reverted by setting
envoy.reloadable_features.lds_sotw_track_resourcestofalse. Independently of this runtime guard, LDS now generates the name of a listener that it receives without a name, so one update can add several such listeners instead of rejecting all but the first as duplicates.listener: A TCP listener that has filter chains from the Filter Chain Discovery Service (FCDS) and no filter_chains is now updated in place in the same cases as the other listeners, instead of always being drained and replaced. The connections on the FCDS filter chains that the update keeps remain open. This behavior can be temporarily reverted by setting runtime guard
envoy.reloadable_features.listener_in_place_address_updatetofalse. An in place update of any listener also drains its connections on the FCDS filter chains that the update drops. When theenvoy.reloadable_features.use_connection_event_drainruntime guard is disabled, these connections are only closed once the drain completes.listener: A TCP listener update that adds or removes addresses, and otherwise changes at most the filter chains, no longer drains the entire listener. The listener keeps accepting connections on the remaining addresses, and the connections accepted on the removed addresses are drained along with those of the removed filter chains. The new total_listener_addresses_draining listener manager gauge counts the removed addresses until their drain completes. Such an update of a listener with enable_reuse_port disabled is also no longer rejected with a duplicate address error. If the listener fails to listen on an added address, it drops the update and keeps serving its addresses instead of removing the listener. See filter chain only update for the requirements. This behavior can be temporarily reverted by setting runtime guard
envoy.reloadable_features.listener_in_place_address_updatetofalse.listener: A listener whose Filter Chain Discovery Service (FCDS) configuration has no config source is no longer rejected. Instead it waits, without a timeout, for an extension, such as a bootstrap extension, to add its filter chains by name. When Envoy creates such a listener before it starts its workers, server initialization waits too. A filter chain name is either discovered through FCDS or added by an extension, and Envoy rejects a listener that requests a name of the other kind. A listener keeps its names until it is removed and has finished draining, so an update that sets or clears the config source of a listener must use new filter chain names.
load_balancing: Allowed use_hostname_for_hashing for
STATICandEDSclusters in addition toSTRICT_DNSclusters. The optional hostname field of the endpoint is used as the hash key, and hosts without a hostname fall back to hashing by the resolved address.logging: Fault descriptions and backtraces are now written directly to stderr from the fatal signal handler, and are no longer emitted to configured log sinks such as
--log-path. Deployments that collect crash backtraces from the log file need to capture stderr instead.mcp: Removed the 10MB (10485760 bytes) upper bound on the MCP filter’s max_request_body_size and the per-route max_request_body_size. Any
uint32value is now accepted; the 8KB default is unchanged.mcp: Updated
POSTContent-Typevalidation in the MCP filter to matchapplication/jsoncase-insensitively and accept;, space, tab, or,parameter/value delimiters.network_ext_proc: Promoted the network external processing filter and its v3 API from work-in-progress to
stablestatus, with security posture set torequires_trusted_downstream_and_upstream.on_demand: On-demand cluster discovery (ODCDS) can now answer repeated requests for a cluster the server has already reported as missing immediately from that remembered answer, instead of starting another discovery and waiting for the response or the discovery timeout. The answer is remembered per config source, only for explicitly requested clusters, and is withdrawn as soon as an update delivers the cluster. Requests answered this way are counted in the new cluster_manager.odcds.known_missing_answers counter. This behavior is off by default and can be enabled by setting the runtime guard
envoy.reloadable_features.odcds_missing_cluster_cachetotrue.quic: QUIC listeners now create the connection ID generator factory and apply its worker-routing socket option when the socket factory config is loaded, instead of when the listener config is loaded. This behavior can be reverted by setting runtime guard
envoy.restart_features.defer_worker_routing_inittofalse.rbac: The default stats tag-extraction rules now extract tags from the RBAC network filter’s stats (
<stat_prefix>.rbac.*): the rules/shadow rules stat prefix is extracted as the newenvoy.rbac_rules_prefixtag, and the policy name of per-policy stats is extracted asenvoy.rbac_policy_name. The policy name is now also extracted for the upstream HTTP RBAC filter’s per-policy stats (cluster.<name>.rbac.*). Previously these tags were only extracted for the downstream HTTP filter’s stats. Flat stat names are unchanged; only the tag-extracted names and tags visible to tagged stats sinks (e.g. Prometheus) change.reverse_tunnel: Updated the reverse-tunnel upstream HTTP/2 codec so when enable_drain_with_goaway is enabled, upstream-initiated graceful drains (such as via
/reverse_tunnel/drain_clusters) emit a connection-level (stream 0) METADATA frame carryingenvoy.reverse_tunnel.drain: truebefore the final GOAWAY, replacing the previous drain-start client GOAWAY (which never reached the wire because nghttp2 rejects client GOAWAYs with an odd last stream ID and oghttp2 drops client GOAWAYs, yetreverse_tunnel_upstream_codec.goaway_sentcounted it). Replacedreverse_tunnel_upstream_codec.goaway_sentwithreverse_tunnel_upstream_codec.drain_startedto count each drain start, while the cluster’shttp2.goaway_sentstat tracks the final GOAWAY sent after the drain window. The server-side drain-aware HTTP connection manager now observes that METADATA frame when enable_drain_with_goaway is enabled and dials a replacement tunnel before the final GOAWAY arrives. Emitting and observing the drain METADATA frame requireshttp2_protocol_options.allow_metadataon both sides.spiffe_validator: The SPIFFE certificate validator now rejects a
trust_domainsentry whosetrust_bundleparses but contains no certificate, for example a bundle holding only a CRL. Such a trust domain previously loaded successfully but had no trust anchor, so every handshake for it failed at verification time instead. This matches the behavior of thetrust_bundles(SPIFFE bundle map) configuration, which already rejects a trust domain with no certificate. This change can be reverted by setting the runtime guardenvoy.reloadable_features.spiffe_validator_reject_empty_trust_bundletofalse.stats: Added the new
envoy.upstream_from_zoneandenvoy.upstream_to_zonetags, extracted by the default stats tag-extraction rules from a cluster’s upstream per-zone stats (cluster.<name>.zone.<from_zone>.<to_zone>.*). Flat stat names are unchanged.tls: Parsed TLS certificate chains and private keys are now cached and shared across TLS contexts that reference identical PEM material, so each distinct certificate and key is parsed once instead of once per context. Password-protected private keys are not cached. This change can be reverted by setting the runtime guard
envoy.reloadable_features.cache_parsed_tls_certificatestofalse.tls: Removed the
AAA Certificate ServicesandemSign ECC Root CA - G3roots from the root certificate bundle built into Envoy Mobile. Both roots issued or cross-signed eMudhra intermediate CA certificates whose private keys were compromised (see https://emudhra.we-have-a-problem.com/). Servers whose certificate chains only lead to these roots are no longer trusted by Envoy Mobile when it uses its built-in bundle.tls: The SPIFFE certificate validator has been promoted to stable status.
udp: Updated the GSO UDP packet writer, used by QUIC and UDP listeners, to send datagrams larger than 1452 bytes through ordinary UDP sends instead of failing with
EMSGSIZE. Multi-slice datagrams also use ordinary sends, after flushing any older batch. Blocked writers now returnEAGAINwithout accepting new datagrams. Theinternal_buffer_sizegauge now sums buffered bytes across writers sharing a statistics scope instead of reporting the last writer’s value.upstream: A State-of-the-World (SotW) CDS update now removes only the clusters that were previously received through that same CDS subscription, instead of every dynamic cluster that is not part of the update. Clusters added by on-demand CDS (ODCDS) are therefore no longer removed when a SotW CDS update arrives, which previously caused
cluster_not_foundresponses until the clusters were re-discovered. This behavior can be reverted by settingenvoy.reloadable_features.cds_sotw_track_resourcestofalse.upstream: EDS and static cluster hosts now share endpoint and locality metadata only when it serializes to the same bytes. Endpoints and localities whose typed_filter_metadata holds equal messages encoded differently, for example by a control plane that does not serialize map fields deterministically, no longer share one in-memory copy of that metadata, while an update still treats endpoint metadata as unchanged.
vhds: When a virtual host discovered through VHDS has the same name as a virtual host defined in the RDS virtual_hosts, the VHDS virtual host now replaces the RDS one in the merged route configuration. Previously both virtual hosts were kept. Removing the VHDS virtual host restores the RDS one. This behavior change can be reverted by setting the runtime guard
envoy.reloadable_features.vhds_overrides_rds_virtual_hosts_with_same_nametofalse.
Bug fixes
Changes expected to improve the state of the world and are unlikely to have negative effects
admin: Reduced repeated field mask parsing in
/config_dumprequests.admin: Route and scoped route config dumps now skip expired entries during provider destruction.
admin: Sanitize histogram names rendered as JSON into the inline scripts of the admin
/stats?format=html&histogram_buckets=detailedpage, so that a stat name cannot close the script element and inject markup. This change is guarded by the runtime guardenvoy.reloadable_features.sanitize_html_stats_names.ai_protocol_manager: Fixed
LLMBindinguri_patternparsing to reject invalid HTTP header characters in the query string.ai_protocol_manager: Fixed
ai_protocol_managerSSE token usage extraction misclassifying oversized SSE events when theevent:header line straddled a data frame boundary. Classification now inspects the fullmax_sse_event_sizeprefix across frame boundaries so skippable oversized events do not falsely mark token usage as degraded.ai_protocol_manager: Fixed the
request_infoAI filter to accept string values (e.g."256") in addition to numbers formaxOutputTokens/max_output_tokensin GeminigenerateContentrequests.ai_protocol_manager: Fixed the
transcoderAI filter to rewrite the request:pathto/v1/chat/completionsby default when transcoding requests to OpenAI Chat Completions.ai_protocol_manager: Fixed the streaming JSON parser used by
ai_protocol_managernot latching its error state. Afterfeed()returned an error raised part-way through a chunk (handler error, nesting limit, duplicate key, malformed input), the next call resumed with stale token offsets and could index past the end of the new chunk, aborting the process. The first error is now sticky: every later call returns the same status without re-entering the decoder.ai_protocol_manager: Fixed the streaming JSON parser used by
ai_protocol_managerso the 64-byte number length limit is enforced when a number finishes parsing, rather than only when an incomplete number at the end of a chunk exceeds 64 bytes.alts: Fixed ALTS connections holding their handshaker service stream until the connection closed. With a gRPC client that limits concurrent calls per connection (gRFC A105), each open ALTS connection used up one slot on the handshaker channels, so once enough connections were open, new handshakes waited until their deadline, blocking the worker thread, and then failed. The handshaker is now released as soon as the handshake completes.
alts: Fixed the ALTS transport socket dropping the peer’s end of stream when it arrived together with the peer’s last handshake message. The end of stream is now reported once the handshake completes.
basic_auth: Fixed the basic auth filter to match the
Basicauthentication scheme case-insensitively, as RFC 9110 requires. Before this fix, the filter rejected credentials sent with a scheme such asbasicorBASIC. With allow_missing set, the filter passed these requests through without authentication.cache: Fixed the
cache_v2filter so that idle cache sessions expire. Each lookup checked only the first session in the table, so idle sessions and thecache_sessions_entriesgauge could grow while that session stayed in use.cache: Fixed the cache_v2 filter to recheck cacheability after merging a 304 validation response. Responses that become uncacheable, including those with
Cache-Control: privateorno-store, are evicted and fetched again without cache validators, preventing their headers from being shared with other requests.composite: Fixed a use-after-free in the composite filter when it is configured through config_discovery and an ECDS update replaces its configuration while a stream is paused in an earlier filter. The filter instances created from the previous configuration now share ownership of the filter stats, and the match tree and named filter chains they hold are released on the main thread, so that the delegated filter configurations are not destroyed on a worker thread.
compressor: Fixed compression of empty request and response bodies when no
content-lengthheader is present. The compressor now waits for nonempty body data before enabling compression for these streams. This change can be temporarily reverted by setting the runtime guardenvoy.reloadable_features.compressor_skip_empty_bodytofalse.config: Reduced the cost of protobuf redaction, applying resource field masks in
/config_dump, reading Lua typed metadata, and loading filesystem collections by reusing protobuf’s generated message factory.contrib: Fixed a crash in the
rocketmq_proxynetwork filter (contrib) where a request whose custom header failed to decode (for example a request frame with the RPC flag set, which routes decoding to the response-header path) left the typed custom header null. The request handlers then dereferenced the null header. The handlers now reject such requests with a system error response instead of crashing.contrib: Fixed a use-after-free in the
kafka_meshnetwork filter (contrib). A Fetch request that finished while its downstream connection was closing delivered its answer through a dispatcher callback that held a raw pointer to the request and called the filter directly, so the callback ran on the freed request and filter. The callback now only runs if the request is still alive, and reaches the filter only while the filter has not abandoned the request.contrib: Fixed a use-after-free in the
sip_proxynetwork filter (contrib). The per-worker transaction table only marked an ended transaction as deleted and removed it later, so an upstream response with that transaction’s branch, arriving on an upstream connection shared with another downstream connection, was delivered to the freed transaction. Ended transactions are now removed right away, an upstream request no longer refers to a transaction that has moved away from it or ended, and a late response after all transactions on an upstream connection have ended is dropped instead of dereferencing a null pointer.dns_cluster: Fixed a regression in the new DNS cluster implementation (
envoy.reloadable_features.enable_new_dns_implementation) where a logical DNS cluster replaced its host whenever the resolved addresses changed, draining all connection pools to the host on every change. This caused heavy connection churn for DNS servers that rotate their answers, e.g. for load balancing. The host’s addresses are now updated in place, as the legacy logical DNS cluster did. The previous replace-and-drain behavior can be restored by setting the new skip_draining_on_resolution field tofalse.dns_resolver: Fixed a data race and cross-thread resolver sharing introduced with the
envoy.restart_features.shared_cares_dns_resolverruntime guard. The shared resolver cache lived on the process wide c-ares DNS resolver factory and was consulted by every caller, without synchronization. Callers that create resolvers on worker thread could therefore race on the cache, and could be handed a resolver bound to another thread’s dispatcher. Moving the shared logic into the upstream cluster similar to the default shared resolver eliminates any future issues and avoid locking in the worker thread. Also switch default forenvoy.restart_features.shared_cares_dns_resolverto false.dynamic_forward_proxy: Fixed a race in the dynamic forward proxy cluster where a request arriving while DNS resolution for a cold host was completing could receive a spurious 503 (
UH) with the successful resolver detail string even though resolution succeeded. The cluster now re-selects the host from its host map after observing a completed cache entry instead of treating a cache hit following a host-map miss as a failure. As part of this change, host selection that completes with no DNS host info now reportsno_hostas the response code details instead of an empty string.dynamic_modules: Fixed dynamic module filter state setters, such as
set_filter_state_bytes, returningtruefor a key already stored at a different life span, for example by another filter atRequestlife span. Envoy refused such a write with anENVOY_BUG, which aborts debug builds. The setters now returnfalseand keep the stored value.dynamic_modules: Fixed dynamic module metric IDs. The first metric defined with labels got the same ID as the first one defined without labels, and metrics of different types also shared IDs. A module that recorded a metric with the wrong number of label values, or through the call of another metric type, then changed a different metric instead of getting an error. Every metric now has its own ID.
dynamic_modules: Fixed legacy
udpa.type.v1.TypedStructdynamic module configuration being delivered as protobuf bytes instead of JSON.dynamic_modules: Fixed the Rust SDK’s
EnvoyBuffer::newso buffers cannot outlive their input slice.dynamic_modules: Fixed the gRPC status of local replies sent by HTTP dynamic modules.
send_responsepassedgrpc-status: 0(OK) for every status code, so a gRPC client denied with, for example, a 403 was told the call succeeded. A 200 reply still maps to OK; any other code now maps to the matching gRPC status, as for other local replies (403 toPERMISSION_DENIED, 429 toUNAVAILABLE).dynamic_modules: Fixed the upstream HTTP TCP bridge (
envoy.upstreams.http.dynamic_modules) loading its dynamic module and creating its bridge configuration on worker threads, where two workers could runenvoy_dynamic_module_on_program_initat the same time or use the module before it returned. The bridge now loads its module and callsenvoy_dynamic_module_on_upstream_http_tcp_bridge_config_newonce on the main thread when the cluster is created, as the ABI documents, and a module or bridge configuration that fails rejects the cluster instead of failing its requests.dynamic_modules: Removed
CloneandCopyfrom the Rust SDK’sEnvoyMutBufferto prevent overlapping mutable references.formatter: Fixed a performance issue where metadata command operators such as
%DYNAMIC_METADATA(...)%copied the whole metadata each time they produced a typed value, for example for the fields of a json_format access log.golang: Fixed the Go HTTP filter dropping buffered body data when an asynchronous
DecodeDataorEncodeDatareturnedStopAndBufferafter the trailers had arrived and the trailers were then handled synchronously. The trailers were forwarded without the buffered body.golang: Fixed the Go HTTP filter forwarding buffered body data with
end_streamset when the filter resumed processing the trailers, for example after an asynchronousStopAndBufferreturned once the trailers had already arrived. The trailers were then sent after the stream had ended, which asserted in debug builds.golang: Fixed the Go HTTP filter’s access log callbacks not seeing the request headers when an earlier filter sent a local reply before the Go filter decoded them. Reading the request headers in
OnLogpanicked with an invalid phase error, and request properties such asrequest.refererwere not found.grpc_field_extraction: Fixed the
grpc_field_extractionfilter corrupting streaming gRPC requests when the data chunk completing the first message also carried the head of the next pipelined message. The filter buffers request data internally to extract fields from the first message but never forwarded the buffered leftover bytes once extraction completed, so the remainder of the next message was delivered without its gRPC frame header and the stream was corrupted. The leftover bytes are now forwarded after extraction completes.grpc_sidestream: Address lifetime errors in the gRPC sidestream when the graceful stream closure is enabled by setting the
envoy.reloadable_features.ext_proc_graceful_grpc_closeruntime flag to true.http: Changed the log level from
errortodebugfor the message the body size limit filter logs when it rejects a request for exceeding the configured limit. Downstream clients trigger this message, so logging it aterrorlevel could cause excessive logging.http: Fixed a bug in filter manager trailer forwarding where a filter resuming from
StopAllIterationAndBufferorStopAllIterationAndWatermarkthat re-buffers the body indecodeData()/encodeData()before returningContinuefromdecodeTrailers()/encodeTrailers()dropped the buffered body on the nested continuation. Guarded byenvoy.reloadable_features.filter_manager_forward_held_trailers.http: Fixed a bug where a filter manager body buffer dropping below its low watermark after a too large body had triggered a local reply (rather than backpressure) released backpressure that was never applied, e.g. resuming reads on the connection or calling the downstream low watermark callbacks without a matching high watermark.
http: Fixed downstream span finalization to run after
onStreamCompleteso filter-set span tags are exported instead of silently dropped.http: Fixed filter manager handling of trailers held by a filter, either added by it (
addDecodedTrailers()/addEncodedTrailers()) or received while it stopped all iteration. Added response trailers skipped a later filter that stopped iteration on the data, which could hold the whole response when that filter waits for the end of the stream, and added request trailers could be decoded twice by the later filters when a filter stopped on headers continued on the data. Trailers are now forwarded exactly once from the filter holding them, once it iterates, and reach every later filter. This change can be reverted by setting the runtime guardenvoy.reloadable_features.filter_manager_forward_held_trailerstofalse.http: The connect_grpc_bridge filter now maps the
canceled,deadline_exceeded,failed_preconditionandunimplementedgRPC statuses to the HTTP status codes defined by the current Connect protocol specification (499,504,400and501respectively, previously408,408,412and404).http: grpc: fixed core retry policy conversion so
retry_back_off.max_intervalis no longer used as the per-try timeout. A dedicated per_try_timeout field can now be configured independently.- http: http: fixed a crash in the cache v2 filter when a late callback from a failed cache insertion affected a subsequent
request for the same entry. Aborted insertions now reset waiting requests, and subsequent requests use a new cache session. Lookups aborted without a response source now increment the cache
upstream_resetevent counter. Upstream resets during cache validation reset waiting lookups while preserving existing cached readers.
http2: Fixed oghttp2 (
envoy.reloadable_features.http2_use_oghttp2) dropping trailers when the body exactly exhausted the peer’s flow-control window before the trailers were encoded, for example a 65535-byte gRPC response to a client using the default initial window. The stream was ended by an empty DATA frame and the client never received the trailers. This behavior can be reverted by setting the runtime guardenvoy.reloadable_features.http2_trailers_after_exhausted_windowto false.http2: Fixed oghttp2 (
envoy.reloadable_features.http2_use_oghttp2) sending outbound DATA frames as large as the peer’sSETTINGS_MAX_FRAME_SIZE, which caused legitimate flow-controlWINDOW_UPDATEtraffic from clients that acknowledge data in small increments to be misclassified as a flood (http2.inbound_window_update_frames_flood) and the connection to be closed. Outbound DATA frame payloads are now capped at 16 KiB, matching nghttp2. This behavior can be reverted by setting the runtime guardenvoy.reloadable_features.http2_oghttp2_cap_data_frame_payloadto false.http3: Fixed an
ENVOY_BUGand premature transition toReadyin upstream HTTP/3 connection pools when a 0-RTT connection exhausted its cached stream limit (enteringBusy) and the server subsequently advertised a higherinitial_max_streams_bididuring the TLS handshake before handshake completion. The connection now transitions back toReadyForEarlyDatauntil the handshake finishes.listener: Fixed a use-after-free during worker shutdown. When a connection handler was destroyed with connections still open, closing those connections could re-enter the handler, e.g. an upstream connection pool reconnecting to an internal listener, and look up the already destroyed internal listener map. This could crash Envoy or make the worker thread spin forever and hang shutdown.
listener: Fixed filter chains from the Filter Chain Discovery Service (FCDS) to warm until the init targets of their transport sockets, such as SDS secrets, are ready. A filter chain that FCDS delivered after startup added them to the initialized server init manager, which failed a debug assertion. Release builds activated the filter chain without waiting, and never fetched an SDS secret that no other TLS context used.
listener: Fixed the listener manager to notify its listener update callbacks of an update that replaces an active listener before the workers start. When destroying the replaced listener finished the server initialization, the workers started first and the update was not reported, so a bootstrap dynamic module with
enable_listener_lifecyclemissed itson_listener_add_or_updatenotification.listener: listener: fixed buffered data being discarded when a listener filter receives combined read and close notifications, such as when a peer half-closes an internal-listener connection before protocol inspection completes.
logging: Fixed fatal signal backtraces re-entering the logger mutex, which could abort or deadlock when the mutex was already held on the crashing thread or inherited locked across a fork. Native and coroutine backtraces now write directly to stderr in fatal signal handlers, preserving fault descriptions and backtrace headers and stack decoder compatibility without using the logging infrastructure. The alternate signal stack is sized using the runtime
_SC_SIGSTKSZminimum with headroom for nested fatal signals.matching: Fixed ServerNameMatcher to convert both the configured domains and the incoming domain to lowercase before comparing them, since domain names are not case-sensitive.
mcp: Fixed handling of MCP
2026-07-28requests whoseparams._meta["io.modelcontextprotocol/protocolVersion"]is missing or is not a string. The MCP filter inREJECT_NO_MCPmode and themcp_json_rest_bridgeHTTP filter now reject them with HTTP400and JSON-RPC error-32602. Previously, the MCP filter accepted missing metadata and rejected non-string metadata as a-32020header mismatch counted inheader_mismatch, and the bridge handled requests with anMCP-Protocol-Version: 2026-07-28header but without valid metadata as legacy requests.mcp: Fixed the MCP filter treating JSON-RPC messages that contain both
methodandresult(orerror) as responses. Such messages are now treated as requests, so inREJECT_NO_MCPmode they can no longer skip the required MCP2026-07-28params._metafields, and theirmethoddynamic metadata is no longer replaced with__jsonrpc_response.mcp: Fixed the MCP filter’s per-route McpOverride resetting listener settings that it does not set. An override which only sets
traffic_modenow keeps the listener’sclear_route_cache,parser_config,request_storage_modeandreject_duplicate_keys, as before1.40.parser_configapplies only when set, andrequest_storage_modeapplies only when notMODE_UNSPECIFIED.mcp: Fixed the
mcpfilter’s streaming JSON field extractor losing track of the current field path after an object with an empty key ({"": {}}). The empty-key object popped its parent’s path segment, so every field that followed it, such asparams.name, was resolved against the wrong path and not extracted. Push and pop of the path stack are now paired for every object regardless of its key.mcp_json_rest_bridge: Fixed MCP header Base64 decoding so values with an incomplete Base64 wrapper are treated as literals, and an empty Base64 payload correctly decodes to an empty string.
mcp_json_rest_bridge: Fixed the
mcp_json_rest_bridgeHTTP filter per-route configuration validation to reject duplicate(host, path)endpoint configurations instead of silently merging tools and ignoring subsequenttool_list_http_ruleortool_list_localsettings.mcp_json_rest_bridge: Fixed the
mcp_json_rest_bridgeHTTP filter so that aPOSTrequest that ends at the headers, such as an HTTP/1 request withContent-Length: 0or an HTTP/2 request whoseHEADERSframe carriesEND_STREAM, is rejected with HTTP400 Bad Requestand a JSON-RPC-32700parse error, as requests with an empty body already were. Previously, such requests hung until the stream idle timeout.mcp_json_rest_bridge: Fixed the
mcp_json_rest_bridgeHTTP filter to reject unsupported JSON-RPC notifications, i.e. messages without anidwhose method starts withnotifications/, as unsupported methods with an HTTP error status, as required by the Streamable HTTP transport. Previously, they got HTTP200 OKwith a JSON-RPC-32600error for the missingid. Rejected legacy notifications now get HTTP400 Bad Request, and MCP2026-07-28notifications keep the existing HTTP404 Not Foundfor unsupported methods. Anotifications/initializedmessage with anidis now validated as a request instead of getting202 Accepted.mcp_json_rest_bridge: Fixed the
mcp_json_rest_bridgeHTTP filter to respond with HTTP404 Not Foundinstead of200 OKwhen a stateless MCP2026-07-28request uses a method that the bridge does not implement, as required by the Streamable HTTP transport. The JSON-RPC error code is unchanged (-32601). This also applies to the legacyinitializeandnotifications/initializedmethods sent as stateless requests. Requests that use MCP2025-11-25or earlier still receive200 OK.mcp_router: Added optional
session_signing_keyto themcp_routerHTTP filter. When set, composite session IDs minted by the filter carry an HMAC-SHA256 of the session blob and a presented session whose MAC does not verify is rejected with a 400 error. Previously the session blob was Base64 encoded only, so theENFORCEsession identity check compared the authenticated request identity against a subject read out of the client-supplied, editable blob, and did not bind the session to the authenticated principal. The ENFORCE integration tests were also fixed: the test helper inserted the subject unencoded, so the parsed subject was always empty and the accept path was never exercised.memory: Fixed jemalloc memory accounting so that reserved memory includes retained pages, matching tcmalloc semantics and preventing underflow in physical memory calculations.
network_ext_proc: Fixed the network external processing filter accepting ProcessingResponse messages carrying data for a direction configured as
SKIPin processing_mode, or setting bothread_dataandwrite_data. Such responses are now ignored and counted underspurious_msgs_received. This change can be temporarily reverted by setting the runtime guardenvoy.reloadable_features.network_ext_proc_enforce_processing_modetofalse.overload_manager: Fixed a use-after-free that could crash a worker thread during Envoy shutdown when a TCP listener is configured with exact_balance and the
envoy.resource_monitors.global_downstream_max_connectionsoverload manager resource monitor is configured. A connection accepted on one worker could be handed off to a different worker via connection balancing while still holding a reference into the originating worker’s thread-local overload state; because worker threads shut down independently with no ordering guarantee relative to one another, the destination worker could destroy the connection after the originating worker had already torn down its own thread-local state, dereferencing freed memory. The connection’s overload state reference is now rebound to the receiving worker’s own thread-local state once the connection has settled on its final worker, so it is always valid for as long as the connection itself is.quic: Fixed a use-after-free in HTTP/3 upstream connections after their cluster was removed. The per-cluster QUIC state (including the clock and alarm factory the connections use) was destroyed with the cluster, while the cluster’s connection pools were only drained, so a connection with active streams read freed memory on its next write or timer and crashed the process. The state now lives as long as any connection pool using it.
quic: Fixed the HTTP/3 upstream connection pool during 0-RTT when the stream limit resumed from cached transport parameters is zero. QUICHE only reports increases, so the pool kept its optimistic capacity until the handshake completed and could attach a stream QUICHE had no stream ID for. This change can be temporarily reverted by setting the runtime guard
envoy.reloadable_features.quic_report_zero_stream_limit_before_handshaketofalse.quic: Fixed the QUIC-LB connection ID generator (
envoy.quic.connection_id_generator.quic_lb) accepting an SDS update that changedencryption_keywithout changingconfiguration_version, while its workers kept using the previous key until Envoy restarted. The new key is now applied, with a warning: connection IDs already issued under the previous key may no longer be routed to this server by a load balancer holding the new one, which changingconfiguration_versionwith the key avoids. A secret update that keeps the key and configuration version is now a no-op.ratelimit: Fixed local cluster rate limit sharing when the shared cost of a request is larger than
max_tokens, for example when the local cluster has more members thanmax_tokens. Before this fix, every such request was rejected. Now, a request that fits in the bucket without sharing passes when the bucket holdsmax_tokenstokens. The request still consumes its full shared cost, so the bucket can go below zero and the next request waits until the bucket refills. The aggregate rate across the local cluster stays at the configured rate, but the aggregate burst can be one request for each member. Requests that cost more thanmax_tokenswithout sharing remain rejected, andmax_tokens: 0continues to reject every request. This behavior can be temporarily reverted by setting runtime guardenvoy.reloadable_features.local_ratelimit_local_cluster_preserve_one_requesttofalse.reverse_tunnel: Fixed the reverse connection cluster picking, for a cluster ID, a node whose sockets are all in use, such as a draining initiator still serving long requests. Such a node cannot take a new connection, so every request routed to it failed with
fallback_no_reverse_socketuntil its last request ended. Round-robin now skips to the next node with an idle socket, and falls back to the old behavior when no node has one.reverse_tunnel: Fixed the reverse tunnel responder spreading a node’s new sockets across workers by the number of sockets each worker had ever accepted for it, a count that never went down. As sockets were used or closed, a worker could be left with no idle socket for a node while others held several, and requests on that worker failed with
fallback_no_reverse_socket. New sockets now go to the worker holding the fewest idle sockets for the node, among the workers of the same upstream socket interface extension.reverse_tunnel: reverse_tunnel: added listener draining behavior behind the runtime guard
envoy.reloadable_features.reverse_tunnel_listener_drain, which defaults to false. When enabled, initiators stop pending handshakes and replacement dials when the whole listener begins draining, independently ofenable_drain_with_goaway. With that option enabled, admin drains close unused tunnels, while in-place filter-chain updates request replacements and preserve HCM’s existing idle drain grace. Full listener replacement and hot restart also retain unused tunnels’ existing drain grace. With the guard enabled andenvoy.reloadable_features.use_connection_event_drain=false, the drain-aware HCM’s drain decision follows the listener direction, so anINBOUNDlistener participates indrain_listeners?inboundonly. The default connection-event mode already respects that scope. When the responder also enablesReverseTunnelUpstreamCodecOptions.enable_drain_with_goaway, node selection excludes initiators whose remaining tunnels have received GOAWAY or sent the final GOAWAY during/reverse_tunnel/drain_clusters. Existing streams continue on those tunnels. Requests with no eligible initiator fail with HTTP 503 and response flagUH(no healthy upstream), instead of the previous fallback connection failure withUF. This local response does not triggerconnect-failureretries that could retry the previous connection failure. These requests incrementcluster.<name>.upstream_rq_all_tunnels_draininginstead offallback_no_reverse_socket. Drain METADATA received from an initiator still only notifies the reporter. Regardless of the guard, listener teardown cleans up pending and queued tunnel gauges, emitsconnection_closedaccess logs for queued tunnels, and logs the stop at info level.router: Fixed
cluster_headerroutes to re-evaluate the target cluster from the configured request header whenrefreshRouteCluster()is called (for example, whenrefresh_cluster_on_retryis enabled).router: Fixed a bug in Scoped RDS (SRDS) where a single invalid scope in an update batch aborted processing of the remaining scopes in the push and left already-processed scopes in the main-thread map without propagating them to worker threads. When enabled, valid scopes in a partially rejected push are applied to worker threads while failed scopes are skipped and NACKed. Guarded by runtime guard
envoy.reloadable_features.srds_partial_acceptance(disabled by default).router: Fixed a crash in
Filter::addDownstreamSetCookie()when the router is invoked without a downstream connection (e.g.Http::AsyncClient-driven paths such asext_authzor ratelimit side calls, mirror/shadow, and health checks) and a cookie hash policy is configured. Previously the function would unconditionally dereferencedownstreamConnection()to compose the per-connection seed for the generated cookie value. When the connection pointer was null the worker would crash. The function now skips the connection-derived seed and returns an empty cookie value in that path, preserving hash-stability for those async invocations.router: Fixed a leaked upstream stream and a use-after-free crash when an upstream HTTP filter sent the response itself through
encodeHeaders()/encodeData()after the connection pool had attached a connection. The codec stream stayed open and kept its connection, and a later close of that connection called into the destroyed upstream request. The upstream codec filter now resets an unfinished codec stream when the upstream filter chain is destroyed.router: Fixed the stats prefix that the router passes to its upstream HTTP filters to keep its trailing dot (
http.<stat_prefix>.). Upstream HTTP filters that appended their own name to it directly, such as the Lua, compressor and admission control filters, emitted stats under names likehttp.<stat_prefix>lua.*instead ofhttp.<stat_prefix>.lua.*.server: Fixed a crash on shutdown when hot restart is enabled and a QUIC listener uses the QUIC-LB connection ID generator with SDS encryption parameters.
server: Fixed a deadlock between the two main threads of a hot restart: the parent forwarded UDP/QUIC packets to the child with a blocking send from its main thread, while the child’s main thread waited for the parent’s replies (stats merge, listen socket hand-off) with a blocking receive and read no forwarded packets meanwhile, so once the child’s forwarding socket filled up both processes stopped handling admin, xDS, timers and signals for good. The parent now forwards through a bounded non-blocking queue, the child keeps servicing forwarded packets while it waits and gives up on a parent that stops answering, and the hot restart sockets carry send/receive timeouts. New
server.hot_restart_udp_forwarding_datagrams,server.hot_restart_udp_forwarding_retriesandserver.hot_restart_udp_forwarding_droppedstatistics report that path.server: Fixed a heap buffer overflow in the hot restart IPC receive path: a datagram whose length prefix is within 8 bytes of
UINT64_MAXwrapped the receive buffer size computation to a near-zero value, causing the nextrecvmsg()to overflow the buffer. Oversized datagrams are now dropped and the stream state reset, so both blocking and non-blocking receives continue with the next datagram.server: Fixed the
server.seconds_until_first_ocsp_response_expiringstatistic, which kept reporting the expiration of the last OCSP response once no TLS context had an OCSP response, for example after a certificate with an OCSP staple was replaced by one without a staple or its listener was removed. It now drops to 0, its value before the first OCSP response.sockets: Fixed a listener with a
network_namespace_filepathleaving the main thread in that network namespace when setting up its socket failed, for example because the address was already in use. The main thread then kept creating its sockets in that namespace, such as those of other listeners and of xDS and health check connections. Worker threads started afterwards inherited it as well.sockets: Fixed internal listener connections retaining response buffers when a blocked write flush outlived its peer. Closing a user-space socket now wakes its peer’s pending write so the connection can finish closing.
sockets: sockets: fixed shutdown hangs in the opt-in experimental
io_uringsocket interface when a peer stops reading or a partial write races with cancellation, and premature socket close while cancellation completions remain outstanding. The write timeout must be greater than zero when configured.stat_sinks: Fixed the OpenTelemetry stats sink reporting the metrics of a ConversionAction without a
metric_namewith an empty name, which is not a valid OTLP metric name. Such metrics are now named as if their stats matched no conversion.stats: CDS, RDS, and LDS updates that re-declare existing counters, gauges, histograms, and text readouts use less CPU, especially with custom
stats_tags. Stat names and tags are unchanged. Skipping repeated tag extraction also makesserver.stats_recent_lookupsgrow more slowly. Workers also use less CPU the first time they record each histogram.tcp_proxy: Fixed tcp_proxy in
upstream_connect_mode: ON_DOWNSTREAM_DATAleaving a downstream connection open untilidle_timeoutwhen the client half-closed without sending any data. Envoy now closes such a connection at once and recordstcp_proxy_downstream_closed_without_dataas its downstream local close reason, shown by%DOWNSTREAM_LOCAL_CLOSE_REASON%, and counts it indownstream_cx_closed_without_data. These connections no longer reachidle_timeout. Other connect modes are unchanged.tcp_proxy: Fixed user-space sockets (internal listeners) resetting connections when the peer closes gracefully. A full peer
close()now reads as a clean EOF, so all pending data is delivered withend_streamand the half-close enabled connection then closes with a normalRemoteCloseinstead of a synthesizedECONNRESET. This fixes spurious downstream resets when an internal listener closes before the client half-closes, including TCP proxy tunneling, TLS over internal listeners, and HCM-terminatedCONNECT, while still closing orphaned half-closed peers promptly. This behavior is guarded byenvoy.reloadable_features.enable_send_rst_on_user_space_socket. In addition, a terminatedCONNECTstream whose TCP upstream deliversend_streamand then closes normally is now reset withNO_ERRORinstead of an error and no longer records theUCresponse flag. This behavior can be reverted by settingenvoy.reloadable_features.tcp_upstream_no_error_reset_after_end_streamtofalse.tls: Fixed TLS session resumption across server certificates or filter chains whose names differ but concatenate to the same bytes, for example the DNS SANs
a.exampleandb.exampleversusa.exampleb.example. The session context ID that scopes resumption to a TLS context hashed the common name and subject alternative names of each certificate, and each server name, without their types or lengths. It now hashes the type and length of every field, which changes every session context ID once, so a session established before the upgrade, or by an Envoy instance without this change that shares the session ticket keys, takes a full handshake. This change can be temporarily reverted by setting the runtime guardenvoy.reloadable_features.unambiguous_tls_session_context_idtofalse.tls: Fixed a bug in the TLS inspector’s
JA4fingerprint implementation where GREASE values in thesignature_algorithmsextension were included in theJA4_chash input, contrary to the JA4 specification. GREASE values insignature_algorithmsare now excluded, matching the treatment already applied to cipher suites, extension type IDs, and supported versions. This behavior can be temporarily reverted by setting the runtime guardenvoy.reloadable_features.ja4_filter_grease_signature_algorithmstofalse.tls: Fixed a crash when a custom TLS certificate selector switched a handshake from a TLS context with session ticket keys to one without them, for example a context that the selector built before the keys arrived over SDS. Such a handshake now completes without a session ticket. The selectors that shipped with earlier Envoy releases were not affected, since they only switched to separately built TLS contexts when session resumption was disabled.
tls: Fixed a crash when an upstream TLS context with a custom certificate selector had an invalid
common_tls_context, for example an invalidkey_logaddress range or an unknown static secret. Envoy created the selector from the partly created configuration, so a selector that built TLS contexts while it was created, such as theenvoy.tls.certificate_selectors.on_demand_secretselector prefetching a secret that was already available, read settings that were never set. Envoy now rejects the configuration before it creates the selector.tls: Fixed certificate selection when a listener has both RSA and ECDSA certificates and allows TLS 1.3. A TLS 1.2 client that sent the
supported_versionsextension without TLS 1.3 was treated as a TLS 1.3 client, so it was offered the ECDSA certificate based onsignature_algorithmsalone even when it offered no ECDSA cipher suite, and the handshake failed. Envoy now only usessignature_algorithmsalone whensupported_versionslists TLS 1.3, and otherwise also requires an ECDSA cipher suite. This affects, for example, Java clients restricted to TLS 1.2 RSA cipher suites. This behavioral change can be reverted by setting the runtime guardenvoy.reloadable_features.tls_ecdsa_selection_check_supported_versionstofalse.tracing: Changed the log level from
errortodebugfor the message the Datadog tracer logs when it cannot extract the trace context of a request. Downstream clients control the trace context headers, so logging it aterrorlevel could cause excessive logging. These errors are now counted in the newtracing.datadog.extraction_errorscounter.tracing: Fixed the Datadog tracer returning the span ID as the trace ID, for example in the
%TRACE_ID%access log formatter. For a trace continued from an incoming request, the value was the ID of Envoy’s span rather than of the trace, and for a trace started by Envoy, it was only the low 64 bits of the trace ID. The trace ID is now the full 128-bit ID as 32 zero-padded hex characters, and%SPAN_ID%, which was always empty with the Datadog tracer, is now the span ID as 16 zero-padded hex characters. This is the same format as the W3Ctraceparentheader.udp: Fixed UDP listeners enabling the
UDP_GROsocket option when prefer_gro is false or unset. Coalesced datagrams could previously be forwarded as a single datagram or dropped as truncated.udp: Fixed UDP replies to IPv4 clients through IPv6 dual-stack listeners on macOS, including HTTP/3 listeners using the default UDP packet writer.
udp: Fixed a hot restart child reading packets from an inherited UDP socket while its listener was still paused. The QUIC listener injects a read event on its listener to process the handshakes it buffered from packets the parent forwarded, and the listener then read the socket the parent was still serving, so the packets of the parent’s connections were dequeued by the child and answered with stateless resets until the clients had reconnected. A paused listener now runs its read-ready callback on such an event without reading the socket.
upstream: Fixed HDS to send the current local node, including dynamic context parameters set after startup, each time it (re)connects to the management server.
upstream: Fixed a crash (SIGSEGV) in load stats reporting and health discovery responses when EDS removed the last host from a locality after active health checking failed. Both reporting paths now skip empty locality groups.
zstd: Added
max_inflate_ratioandmax_block_sizeto the zstd decompressor. Setting the block allowance to the sender’s maximum uncompressed block size allows a small input chunk to complete a buffered block. Each call still forwards the output step that crosses its threshold before returning.zstd: Fixed the zstd compressor holding back data that the compressor filter asked it to flush. Data in a streaming response, such as each message of a gRPC server stream, was not sent until enough of it accumulated to fill a zstd block or the stream ended. The zstd compressor now flushes on every data frame, as the gzip and brotli compressors do. This change can be temporarily reverted by setting the runtime guard
envoy.reloadable_features.zstd_compressor_flushtofalse.
Removed config or runtime
Normally occurs at the end of the deprecation period
config: Removed runtime flag
envoy.reloadable_features.xds_legacy_delta_skip_subsequent_nodeand legacy code paths.decompression: Removed runtime flag
envoy.reloadable_features.enable_compression_bomb_protectionand legacy code paths.dynamic_forward_proxy: Removed runtime flag
envoy.reloadable_features.dfp_cluster_resolves_hostsand legacy code paths.dynamic_forward_proxy: Removed runtime flag
envoy.reloadable_features.skip_dns_lookup_for_proxied_requestsand legacy code paths.header_mutation: Removed runtime flag
envoy.reloadable_features.header_mutation_url_encode_query_paramsand legacy code paths.health_check: Removed runtime flag
envoy.reloadable_features.health_check_after_cluster_warmingand legacy code paths.http: Removed runtime flag
envoy.reloadable_features.codec_client_enable_idle_timer_only_when_connectedand legacy code paths.http: Removed runtime flag
envoy.reloadable_features.http1_close_connection_on_zombie_stream_completeand legacy code paths.http: Removed runtime flag
envoy.reloadable_features.allow_multiplexed_upstream_half_closeand its code paths. HTTP/2 and HTTP/3 upstreams can no longer half close the stream before the downstream: the stream is reset when the response completes before the request, as it is for HTTP/1 upstreams. Independent half close is kept for TCP upstreams, seeenvoy.reloadable_features.tcp_tunnel_allow_upstream_half_close.listener: Removed runtime flag
envoy.reloadable_features.strict_stats_matcher_unpackedand legacy code paths.mcp: Removed the runtime guard
envoy.reloadable_features.mcp_filter_use_new_metadata_namespaceand the legacy code path it guarded. The MCP filter always publishes its dynamic metadata under theenvoy.filters.http.mcpnamespace (and the MCP router reads it from there); the legacymcp_proxynamespace is no longer available.on_demand: Removed runtime flag
envoy.reloadable_features.on_demand_cluster_no_recreate_streamand legacy code paths.proxy_protocol: Removed runtime flag
envoy.reloadable_features.proxy_protocol_allow_duplicate_tlvsand legacy code paths.rbac: Removed runtime flag
envoy.reloadable_features.rbac_match_headers_individuallyand legacy code paths.tcp_proxy: Removed runtime guard
envoy.reloadable_features.propagate_upstream_rst_through_tunneled_tcp_proxyand the legacy code path. Upstream TCP resets are now always propagated to the downstream connection.tcp_proxy: Removed runtime guard
envoy.reloadable_features.map_http_stream_reset_to_tcp_rstand the legacy code path. Remote HTTP stream resets before response completion are now always mapped to TCP resets for HTTP-tunneled TCP connections.
New features
access_log: Added the
%DOWNSTREAM_PEER_CERT_CHAIN%substitution formatter which returns the full downstream peer certificate chain in URL-encoded PEM format.admin: Added the runtime guard
envoy.reloadable_features.admin_filter_yield_between_chunks, defaultfalse. When set totrue, the admin server returns to the event loop between the chunks of a large response, such as/stats, so a big response no longer blocks other work on the main thread, like health checks.ai_protocol_manager: Added external_buffer_config to the AI Protocol Manager filter (alpha), making the store that offloaded payloads are written to a pluggable
envoy.ai_protocol_manager.external_bufferextension. When unset, envoy.ai_protocol_manager.external_buffer.in_memory is used; it holds the payload in memory and does not bound its size.bootstrap: Added runtime_stats_eviction_interval to read the stats eviction interval from a runtime key, allowing it to be changed without restarting Envoy.
config: YAML configuration now honors the explicit
!!floattag: a scalar such as!!float 5000.0is loaded as a JSON number instead of a string, so it stays a number inside agoogle.protobuf.Struct(e.g. atyped_configpacked as aStruct). Untagged float literals are unchanged and still load as strings. Non-finite values are loaded as the stringsInfinity,-InfinityandNaN. A!!floatscalar that cannot be decoded as a double now fails configuration loading. See special YAML usage.contrib: Added experimental Istio HBONE CONNECT wait extensions that defer internal connection readiness and application I/O until HTTP/2 CONNECT acceptance. Transient establishment failures retain connection-failure retries; permanent CONNECT rejections terminate HTTP or TCP requests without retry or outlier failure reporting. CONNECT 401 is exposed as an HTTP 403 with the
UFresponse flag, retaining the original CONNECT status in failure diagnostics. Single and double HBONE origination are supported, including wrapped TLS and Istio’s baggage peer-metadata exchange.decompression: Extended the decompressor filter to support usage as an upstream HTTP filter.
dynamic_forward_proxy: Added skip_draining_on_resolution to the dynamic forward proxy cluster. It defaults to
true, which keeps the existing behavior of updating a host’s address in place when DNS resolution changes it. When set tofalse, the host is replaced by a new host and the old host is published as removed, so connection pools to addresses that are no longer resolved are drained.dynamic_modules: Added built_route_cache to the dynamic modules route specifier, a per worker cache of the routes a module builds from route templates. A module looks a route up by key with
lookup_built_route, also in the Rust SDK, after selecting a template, so a route that is a function of a small key is built once per worker rather than once per request. Templates whose cluster is resolved per request are not cached, and a sampled share of hits set by verify_one_in is verified against what the module records. Withconfig_has_built_route_cache,has_built_route_cachein the Rust SDK, a module whose routes rely on the cache can reject a configuration without one.dynamic_modules: Added Go SDK bindings for cluster lifecycle, asynchronous initialization, main-thread scheduling and per-worker events. Register a cluster with
sdk.RegisterClusterConfigFactories. Go clusters cannot add hosts yet.dynamic_modules: Added Go SDK support for bootstrap extension lifecycle hooks, asynchronous initialization, main-thread scheduling and shutdown completion.
dynamic_modules: Added HTTP filter callbacks that read nested metadata through a path of literal struct keys and list indices.
envoy_dynamic_module_callback_http_get_metadata_nested_string,envoy_dynamic_module_callback_http_get_metadata_nested_number,envoy_dynamic_module_callback_http_get_metadata_nested_boolandenvoy_dynamic_module_callback_http_get_metadata_nested_list_sizereturn a string, a number, a bool or a list size, and a dot in a key is part of the key. The Rust SDK exposes them asget_metadata_nested_string,get_metadata_nested_number,get_metadata_nested_boolandget_metadata_nested_list_sizeonEnvoyHttpFilter. Build paths from keys and indices withmetadata_path!["claims", "roles", 0].dynamic_modules: Added HTTP filter dynamic module callback
envoy_dynamic_module_callback_http_drain_connection_upon_completionand corresponding C++, Go, and Rust SDK methods to initiate graceful draining of the downstream connection when the current HTTP stream completes.dynamic_modules: Added
access_logandaccess_log_optionsto the dynamic module network filter. The filter flushes the access logs when the connection closes, and also on a new connection or at an interval if set inaccess_log_options. It records when the connection ends and gives the connection a stream ID if it has none. Access logs are not supported on QUIC listeners. A module can also flush them withflush_access_log. A terminal module that reaches its upstream itself can report the upstream, the timing, the bytes and the outcome of the connection withset_upstream_host,set_upstream_cluster,set_upstream_local_address,set_upstream_transport_failure_reason,set_upstream_local_close_reason,set_upstream_detected_close_type,set_upstream_request_attempt_count,record_upstream_timing,add_upstream_wire_bytes,add_downstream_wire_bytes,set_response_flagandadd_custom_flag, so that access logs show them as they do for the TCP proxy. The Rust SDK exposes all of these callbacks as methods ofEnvoyNetworkFilterwith the same names.dynamic_modules: Added
envoy_dynamic_module_callback_bootstrap_extension_run_on_all_workersto the dynamic module bootstrap extension. It runs a module hook on every worker thread and then a done hook on the main thread. See Running Code on Workers. The documentation ofenvoy_dynamic_module_on_bootstrap_extension_worker_thread_initializednow says that it runs once on the main thread, so per-worker setup belongs in this new callback.dynamic_modules: Added
envoy_dynamic_module_callback_bootstrap_extension_set_xds_notificationsandenvoy_dynamic_module_on_bootstrap_extension_xds_update, with Rust SDKset_xds_notificationsandon_xds_update, for bootstrap xDS outcome notifications, including rejection error details.dynamic_modules: Added
envoy_dynamic_module_callback_bootstrap_extension_subscribe_ecdsandenvoy_dynamic_module_on_bootstrap_extension_ecds_update, with Rust SDKsubscribe_ecdsandon_ecds_update, for bootstrap extension configuration over ECDS. Conflicting filter ECDS subscriptions on ADS are refused.dynamic_modules: Added
envoy_dynamic_module_callback_cluster_config_use_persistent_host_partitionsso a cluster module can opt its cluster into use_persistent_host_partitions duringenvoy_dynamic_module_on_cluster_config_new, without the field in the cluster’s configuration.dynamic_modules: Added
envoy_dynamic_module_callback_stat_sink_snapshot_retainandenvoy_dynamic_module_callback_stat_sink_snapshot_releaseto the dynamic modules stats sink ABI. A module can keep a flush snapshot readable after the flush hook returns and read it on another thread, so formatting the stats no longer has to run on the main thread. A retained snapshot holds a reference on each stat and reports the values copied when it was retained. The Rust SDK exposes this asMetricSnapshot::retain, which returns aSendRetainedMetricSnapshotthat releases the snapshot when it is dropped.dynamic_modules: Added
set_dynamic_metadata_structandset_dynamic_typed_metadatato dynamic module network filters, listener filters and cluster load balancers. A module can merge a serializedgoogle.protobuf.Structinto a dynamic metadata namespace or set the typed metadata of a namespace from a serializedgoogle.protobuf.Any. Unlike the HTTP filter callbacks of the same names, they return whether the call succeeded, and the struct setter does not create the namespace for an empty struct. The typed setter also replaces an existing entry instead of merging into it and rejects anAnywithout a type URL. The Rust SDK exposes them onEnvoyNetworkFilter,EnvoyListenerFilterandClusterLbContext. The C++ SDK exposes them assetMetadataStructandsetTypedMetadataonNetworkFilterHandleand assetDynamicMetadataStructandsetDynamicTypedMetadataonListenerFilterHandle. The Go SDK exposes them asSetMetadataStructandSetTypedMetadataonNetworkFilterHandleand asSetDynamicMetadataStructandSetDynamicTypedMetadataonListenerFilterHandle.dynamic_modules: Added
set_prefix_rewrite_ruleto the dynamic modules route specifier and its Rust SDK. It records a prefix rewrite that Envoy applies to the path the request carries when the request headers are finalized, the way a configured route applies its prefix_rewrite, so the route it produces is not specific to the request it was built for. Requests for which neither the rule nor the regex rewrite after it yields a path at that point are counted inrewrite_not_applied.dynamic_modules: Added
set_virtual_clusterto the dynamic modules route specifier and its Rust SDK. It selects the virtual cluster of a request from the names that virtual_cluster_override declares, and the selected virtual cluster uses the statistics of the virtual cluster of the same name on the virtual host.prefer_selectionchooses whether the router counts the request in the selection or in the virtual cluster the virtual host matches, and the comparisons of the two are counted invirtual_cluster_agreeandvirtual_cluster_disagree.dynamic_modules: Added a cluster writer to the dynamic module bootstrap extension. Once a module calls
envoy_dynamic_module_callback_bootstrap_extension_enable_cluster_writer, it can add, update and remove clusters, and it learns when each write becomes active. See Cluster Writer.dynamic_modules: Added a dynamic modules resource monitor extension (
envoy.resource_monitors.dynamic_modules) that lets a dynamic module report the pressure of an overload manager resource at each refresh, or later from any thread through a scheduler. The module creates the scheduler withenvoy_dynamic_module_callback_resource_monitor_config_scheduler_new, reports through it withenvoy_dynamic_module_callback_resource_monitor_config_scheduler_report_resource_usageandenvoy_dynamic_module_callback_resource_monitor_config_scheduler_report_failure, and deletes it withenvoy_dynamic_module_callback_resource_monitor_config_scheduler_delete. The Rust SDK exposes this through theresource_monitor:arm ofdeclare_all_init_functions!,ResourceMonitor::update_resource_usage,EnvoyResourceMonitorConfig::new_config_scheduler, and thereport_resource_usageandreport_failuremethods ofEnvoyResourceMonitorConfigScheduler. A module can also enable synchronous feedback withenvoy_dynamic_module_callback_resource_monitor_config_enable_synchronous_feedback, so that the load shed points with a trigger on the resource ask it for the pressure each time they decide whether to shed load, and tell it about the load they accept. The Rust SDK exposes this through thesynchronous_feedback_resource_monitor:arm ofdeclare_all_init_functions!,SynchronousFeedbackResourceMonitor::resource_usageandSynchronousFeedbackResourceMonitor::on_load_accepted.dynamic_modules: Added a filter chain config writer to the dynamic module bootstrap extension. It writes the filter chains that the listeners with
fcds_configfind by name. Once a module callsenvoy_dynamic_module_callback_bootstrap_extension_enable_filter_chain_config_writer, it can add, update and remove filter chains withenvoy_dynamic_module_callback_bootstrap_extension_filter_chain_config_writer_add_or_updateandenvoy_dynamic_module_callback_bootstrap_extension_filter_chain_config_writer_remove, andenvoy_dynamic_module_on_bootstrap_extension_filter_chain_config_writer_update_donereports when each write becomes active or why it failed. The Rust SDK exposes these asenable_filter_chain_config_writer,filter_chain_config_writer_add_or_updateandfilter_chain_config_writer_removeofEnvoyBootstrapExtensionConfigandon_filter_chain_config_writer_update_doneofBootstrapExtensionConfig. See Filter Chain Config Writer.dynamic_modules: Added a listener writer to the dynamic module bootstrap extension. Once a module calls
envoy_dynamic_module_callback_bootstrap_extension_enable_listener_writer, it can add, update and remove listeners withenvoy_dynamic_module_callback_bootstrap_extension_listener_writer_add_or_updateandenvoy_dynamic_module_callback_bootstrap_extension_listener_writer_remove, andenvoy_dynamic_module_on_bootstrap_extension_listener_writer_update_donereports when each write becomes active or why it failed. The Rust SDK exposes these asenable_listener_writer,listener_writer_add_or_updateandlistener_writer_removeofEnvoyBootstrapExtensionConfigandon_listener_writer_update_doneofBootstrapExtensionConfig. See Listener Writer.dynamic_modules: Added configuration snapshots for bootstrap dynamic modules, with provider selection, resource name filtering and sensitive-field redaction, through
envoy_dynamic_module_callback_bootstrap_extension_config_snapshot_new,envoy_dynamic_module_callback_bootstrap_extension_config_snapshot_serializeandenvoy_dynamic_module_callback_bootstrap_extension_config_snapshot_delete. The Rust SDK exposesEnvoyBootstrapExtensionConfig::get_config_snapshotandEnvoyBootstrapExtensionConfigSnapshot::into_json; dropping the snapshot releases it. See configuration snapshots.dynamic_modules: Added helpers to the dynamic module SDKs that check a header name or value before a module passes it to Envoy:
is_valid_header_nameandis_valid_header_valuein the Rust SDK,IsValidHeaderNameandIsValidHeaderValuein the Go SDK, andUtility::isValidHeaderNameandUtility::isValidHeaderValuein the C++ SDK. Envoy does not check the header names and values that modules pass unless a callback’s documentation says it does, so a module that builds a header from request data should check it first. The ABI header now documents this.dynamic_modules: Added memory tracking to the dynamic modules Rust SDK. A module that declares
TrackingAllocatoras its global allocator counts the memory that it allocates through that allocator, whichTrackingAllocator::allocated_bytesreturns.MemoryResourceMonitorreports this memory as the pressure of a dynamic modules resource monitor (envoy.resource_monitors.dynamic_modules), so that the overload manager can act when the module exceeds its budget. On Linux, a module that uses the allocator stays loaded, so a new build of the module needs a new path. The allocator can also refuse the allocations beyond a limit thatTrackingAllocator::set_limitsets andTrackingAllocator::remove_limitremoves. A refused allocation aborts Envoy unless the module makes it with a fallible API such asVec::try_reserve.dynamic_modules: Added runtime update notifications to the dynamic module bootstrap extension. From
envoy_dynamic_module_on_bootstrap_extension_server_initialized, an extension watches a runtime key by passing it toenvoy_dynamic_module_callback_bootstrap_extension_enable_runtime_update, and Envoy then callsenvoy_dynamic_module_on_bootstrap_extension_runtime_bool_update,envoy_dynamic_module_on_bootstrap_extension_runtime_int_updateorenvoy_dynamic_module_on_bootstrap_extension_runtime_number_updateon the extension, depending on the type of the value, whenever an RTDS update, a disk layer update or the admin/runtime_modifyendpoint changes it, including for runtime feature flags. The Rust SDK exposes these asenable_runtime_updateofEnvoyBootstrapExtensionandon_runtime_updateofBootstrapExtension, which receives an optionalRuntimeValue. See Runtime Updates.dynamic_modules: Added string values to the runtime update notifications of the dynamic module bootstrap extension. A watched runtime key whose value is a non-empty string that is neither a number nor a boolean is now reported through the new
envoy_dynamic_module_on_bootstrap_extension_runtime_string_updatehook, instead of counting as unset, and the newenvoy_dynamic_module_callback_get_runtime_stringcallback reads a runtime value as its text. The Rust SDK addsRuntimeValue::Stringandget_runtime_string. See Runtime Updates.dynamic_modules: Added support for checking overload manager load shed points from dynamic module HTTP, network, listener and UDP listener filters. A filter gets a load shed point by name from its configuration with
envoy_dynamic_module_callback_http_filter_config_get_load_shed_point,envoy_dynamic_module_callback_network_filter_config_get_load_shed_point,envoy_dynamic_module_callback_listener_filter_config_get_load_shed_pointorenvoy_dynamic_module_callback_udp_listener_filter_config_get_load_shed_point, and checks it withenvoy_dynamic_module_callback_load_shed_point_should_shed_load. The Rust SDK exposes this throughget_load_shed_pointon the filter configurations andEnvoyLoadShedPoint::should_shed_load, the Go SDK throughGetLoadShedPointandLoadShedPoint.ShouldShedLoad, and the C++ SDK throughgetLoadShedPointon the HTTP, network and listener filter configurations andLoadShedPoint::shouldShedLoad. A filter on a listener that bypasses the overload manager gets no load shed point, unless the route configuration or the Filter Chain Discovery Service (FCDS) created it, and an upstream HTTP filter gets none.dynamic_modules: Added support for implementing a custom TLS certificate selector as a dynamic module through the dynamic module TLS certificate selector extension. For each handshake the module selects one of the configured certificates or lets Envoy select one. With allow_dynamic_certificates set, the module can also select certificates that it provides at runtime, and a handshake can wait for one that is not provided yet. Modules can schedule work on the main thread and record metrics. This works for both downstream and upstream TLS contexts. The dynamic certificates that are served are listed by the
/certsadmin endpoint and count in theserver.days_until_first_cert_expiringandserver.seconds_until_first_ocsp_response_expiringstatistics, and the selector emits statistics about them. The listeners and clusters that use the selector warm until the module callsenvoy_dynamic_module_callback_tls_certificate_selector_config_signal_init_complete, which the Rust SDK exposes asEnvoyTlsCertificateSelectorConfig::signal_init_complete. The handshakes that wait for a dynamic certificate fail when the module does not answer its request within dynamic_certificate_request_timeout, which defaults to 15 seconds.dynamic_modules: Added the
endpointprovider for bootstrap configuration snapshots to collect endpoint assignments for active clusters. The Rust SDK exposes it asConfigSnapshotProvider::Endpoints. See configuration snapshots.dynamic_modules: Added the
envoy_dynamic_module_callback_health_checker_set_health_metadatacallback to the dynamic module health checker. A module can attach string key/value pairs to each health check result, and HDS forwards them to the management server in health_metadata. The pairs are replaced on every check. Thehttp_status_codekey is reserved and rejected.dynamic_modules: Added the filter config handle to
HttpFilterConfig::on_scheduledin the Rust SDK, so that a module can emit the metrics defined on its config from an event scheduled to the main thread, with no stream involved.dynamic_modules: Added the optional
on_route_specifier_user_data_discardhook to the dynamic modules route specifier,on_user_data_discardin the Rust SDK. Envoy calls it with the user data a module recorded when the decision builds no route to carry it, such as a failed decision, a decision other thanUnspecifiedor aHitfromlookup_built_route, so that a module can release what it leased for the route. Theuser_data_discardstatistic counts the values handed back.dynamic_modules: dynamic modules: added use_persistent_host_partitions to the dynamic modules cluster. When set, adding, removing, or changing the health of hosts updates only those hosts instead of rebuilding the host set, and workers adopt the result as a snapshot. It requires
lb_policy: CLUSTER_PROVIDED.dynamic_modules: dynamic modules: added
SetFilterStateObjectandGetFilterStateObjectto the Go SDK HTTP filter handle. A Go module can now store a Go value in filter state and read it back from any of its filters on the same stream, without serializing it. A value that implementsFilterStateObjectDestroyeris notified when Envoy destroys the entry.dynamic_modules: dynamic modules: added
envoy_dynamic_module_callback_cluster_lb_get_member_update_health_changed_host_countandenvoy_dynamic_module_callback_cluster_lb_get_member_update_health_changed_host, which report the hosts whose health changed since the previous update a worker applied, so a cluster load balancer can patch its healthy set instead of rereading every host. The host count getters now read the counts without building the host vectors.ext_authz: Added check_on_new_connection to the network external authorization filter to support authorization and dynamic cluster selection before upstream connection establishment for server-first protocols.
ext_authz: Added read_raw_header_value to the HTTP
ext_authzfilter. When set totrue, the gRPCext_authzclient reads header values from HeaderValue.raw_value when non-empty, falling back to HeaderValue.value whenraw_valueis empty, allowing gRPC authorization servers to return non-UTF-8 header values. Also updated shadow mode so ShadowDecision.response_headers populatesraw_valueinstead ofvaluewhen a denied response header value contains non-UTF-8 bytes.ext_proc: Added max_streamed_body_chunk_size and per-route max_streamed_body_chunk_size to limit the body payload size of individual
ProcessingRequestmessages sent inSTREAMEDandFULL_DUPLEX_STREAMEDbody processing modes.fault: Added dry_run to the HTTP fault injection filter to support dry-run abort evaluation. When enabled, requests matching an abort fault increment the
aborts_dry_runcounter and mergedry_run_abort(containing the would-behttp_statusorgrpc_status) into the fault filter’s dynamic metadata namespace without aborting the request or writing filter_metadata, while any configured delay or response rate limit is still injected.formatter: Added the
%ENVOY_VERSION%substitution formatter which returns the version string of the Envoy binary.geoip: Added support for additional MaxMind database fields in the common geolocation provider configuration: city_geoname_id, latitude, longitude, time_zone, postal_code, region_name, region_geoname_id, subregion_geoname_id, country_geoname_id, continent_geoname_id, metro_code and country_name.
http: Added per_stream_buffer_limit_bytes to the Envoy gRPC client, matching the Google gRPC field of the same name. It sets the buffer limit of each stream, which bounds both the request data buffered for retries and the data buffered before the upstream is ready, above which the stream reports that it is above its write buffer high watermark. Without it, the 64 KiB default applies, so a request or stream that sends more than 64 KiB before the response headers is no longer retried, for example a gRPC access log stream configured with
grpc_stream_retry_policy.http: Added downstream watermark callbacks support to the HTTP async client to enable downstream flow control backpressure on sidestream requests. This behavior is disabled by default and can be enabled by setting the runtime guard
envoy.reloadable_features.async_client_downstream_flow_control2totrue.http: Added support for configuring formatter extensions used in early request header mutation values. This allows formatter-specific options such as CEL string functions to be enabled.
http: Added the
rq_content_length_too_largeandrq_body_too_largecounters to the body size limit filter, in thehttp.<stat_prefix>.body_size_limit.namespace.http2: Added the
metadata_droppedHTTP/2 codec stat. It counts outbound metadata that is dropped becauseallow_metadataisn’t enabled on the connection.jwt_authn: Added allowed_algorithms to restrict the signing algorithms a provider accepts. A JWT whose
algis not listed is rejected before any key is tried.local_ratelimit: Added HTTP local rate limit completion accounting for embedded
rate_limitswith apply_on_stream_done, in both the filter-level and per-route configuration. These actions update matching descriptor token buckets when the stream completes and remain skipped on the request path. The default local token bucket continues to apply only on the request path. Route and virtual-host rate limit entries are unchanged and continue to apply on the request path.matching: Added the URI template input matcher, which matches a path against a URI template with the same semantics as route path_match_policy.
mcp_json_rest_bridge: Added support for configurable cache metadata (
ttlMsandcacheScope) in locally-generated statelesstools/listresponses via cache_config.mcp_json_rest_bridge: Added validation of
Mcp-Param-{name}request headers for MCP2026-07-28tools/call requests, configured per tool with the new mcp_param_headers field. Each mapping names the header, the literal property path of the argument, and itsSTRING,INTEGERorBOOLEANtype. A missing, unexpected, malformed, or mismatched header is rejected with aHeaderMismatcherror.mcp_json_rest_bridge: Added validation that stateless MCP
2026-07-28requests includeparams._meta["io.modelcontextprotocol/clientCapabilities"]as a JSON object. Requests where the field is missing or is not an object are rejected with a400Invalid params(-32602) JSON-RPC error. Individual capability contents are not validated.on_demand: Added stats under
http.<stat_prefix>.on_demand.to the on demand filter counting route and cluster discoveries by outcome, in-flight and cancelled discoveries and the duration of successful ones. The filter also stores the host, virtual host, cluster, outcome and duration of the discoveries in the request’s filter stateenvoy.filters.http.on_demand.discovery, see filter state, for use in access logs.overload_manager: Added load shed point
envoy.load_shed_points.http2_server_reset_stream_on_begin_headersthat rejects new HTTP/2 streams at the codec level on the initial header frame by sending aRST_STREAM(REFUSED_STREAM)before allocating stream or header objects. When aRST_STREAMframe is submitted by this load shed point, the counterhttp2.stream_refused_errorswill be incremented.overload_manager: Added the new HTTP priority load shed filter envoy.filters.http.priority_load_shed, which maps request header integer ranges to overload manager load shed points. It supports fallback shedding via a default load shed point.
postgres_proxy: Added support for connection-level RBAC rules in the Postgres proxy filter. Rules can use startup attributes when Envoy can inspect the StartupMessage, and can use connection properties and downstream TLS peer identity when available. Added
authorization_allowed,authorization_denied, andprotocol_rejectedcounters. Policies can distinguish cancellations from connection startup using filter-generated packet type metadata. Enabling RBAC preserves empty startup values and normalizes effective user and database names, which can change the database suffix in SQL metadata keys. Even when RBAC is disabled, the filter closes connections that send extra data with an SSL request that Envoy terminates, and recognized cancel requests no longer count as encrypted sessions.ratelimit: Added shadow_over_limit to the rate limit service descriptor status. When any descriptor sets it, the HTTP, network and Thrift rate limit filters increment the
shadow_over_limitcounter, so descriptors over limit in shadow mode can be observed.ratelimit: Added
rate_limits_override_optionto the rate limit filter (filter level and per-route) and the local rate limit filter (rate_limits_override_option). When set toALL_LEVELS, the embeddedrate_limitsof the configs at all levels are applied instead of only the most specific one. The rate limit filter merges the generated descriptors into a single request, and the local rate limit filter checks every level against its own descriptors and token buckets. For the local rate limit filter, setting the option also ignoresVirtualHost.rate_limitsandRouteAction.rate_limits, and it cannot be combined withlocal_rate_limit_per_downstream_connection.rbac: Matcher input factories can declare, with
availableAt(), the stage by which their result is final. The HTTP, upstream and network RBAC filters now also accept an input outside their built-in lists, but only if its factory declares a stage no later than the request headers (HTTP and upstream) or the connection (network).reverse_tunnel: Added a
/reverse_tunnel/tunnelsadmin endpoint to the downstream reverse-tunnel initiator (envoy.bootstrap.reverse_tunnel.downstream_socket_interface). It lists the active reverse tunnels as atext/plainbody, with one<node>:<cluster>:<tenant>: <count>line per source identifier.reverse_tunnel: Added a gradual drain for reverse tunnels on the drain-aware HTTP connection manager. On listener drain, established HTTP/2 connections now drain like an HCM graceful drain instead of receiving an immediate GOAWAY, whether or not the new fields are set: a soft GOAWAY at drain start, then the final GOAWAY after
hcm_config.drain_timeout, extended byhcm_config.drain_timeout_jitterif set. When enable_drain_with_goaway is set, draining established HTTP/2 tunnels redial a replacement at drain start. Enabling the runtime guardenvoy.reloadable_features.reverse_tunnel_listener_drain(default false) also replaces unused tunnels during in-place filter-chain updates and instead stops pending handshakes and replacement dials during whole-listener draining. Such an HTTP/2 tunnel sends, at offsets from drain start: a connection-level METADATA frame carryingenvoy.reverse_tunnel.drain: trueat metadata_delay, and a soft GOAWAY at shutdown_notice_delay, before the final GOAWAY. Unset delays skip that step, so withoutshutdown_notice_delaysuch a tunnel receives no GOAWAY until the final one and keeps serving during the grace period. Configs where a step cannot be sent in order are rejected. The upstream reverse-tunnel codec notifies the reverse tunnel reporter when it receives the METADATA frame. Both sides requirehttp2_protocol_options.allow_metadatafor the METADATA frame.reverse_tunnel: The downstream reverse-tunnel initiator (
envoy.bootstrap.reverse_tunnel.downstream_socket_interface) now records atunnel_setup_timehistogram (in milliseconds) measuring how long it takes to establish reverse tunnels to a remote host, from the first dial of an establishment episode until the host reaches its target connection count.router: Added stat_prefix to request mirror policies, at route, virtual host, route configuration and cluster level. When set, the router emits per policy counters rooted at
mirror.<stat_prefix>.for mirrors selected by the runtime fraction, mirrors skipped because the mirror cluster is missing, mirrors started, and mirrors that ended with a 2xx response, with a failure or non-2xx response, or were cancelled. See mirror policy statistics.runtime_features: Added the
BreakingChangesTrackerclass to track and observe breaking changes in Envoy. Operators can enable observability for breaking changes via the enable_breaking_changes_observability flag in Bootstrap and log observed breaking changes in access logs using%FILTER_STATE(envoy.breaking_changes_tracker:PLAIN)%. See Introducing a breaking change and Enabling observability for breaking changes.set_filter_state: Added
life_spanconfiguration parameter to the HTTP set_filter_state. This allows the filter to update filter state withConnection,FilterChain(the default) orRequestlife times.set_filter_state: Added support for using the set filter state HTTP filter as an upstream HTTP filter, so filter state can be set per upstream attempt from the selected host, for example with
%UPSTREAM_METADATA(...)%.stat_sinks: Added resource_conversion to the OpenTelemetry stats sink. It reports a converted metric under an OTLP resource of its own, whose attributes are static or set from the tags of the stat, so that one proxy can report the metrics of each entity it serves, such as each workload behind a gateway, under that entity’s resource.
tls: Added max_send_fragment to
CommonTlsContext. It caps the plaintext size of every TLS record Envoy sends, handshake messages included, for peers that cannot handle full 16384-byte records, such as some PostgreSQL clients.tls: Added an optional
protocolparameter toJA4Fingerprinter::createin the TLS inspector’sJA4fingerprint library, allowing callers to specify the transport carrying the handshake (TLS or QUIC) per the JA4 specification. The default isProtocol::TLS, preserving prior behavior for existing callers, including the built-in TLS inspector listener filter.tracing: Added incoming_trace_context and outgoing_trace_context to the OpenTelemetry tracer to configure which trace context formats are extracted from downstream requests and injected into upstream requests. In addition to W3C Trace Context, the B3 single header and multiple header formats are supported. The default remains W3C Trace Context only.
tracing: Added the
tracing.opentelemetry.spans_export_failedcounter to the OpenTelemetry tracer, which counts spans whose export request to the trace collector could not be sent.udp: Added upstream_packet_writer_config to support optional GSO batching on upstream UDP sockets.
upstream: Added
cluster_manager.odcds.discovery_attempt,cluster_manager.odcds.discovery_success,cluster_manager.odcds.discovery_missing, andcluster_manager.odcds.discovery_timeoutcounters for on-demand cluster discovery. Each counter increments once per discovery, regardless of how many requests were waiting for that cluster.upstream: Added an adaptive LIFO queue policy for pending requests. The policy uses FIFO ordering until a connection pool’s queue reaches a configured high watermark and LIFO ordering until the size reaches a lower configured watermark. Separate watermarks avoid repeated order changes near the overload boundary.
upstream: Extended wait_for_warm_on_init to all cluster types. Setting it to
falsenow opts the cluster out of pausing CDS while it warms, so a cluster that warms slowly or indefinitely (for example one waiting on an SDS secret withinitial_fetch_timeout: 0s) no longer holds back the CDS ACK and other cluster updates.wasm: Added the
wasm.<runtime>.crashedcounter, counting the Wasm VM instances that failed with a runtime error, such as a panic or a trap in the plugin. See Wasm runtime statistics.wasm: Added the
wasm.<runtime>.memory_sizeandwasm.<name>.vm_memory_sizegauges, reporting the linear memory size in bytes of the Wasm VM instances of a runtime and of a plugin. See Wasm runtime statistics.watchdog: Added log_level to the
envoy.watchdog.backtrace_actionwatchdog action to make the level of the emitted backtrace logs configurable. The level defaults to critical.
Deprecated
mcp: Deprecated the MCP filter’s per-route clear_route_cache and reject_duplicate_keys in favor of clear_route_cache_override and reject_duplicate_keys_override. The new fields inherit the listener setting when unset and can turn the setting off for a route. The deprecated fields now only apply when
true.router: Deprecated the route level rate_limits and virtual host level rate_limits fields. Use RateLimitPerRoute.rate_limits in
typed_per_filter_configor the filter level rate_limits of the rate limit filter instead, or rate_limits of the local rate limit filter. The fields that only apply to these deprecated fields are deprecated as well:stageof the rate limit filter and the local rate limit filter, RateLimitPerRoute.vh_rate_limits and LocalRateLimit.vh_rate_limits. The never implementedRateLimitPerRoute.override_optionfield of the rate limit filter is deprecated in favor of rate_limits_override_option.