A cross-tenant GCP Dataflow vulnerability lets attackers squat predictable staging buckets and swap pickle files to execute code on victims' Dataflow workers, stealing service account credentials. The vulnerability exploits Apache Beam's deterministic default staging bucket naming in GCP Dataflow. An attacker precomputes the victim's bucket name, creates it first, and swaps staged pickle files to achieve RCE on Dataflow workers. Google deployed server-side fixes and client-side checks in Beam 2.75.0.
Bucket Squatting
2 posts
Go With the Flow: Taking a Shadow Dependency in GCP Dataflow Cross Tenant Pickle in the Middle – Hijacking Vertex AI Model Uploads for Cross-Tenant RCE A critical vulnerability in the Google Cloud Vertex AI SDK for Python allows attackers to achieve cross-tenant Remote Code Execution (RCE) via bucket squatting. By predicting default staging bucket names and exploiting a lack of ownership verification, attackers can intercept model uploads and inject malicious pickle payloads, leading to the theft of highly privileged service account tokens.