2.1.1 (November 30, 2026)
SECURITY:
- Migrate from
github.com/go-jose/go-jose/v3togithub.com/go-jose/go-jose/v4v4.1.6 to address GHSA-mgcc-cww5-fp2q, GHSA-vvm8-gf78-28g4 and GHSA-4w3g-jfj2-cw2q. [GH-24135] - Update
golang.org/x/netto v0.62.0 to address GO-2026-6860 and GO-2026-6866.
Also updategolang.org/x/cryptoto v0.58.0,golang.org/x/systo v0.49.0,golang.org/x/syncto v0.24.0,golang.org/x/textto v0.43.0,golang.org/x/termto v0.47.0 andgolang.org/x/toolsto v0.51.0.
Migrate fromgithub.com/go-jose/go-jose/v3togithub.com/go-jose/go-jose/v4v4.1.6 and updategithub.com/hashicorp/capto v0.16.0, removing the dependency ongo-jose/v3to address GHSA-4w3g-jfj2-cw2q, GHSA-mgcc-cww5-fp2q and GHSA-vvm8-gf78-28g4. [GH-24149] - Upgrade
go.opentelemetry.io/otelto v1.47.0 to fix a bypass ofAttributeValueLengthLimittruncation by attribute values made of U+FFFD runes. [GH-24166] - agent: Explicitly set the
Content-Typeheader totext/plainon the invalidmax_staleerror response to mitigate XSS. [GH-24071]
IMPROVEMENTS:
- gateway: Apply
envoy_listener_tracing_jsonfrom proxy defaults to API Gateway HTTP listeners and Mesh Gateway HTTP filter chains for exported services, allowing configured sampling rates and upstream span creation to take effect. [GH-24119] - upgrade go version to v1.26.11 [GH-24199]
- agent: apply block_endpoints and allow_write_http_from to /api resource endpoints [GH-24191]
- build: bump consul sub-packages to latest patch releases:
consul/apito v1.35.1,consul/sdkto v0.19.1,consul/proto-publicto v0.9.1,consul/envoyextensionsto v0.11.2 andconsul/troubleshootto v0.10.2 [GH-24190] - ci: Re-enable the Compatibility Integration Tests and fix the consul-container test library for the upgraded runners (testcontainers v0.42, Docker 28): agents now advertise their bridge network IP explicitly, container logs are captured again, and the troubleshoot and gateway health tests tolerate slow startup. [GH-24036]
- cli: The
consul resource apply-grpc,read-grpc,list-grpc, anddelete-grpccommands now verify the server's certificate when using TLS and require TLS 1.2 or later. Previously, certificate verification was skipped unlessCONSUL_GRPC_TLS_VERIFY=truewas set. If the server's certificate is not signed by a system-trusted CA, provide the CA with-ca-fileorCONSUL_GRPC_CACERT. Use the new-tls-server-nameflag orCONSUL_GRPC_TLS_SERVER_NAMEto set the expected server name, for example when connecting by IP address. Verification can be disabled with the new-grpc-tls-verify=falseflag orCONSUL_GRPC_TLS_VERIFY=false. [GH-24198] - connect: Writing
ECDHCurvesin the mesh config entry is rejected while any server in any WAN-federated datacenter runs a version older than 2.1.0. Servers log a warning listing agents in the entry's admin partition that are older than 2.1.0 and ignore the setting, and the leader reports their count in theconsul.mesh.pqc_outdated_agentsgauge. [GH-24083] - connect: Writing a mesh config entry whose new or changed
TLS.Outgoing.ECDHCurvesomitsP-256while TLS 1.2 can be negotiated is rejected, because service mesh certificates use ECDSA P-256 keys and such handshakes fail withWRONG_CURVE. Incoming lists and unchanged stored or bootstrapped entries produce a warning instead. [GH-24083] - rpc: tighten validation of operations submitted to the Txn endpoint. [GH-24194]
- ui: finish migrating the yadda/Gherkin acceptance tests to native QUnit and remove the yadda test toolchain [GH-24183]
- ui: migrate the remaining top-level yadda/Gherkin acceptance tests to native QUnit, restore namespace coverage and assertions lost in earlier migrated tests, and remove orphaned yadda step files [GH-24179]
BUG FIXES:
- acl:
node:writeandservice:writerules no longer apply to peer-imported nodes and services. [GH-24185] - agent: Apply
default_query_timeandmax_query_timeto cache-backed blocking queries so they no longer outlivehttp_config.write_timeout. This fixes the periodicconnect_rootswatch error in the built-inconsul connect proxy. [GH-24084] - agent: Blocking queries are no longer reset by
http_config.write_timeouton long-lived HTTP/2 connections. The write deadline is now set per blocking-query request based onmax_query_time, instead of relying on the global per-connectionwrite_timeout. [GH-24042] - agent: fix catalog write throughput collapse by using per-node write lock stripes instead of a single shared stripe. [GH-24111]
- api-gateway: Fix an issue where creating, updating, or deleting a
file-system-certificateconfig entry did not cause gateways referencing it to be reconciled, leaving staleInvalidCertificates/InvalidCertificateRefstatus until the gateway was re-applied. [GH-24154] - api: Fix an invalid value for the
CONSUL_HTTP_SSL_VERIFYenvironment variable, such asyesor a typo, disabling TLS certificate verification. Onlyfalseor0now disables verification, and a warning is logged for invalid values. [GH-24198] - api: Fix an invalid value for the
CONSUL_HTTP_SSLenvironment variable, such asyesor a typo, falling back to plain HTTP. Onlyfalseor0now selects HTTP, and a warning is logged for invalid values. [GH-24198] - connect: The automatically injected post-quantum key-exchange list for TLS 1.3 is now
X25519MLKEM768, X25519, P-256for Envoy and agent TLS, so peers that only support P-256 keep working after an upgrade. Explicitly configuredECDHCurvesandtls_ecdh_curvesare unchanged. [GH-24083] - connect: When the mesh
TLSMinVersionisTLSv1_3andTLSMaxVersionis unset orTLS_AUTO, Consul now sets the Envoy maximum TLS version to TLS 1.3. Previously, Envoy upstream connections defaulted to a TLS 1.2 maximum and every handshake failed withNO_SUPPORTED_VERSIONS_ENABLED. [GH-24083] - dns: Preserve the EDNS OPT record, including EDNS Client Subnet data, when DNS responses are trimmed to fit UDP or TCP size limits. [GH-24177]
- peering: Fix a bug where a dialing cluster kept using the peer's previous CA roots when reconnecting after the accepting cluster rotated its Connect CA. Reconnects failed with
x509: certificate signed by unknown authorityuntil the dialing cluster's leader changed. [GH-24163] - peering: Fix a bug where a rejected duplicate peering stream, or a stream that had already been replaced, could mark the active stream as disconnected. The peering then reported
FAILINGandconsul.peering.healthydropped to 0 while the stream was still replicating. [GH-24163] - peering: Fix a deadlock where cluster peering streams could stall indefinitely after a server restart when both peers export many services. The peering remained ACTIVE but stopped replicating services and heartbeats. [GH-24094]
- peering: Fix an overflow in the peering stream retry backoff that removed the delay between reconnect attempts after a peering had been failing for about an hour, causing a tight reconnect loop on the dialing cluster's leader. [GH-24163]
- streaming: Fix a deadlock between a server restoring its state from a raft snapshot and a streaming
Subscribecall that could stop the server from applying raft logs and leave streaming subscriptions on that server silent, so clients kept serving a frozen view and a staleX-Consul-Indexwithout any error. [GH-24139] - txn: Node, service, and check write operations in
/v1/txnwith a non-defaultPeerNameare now rejected, consistent with the catalog register and deregister endpoints. Peer-imported catalog entries are managed by peering replication and cannot be modified through the transaction API. [GH-24185]