CVE-2026-2472: Google cloud aiplatform Cross-Site Scripting Vulnerability
HIGHCVE-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.
CVE-2026-2472 at a Glance
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.
pip install google-cloud-aiplatform>=1.131.0
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
CVE-2026-2472 Affected Google cloud aiplatform Versions
1 component(s)| 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?
Which Google cloud aiplatform versions are affected?
What version fixes CVE-2026-2472?
Is google-cloud-aiplatform affected?
What CWE is associated with CVE-2026-2472?
How can I check PyPI dependencies for CVE-2026-2472?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}