# gRPC v1.86.0

2026-11-30 · [릴리스 노트 원문](https://github.com/grpc/grpc/releases/tag/v1.86.0) · [전체 정리](https://ratatosk.io/ko/releases/grpc/v1.86.0)

보안 5 (high 1) · 호환성 변경 1 · 중요 수정 3 · 기능·개선 3 · 의존성 갱신 1 · 기타 7

## 보안 (5)

### [high] Channelz v2 `QueryTrace` 서비스 거부 결함 수정

- 영향 대상: 릴리스 노트에 언급 없음
- [GHSA-mp3j-8555-cjpj](https://github.com/grpc/grpc/security/advisories/GHSA-mp3j-8555-cjpj)

신뢰할 수 없는 호출자가 `grpc.channelz.v2.Channelz`로 RPC를 보낼 수 있으면 서버 프로세스를 중단시키거나 작업 스레드를 차단할 수 있었습니다. 이제 `QueryTrace`가 인수를 검증하며, 호출자가 RPC를 취소하면 서버 리소스가 해제됩니다.

보안 공지:

> 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

보안 공지:

> 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 리소스의 authority 채널 확인

- 영향 대상: xDS 클라이언트 구성

xDS 리소스가 해당 authority용으로 구성되지 않은 채널에 도착하면 처리하지 않고 무시합니다.

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

### gRPC 저장소 루트 인증서 번들을 Chromium 루트 인증서로 업데이트

- 영향 대상: gRPC 저장소 루트 번들을 사용한 인증서 검증 (추정)

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

### [보안 여부 불분명] c-ares DNS-over-TCP 쓰기에서 발생하는 SIGPIPE 프로세스 종료 수정

- 영향 대상: POSIX 플랫폼에서 `MSG_NOSIGNAL` 또는 `SO_NOSIGPIPE`를 사용하는 c-ares DNS-over-TCP, 시스템 c-ares 1.34.7 이상을 링크하는 빌드 포함

DNS 서버가 TCP 연결을 이미 닫았거나 리셋한 경우 c-ares의 쓰기 작업에서 `SIGPIPE`가 발생해 프로세스가 종료될 수 있었습니다. 이제 c-ares는 `EPIPE`를 연결 오류로 처리하고 쿼리를 재시도하거나, 프로세스를 종료하지 않고 쿼리를 실패 처리합니다.

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

### gRPC 저장소 루트 인증서 번들 업데이트

- 영향 대상: gRPC 저장소의 루트 인증서 번들로 인증서 체인을 검증하는 설정 (추정)

업데이트된 번들에는 `emSign Root CA - G1`이 계속 포함됩니다.

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

## 호환성 변경 (1)

### 빈 `Metadata`를 반환하는 `InterceptedCall` 메타데이터 메서드

- 영향 대상: `InterceptedCall.initial_metadata()` 또는 `InterceptedCall.trailing_metadata()`를 사용하는 Python AIO 호출

이전에는 호출이 취소되거나 메타데이터가 없는 `AioRpcError`가 발생하면 이 메서드들이 `None`을 반환할 수 있었습니다. 이제는 그런 경우 빈 `Metadata()`를 반환하며, 사용할 수 있는 메타데이터는 계속 반환합니다.

근거: “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))

## 중요 수정 (3)

### Python AIO non-OK 호출 표현 순서 수정

- 영향 대상: Python AIO 호출 문자열 및 표현 출력 (추정)

`ABORTED` 호출의 경우 표현에 `StatusCode.ABORTED`가 상태로 표시되고, 해당 details 텍스트도 함께 표시됩니다.

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

### 동기식 Python `Channel` 종료 교착 상태 수정

- 영향 대상: 동기 API를 통한 Python `Channel` 종료

이전에는 gRPC 백그라운드 스레드가 콜 크리덴셜 플러그인 같은 Python 콜백을 실행하는 동안 채널을 닫으면 Python 프로세스가 멈출 수 있었습니다. 이제 컴플리션 큐와 채널의 소멸, gRPC 종료가 `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 크리덴셜 팩토리 크래시 수정

- 영향 대상: Python 크리덴셜 팩토리 `grpc.xds_server_credentials()`와 `ComputeEngineChannelCredentials`

`grpc.xds_server_credentials()`에 `None`이나 비어 있는 폴백 크리덴셜 래퍼를 전달하거나, `ComputeEngineChannelCredentials`에 `None`인 호출 크리덴셜을 전달하면 네이티브 코드까지 도달해 인터프리터가 크래시하거나 프로세스가 중단될 수 있었습니다. 이제 이런 입력에는 `ValueError`가 발생합니다.

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

## 기능·개선 (3)

- non-xDS 트랜스포트용 공개 `TransportFactory` API
- `grpcio_status`에 버전 속성 추가
- `grpc.aio` export에 `ChannelArgumentType` 추가

## 의존성 갱신 (1)

그 외 1건 · 보안 언급 없음

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

## 기타 (7)

- `map_host_header_to_authority` 실험 기본 활성화
- setuptools 84용 Windows ARM64 컴파일러 처리 수정
- `grpcio-tools`와 `grpcio-observability`의 설치 요구 사항에서 setuptools 제거
- `grpc_tools.protoc` 및 `grpc_tools.command`의 `importlib.resources` 사용
- Python AIO 타입 힌트 수정
- 이제 AIO 디렉터리의 모든 파일을 대상으로 하는 Pyright 설정
- `_done_writing_flag` 타입 검사 추가

---

정리 내용은 AI가 작성하므로 틀릴 수 있으며, 보증 없이 제공합니다.
