Intel

AIKIDO-2025-10481

google.golang.org/genai is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor

Exposure of Sensitive Information to an Unauthorized Actor Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 22, 2025

40

Medium Risk

This Affects:

Gogoogle.golang.org/genai
0.7.0 - 1.15.0
Fixed in 1.16.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to the exposure of API keys through URL query parameters. It occurs when sensitive keys are included in the URL query strings during API requests, which can expose them in web server logs, browser histories, or through network monitoring tools. An attacker could exploit this vulnerability by intercepting web traffic, collecting exposed URLs from public repositories or compromised logging systems, or using browser-side attacks to capture query parameters. It could lead to the theft of valid API keys, allowing unauthorized access to protected resources or impersonating legitimate users.

Who does this affect?

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

Background info

google.golang.org/genai is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 0.7.0 - 1.15.0.

How to fix this

Upgrade the google.golang.org/genai library to the patch version.