Intel

AIKIDO-2026-816961

connectrpc is vulnerable to Denial of Service (DoS)

GHSA-jx5x-3mcr-qp8rPublished Sep 23, 2026
September 23, 2026

63

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

connectrpc's server reads a client-streaming or bidirectional-streaming request body in a background task that keeps running after the handler returns, an interceptor rejects the call, or the request timeout fires. Before the fix, that task has no time limit, so a client that stops sending mid-message keeps the task, its buffered partial message, and the HTTP/2 stream or HTTP/1.x connection open indefinitely. A caller can hold many such calls open at once to exhaust server memory, tasks, and file descriptors. The fix applies an absolute five second timeout to the drain so a stalled client loses the stream or connection instead of holding it forever.

How do I fix this?

Upgrade the connectrpc library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you serve client-streaming or bidirectional-streaming RPCs.

Package

Versions

0.2.0 - 0.8.1

Fixed in 0.8.2

0.9.0 - 0.9.0

Fixed in 0.9.1

Background info

connectrpc is vulnerable to Denial of Service (DoS) in versions 0.2.0 - 0.8.1 and 0.9.0 - 0.9.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea