Skip to content
InfoNews

Google Vertex AI SDK Flaw Let Attackers Hijack Model Uploads via Bucket Squatting

Published
Record updated
View JSON

Summary

Palo Alto Networks Unit 42 found a flaw in the Google Cloud Vertex AI SDK for Python that let an attacker with only their own Google Cloud project and the victim's project ID hijack model uploads and run code in Vertex AI's serving container. The SDK's default staging bucket name was predictable, and it checked only whether the bucket existed, not who owned it, so an attacker could create the bucket first and swap in a malicious model. Unit 42 reported no exploitation in the wild, and no CVE had been listed at publication.

Mitigation

Fixed in google-cloud-aiplatform v1.148.0 (ownership verification added to Model.upload()); update to 1.148.0 or later. Also set an explicit staging_bucket to a Cloud Storage location you control when uploading models.