Intel

AIKIDO-2026-262374

grpcio is vulnerable to Use After Free

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 17, 2026
June 17, 2026

65

CVE Score

Medium

Use After Free

Are you affected? Scan for Free

TL;DR

The gRPC Core xDS client keeps a global map from client keys to GrpcXdsClient instances. When an entry's refcount reaches zero and GetOrCreate() replaces the client, insert_or_assign() could update the map value without refreshing the absl::string_view key that still pointed into the freed object. Subsequent lookups then use a dangling key and can trigger a use-after-free crash. The fix erases zero-refcount entries before emplacing a new client and adds regression tests for the map key lifetime.

How do I fix this?

Upgrade the grpcio 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 your deployment uses gRPC xDS (for example xDS resolver targets or xDS bootstrap configuration).

Package

Versions

1.81.0 - 1.81.0

Fixed in 1.81.1

Background info

grpcio is vulnerable to Use After Free in versions 1.81.0 - 1.81.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