CVE-2026-19407

GCS Bucket Squatting leading to RCE in Gemini Enterprise Agent Platform Python SDK

Published Sep 15, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
Bucket Squatting in Google Cloud Gemini Enterprise Agent Platform SDK for Python versions prior to 1.166.1 allows an attacker to achieve Remote Code Execution (RCE) and tenant-project token theft.

Analysis

AI-generated

Technical impact

This flaw arises from a bucket squatting issue in the Gemini Enterprise Agent Platform SDK for Python. By manipulating bucket names, an attacker can trick the agent into accessing an unintended bucket that contains malicious code. Following the hijack, the agent executes remote payloads and can also capture tenant‑project tokens, resulting in full RCE and credential theft.

Affected Systems

The vulnerable software is the Google Cloud Gemini Enterprise Agent Platform SDK for Python. Any installation running a version older than 1.165.1 is susceptible; versions 1.165.1 and newer have been patched.

Risk and Exploitability

The CVSS score of 7.7 indicates moderate‑to‑high severity. The EPSS score of < 1% indicates a very low exploitation probability, although it is not zero. The vulnerability is not listed in the CISA KEV catalog. The likely attack path involves an attacker naming a bucket that the agent will access, yielding code execution and token theft. The flaw is a classic bucket squatting CWE-330 scenario.

Remediation

Vendor Solution

Users of the google-cloud-aiplatform SDK should upgrade to version 1.165.1 or later, or ensure that an explicit staging_bucket belonging to their project is specified when calling Model.upload().


OpenCVE Recommended Actions

  • Upgrade the Google Cloud Gemini Enterprise Agent Platform SDK for Python to version 1.165.1 or later.
  • If upgrading is not feasible, configure Model.upload() to explicitly specify a staging_bucket that belongs to the user’s project, ensuring no bucket squatting can occur.
  • Remove or rename any buckets that could be used for squatting and audit bucket permissions to restrict access to legitimate tenant projects, implementing least‑privilege policies and regular permission reviews.

Generated by OpenCVE AI on September 20, 2026 at 16:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Bucket Squatting in Google Cloud Gemini Enterprise Agent Platform SDK for Python versions prior to 1.166.1 allows an attacker to achieve Remote Code Execution (RCE) and tenant-project token theft.
Title GCS Bucket Squatting leading to RCE in Gemini Enterprise Agent Platform Python SDK
Weaknesses CWE-330
References
Metrics cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/U:Clear'}

Subscriptions

No data.

Weaknesses
  • CWE-330

    Use of Insufficiently Random Values

Sources

Status
PUBLISHED
Assigner
GoogleCloud
Published
Updated
Sep 21, 2026, 6:43 PM
Reserved
Aug 10, 2026, 8:36 AM
Status
Awaiting Analysis
Published
Sep 15, 2026, 4:17 PM
Modified
Sep 21, 2026, 7:17 PM