Vulnerabilities in pkg:pypi/google-cloud-aiplatform

PACKAGE
Advisory Identifier: GHSA-qv8j-hgpc-vrq8
Advisory Summary

CVE-2026-2472 is a HIGH cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Google cloud aiplatform libraries in the PyPI ecosystem. The issue involves google cloud vertex ai sdk affected by stored cross-site scripting (xss). Remediation is available by upgrading affected packages to version 1.131.0.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/google-cloud-aiplatform

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/google-cloud-aiplatform. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-qv8j-hgpc-vrq8 CVE-2026-2472 HIGH Google Cloud Vertex AI SDK affected by Stored Cross-Site Scripting (XSS)
GHSA-wh2j-26j7-9728 CVE-2026-2473 HIGH Google Cloud Vertex AI has a a vulnerability involving predictable bucket naming

CVE-2026-2472 at a Glance

CVE Identifier CVE-2026-2472
GHSA Identifier GHSA-qv8j-hgpc-vrq8
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Google cloud aiplatform
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2026-2472

To remediate this vulnerability, upgrade all affected Google cloud aiplatform dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

google-cloud-aiplatform fixed: 1.131.0
pip install google-cloud-aiplatform>=1.131.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show google-cloud-aiplatform

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-2472, inspect your installed packages using pip:

pip show google-cloud-aiplatform

Analyze the terminal output to locate any version of Google cloud aiplatform in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.131.0), your application is affected.

Note: The pip show google-cloud-aiplatform command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Google cloud aiplatform, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Stored Cross-Site Scripting (XSS) in the _genai/_evals_visualization component of Google Cloud Vertex AI SDK (google-cloud-aiplatform) versions from 1.98.0 up to (but not including) 1.131.0 allows an unauthenticated remote attacker to execute arbitrary JavaScript in a victim's Jupyter or Colab environment via injecting script escape sequences into model evaluation results or dataset JSON data.

CVE-2026-2472 Affected Google cloud aiplatform Versions

1 component(s)
Fixed Versions:
1.131.0
Product / Package Ecosystem Affected Versions Fixed Version
google-cloud-aiplatform
PyPI
≥ 1.98.0
< 1.131.0
1.131.0

References

Frequently Asked Questions

What is CVE-2026-2472?
CVE-2026-2472 is a security vulnerability in Google cloud aiplatform involving Google Cloud Vertex AI SDK affected by Stored Cross-Site Scripting (XSS) under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Google cloud aiplatform versions are affected?
Affected versions include releases prior to 1.131.0 across affected packages: google-cloud-aiplatform.
What version fixes CVE-2026-2472?
Upgrading to 1.131.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is google-cloud-aiplatform affected?
Yes, google-cloud-aiplatform is affected in releases prior to 1.131.0. Upgrade your dependency to 1.131.0 or later.
What CWE is associated with CVE-2026-2472?
CVE-2026-2472 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check PyPI dependencies for CVE-2026-2472?
Run the dependency tree command: 'pip show google-cloud-aiplatform'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qv8j-hgpc-vrq8",
  "modified" : "2026-02-27T22:16:23Z",
  "published" : "2026-02-20T21:31:24Z",
  "aliases" : [ "CVE-2026-2472" ],
  "summary" : "Google Cloud Vertex AI SDK affected by Stored Cross-Site Scripting (XSS)",
  "details" : "Stored Cross-Site Scripting (XSS) in the _genai/_evals_visualization component of Google Cloud Vertex AI SDK (google-cloud-aiplatform) versions from 1.98.0 up to (but not including) 1.131.0 allows an unauthenticated remote attacker to execute arbitrary JavaScript in a victim's Jupyter or Colab environment via injecting script escape sequences into model evaluation results or dataset JSON data.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/U:Amber"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "google-cloud-aiplatform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.98.0"
      }, {
        "fixed" : "1.131.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-2472"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/googleapis/python-aiplatform/commit/8a00d43dbd24e95dbab6ea32c63ce0a5a1849480"
  }, {
    "type" : "WEB",
    "url" : "https://docs.cloud.google.com/support/bulletins#gcp-2026-011"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/JoshuaProvoste/CVE-2026-2472-Vertex-AI-SDK-Google-Cloud"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/googleapis/python-aiplatform"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/googleapis/python-aiplatform/releases/tag/v1.131.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-20T22:41:44Z",
    "nvd_published_at" : "2026-02-20T20:25:24Z"
  }
}