CVE-2026-2472 Stored Cross-Site Scripting (XSS) in Vertex AI Python SDK Visualization
An attacker can inject malicious JavaScript into Vertex AI SDK evaluation results, executing code in victim Jupyter or Colab environments.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-2472?
CVE-2026-2472 is a high-severity cross-site scripting vulnerability in Google Cloud Vertex AI SDK for Python, published on 20 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2026-2472?
3 open source packages ship an affected version, including google-cloud-aiplatform.
| Package | Affected | Fixed in |
|---|---|---|
google-cloud-aiplatform PyPI | From 1.98.0 | 1.131.0 |
google-cloud-aiplatform PyPI | From 1.98.0 | 1.131.0 |
google-cloud-aiplatform PyPI | From 1.98.0 | 1.131.0 |
How do I fix CVE-2026-2472?
Upgrade google-cloud-aiplatform to 1.131.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-2472 being exploited?
There is no known exploitation of CVE-2026-2472 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Sources
Also known as ECHO-5a8a-19c3-eaef, GHSA-qv8j-hgpc-vrq8, MINI-4867-j8rc-34gm, MINI-f47q-c4x4-wvpq, PYSEC-2026-2499.