{"answers":{"affected":"3 open source packages ship an affected version, including google-cloud-aiplatform.","exploited":"There is no known exploitation of CVE-2026-2472 in the wild and no public exploit code.","fix":"Upgrade google-cloud-aiplatform to 1.131.0 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-2472 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-2472 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- google-cloud-aiplatform (PyPI): affected from 1.98.0; fixed in 1.131.0\n- google-cloud-aiplatform (PyPI): affected from 1.98.0; fixed in 1.131.0\n- google-cloud-aiplatform (PyPI): affected from 1.98.0; fixed in 1.131.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-2472/ (Markdown: https://insights.sbomify.com/CVE-2026-2472/index.md)","id":"CVE-2026-2472","markdown":"https://insights.sbomify.com/CVE-2026-2472/index.md","name":"CVE-2026-2472","record":{"aliases":["ECHO-5a8a-19c3-eaef","GHSA-qv8j-hgpc-vrq8","MINI-4867-j8rc-34gm","MINI-f47q-c4x4-wvpq","PYSEC-2026-2499"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Vertex AI Python SDK","requires_auth":"low_privilege","summary":"An attacker can inject malicious JavaScript into Vertex AI SDK evaluation results, executing code in victim Jupyter or Colab environments.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GoogleCloud","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2026-02-27","github_poc":2,"max_poc_stars":5,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-02-27T14:57:39Z","kind":"github_poc","ref":"https://github.com/JoshuaProvoste/CVE-2026-2472-Vertex-AI-SDK-Google-Cloud","stars":5,"title":"Technical PoC for CVE-2026-2472 (GCP-2026-011): Unauthenticated and Stored Cross-Site Scripting (XSS) in google-cloud-aiplatform _genai/_evals_visualization (Vertex AI Python SDK) affecting Jupyter/Colab."},{"date":"2026-03-10T14:40:04Z","kind":"github_poc","ref":"https://github.com/megafart1/CVE-2026-2472-Vertex-AI-SDK-Google-Cloud","stars":2,"title":"Expose and detail an unauthenticated stored XSS vulnerability in the Google Cloud Vertex AI Python SDK affecting versions 1.98.0 to 1.130.9."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Stored Cross-Site Scripting (XSS) in Vertex AI Python SDK Visualization","id":"CVE-2026-2472","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Bucket Squatting in Vertex AI Experiments leads to RCE and Model Theft.","id":"CVE-2026-2473"},"packages":[{"ecosystem":"PyPI","fixed":["1.131.0"],"introduced":["1.98.0"],"last_affected":[],"package":"google-cloud-aiplatform","purl":null,"source":"GHSA-qv8j-hgpc-vrq8"},{"ecosystem":"PyPI","fixed":["1.131.0"],"introduced":["1.98.0"],"last_affected":[],"package":"google-cloud-aiplatform","purl":"pkg:pypi/google-cloud-aiplatform","source":"GHSA-qv8j-hgpc-vrq8"},{"ecosystem":"PyPI","fixed":["1.131.0"],"introduced":["1.98.0"],"last_affected":[],"package":"google-cloud-aiplatform","purl":"pkg:pypi/google-cloud-aiplatform","source":"PYSEC-2026-2499"}],"prev":{"headline":"WP Mail Logging \u003c= 1.15.0 - Unauthenticated PHP Object Injection via Email Log Message Field","id":"CVE-2026-2471"},"products":["Vertex AI SDK for Python"],"published":"2026-02-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["Google Cloud"]},"summary":"An attacker can inject malicious JavaScript into Vertex AI SDK evaluation results, executing code in victim Jupyter or Colab environments.","url":"https://insights.sbomify.com/CVE-2026-2472/"}