# gRPC v1.86.0

2026-11-30 · [Original release notes](https://github.com/grpc/grpc/releases/tag/v1.86.0) · [Full summary](https://ratatosk.io/en/releases/grpc/v1.86.0)

Security 5 (high 1) · Breaking changes 1 · Important fixes 3 · Enhancements 3 · Dependency updates 1 · Other changes 7

## Security (5)

### [high] Channelz v2 `QueryTrace` denial-of-service flaw fixed

- Affects: Not stated in the release notes
- [GHSA-mp3j-8555-cjpj](https://github.com/grpc/grpc/security/advisories/GHSA-mp3j-8555-cjpj)

An untrusted caller able to send RPCs to `grpc.channelz.v2.Channelz` could stop the server process or block its worker threads. `QueryTrace` now checks its arguments, and server resources are released when the caller cancels the RPC.

Security advisory:

> Your server is affected only if both of these are true:
> - Your gRPC C++ server activates Channelz with `grpc::channelz::experimental::InitChannelzService()`.
> - An untrusted caller can send RPCs to the Channelz v2 service (`grpc.channelz.v2.Channelz`).
> gRPC C++ did not correctly check the arguments and the state of the `QueryTrace` RPC. A remote caller can send `QueryTrace` requests that stop the server process or keep server worker threads blocked. This causes a denial of service (DoS).
> The fix checks the `QueryTrace` arguments and releases server resources when the caller cancels the RPC.
> - Do not call `grpc::channelz::experimental::InitChannelzService()` in production servers.
> - Block access to `grpc.channelz.v2.Channelz` from untrusted callers. Use authentication, an authorization policy, or a network rule.

https://github.com/grpc/grpc/security/advisories/GHSA-mp3j-8555-cjpj

Security advisory:

> A denial of service (DoS) vulnerability was found and fixed in the gRPC C++ Channelz v2 service.

https://github.com/grpc/grpc/security/advisories/GHSA-mp3j-8555-cjpj

### xDS resources checked against authority channels

- Affects: xDS client setups

When an xDS resource arrives on a channel not configured for its authority, it is ignored rather than processed.

> -  [XdsClient] check that resources are received from the right servers. ([#43695](https://github.com/grpc/grpc/pull/43695))

### gRPC repository root certificate bundle updated to Chromium roots

- Affects: certificate validation using the gRPC repository root bundle (Inferred)

> -  [Security] Update repo roots to chromium roots. ([#43890](https://github.com/grpc/grpc/pull/43890))

### [Security status unclear] SIGPIPE termination from c-ares DNS-over-TCP writes fixed

- Affects: c-ares DNS-over-TCP on POSIX platforms using `MSG_NOSIGNAL` or `SO_NOSIGPIPE`, including builds linking system c-ares 1.34.7 or later

If the DNS server had already closed or reset the TCP connection, a c-ares write could raise `SIGPIPE` and terminate the process. Now c-ares treats `EPIPE` as a connection error and retries the query or fails it without the process being killed.

> -  [EventEngine] Avoid SIGPIPE on c-ares writes to closed TCP sockets. ([#43802](https://github.com/grpc/grpc/pull/43802))

### gRPC repository root-certificate bundle updated

- Affects: setups using gRPC's repository root-certificate bundle to validate certificate chains (Inferred)

The updated bundle preserves `emSign Root CA - G1`.

> -  [security] Update gRPC repo roots. ([#43699](https://github.com/grpc/grpc/pull/43699))

## Breaking changes (1)

### `InterceptedCall` metadata methods return empty `Metadata`

- Affects: Python AIO calls using `InterceptedCall.initial_metadata()` or `InterceptedCall.trailing_metadata()`

Previously, these methods could return `None` when a call was cancelled or an `AioRpcError` had no metadata. They now return an empty `Metadata()` in those cases and still return available metadata.

Evidence: “Make `InterceptedCall` method `trailing_metadata` and `initial_metadata` return `Metadata` instead of `Optional[Metadata]`.” https://github.com/grpc/grpc/pull/42743

> -  [Python] AIO Part 5 - Type Hints fixes and add Pyright for all aio files. ([#42743](https://github.com/grpc/grpc/pull/42743))

## Important fixes (3)

### Python AIO non-OK call representation order fixed

- Affects: Python AIO call string and representation output (Inferred)

For an `ABORTED` call, the representation shows `StatusCode.ABORTED` as the status, alongside the corresponding details text.

> -  [Python] Fix the ordering of status and details in _NON_OK_CALL_REPRESENTATION. ([#43869](https://github.com/grpc/grpc/pull/43869))

### Synchronous Python `Channel` close deadlock fixed

- Affects: Python `Channel` closes through the synchronous API

Previously, closing a channel while gRPC background threads were running Python callbacks, such as call-credentials plugins, could freeze the Python process. Completion-queue and channel destruction and gRPC shutdown now run without holding the `GIL`.

> -  [Python] Fix GIL deadlocks: Release GIL during grpc_channel_destroy/grpc_shutdown in Channel close. ([#43962](https://github.com/grpc/grpc/pull/43962))

### Python credential factory crashes fixed

- Affects: Python credential factories `grpc.xds_server_credentials()` and `ComputeEngineChannelCredentials`

Passing `None` or an empty fallback-credentials wrapper to `grpc.xds_server_credentials()`, or `None` call credentials to `ComputeEngineChannelCredentials`, could reach native code and crash the interpreter or abort the process. These inputs now raise `ValueError` instead.

> -  [Python]  Raise ValueError instead of crashing when credential factories receive None. ([#43592](https://github.com/grpc/grpc/pull/43592))

## Enhancements (3)

- Public `TransportFactory` API for non-xDS transports
- Version attribute added to `grpcio_status`
- `ChannelArgumentType` added to `grpc.aio` exports

## Dependency updates (1)

1 more, none mentioning security

- `-  [Core] Upgrade cares to 1.34.9. ([#43958](https://github.com/grpc/grpc/pull/43958))`

## Other changes (7)

- `map_host_header_to_authority` experiment enabled by default
- Windows ARM64 compiler handling fixed for setuptools 84
- Removed the setuptools installation requirement from `grpcio-tools` and `grpcio-observability`
- `grpc_tools.protoc` and `grpc_tools.command` use `importlib.resources`
- Python AIO type hints corrected
- Pyright configuration now covers all files in the AIO directory
- Type check added to `_done_writing_flag`

---

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.
