Intel

AIKIDO-2026-10421

@google/gemini-cli is vulnerable to Prototype Pollution

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 27, 2026
March 27, 2026

47

CVE Score

Medium

Prototype Pollution

Are you affected? Scan for Free

TL;DR

Affected versions of this package do not adequately block dangerous property keys during object assignment, allowing potential prototype pollution through constructor and prototype in addition to __proto__. An attacker might exploit this by supplying crafted input that injects properties into shared object prototypes, which can lead to application-wide tampering, unexpected behavior, denial of service, or, in some cases, security control bypass depending on how polluted objects are later used.

How do I fix this?

Upgrade the @google/gemini-cli library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.0.77 - 0.33.2

Fixed in 0.34.0

Background info

@google/gemini-cli is vulnerable to Prototype Pollution in versions 0.0.77 - 0.33.2.

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