Skip to content

Accident reports · January 2026

Vertex AI: with almost no rights, you could borrow the platform agents' identity

According to XM Cyber, a booby-trapped tool or a plain read-only role was enough to grab a service agent's token and read conversations and memories. Google says it works as intended.

  • Company Google Cloud
  • Agent Vertex AI Agent Engine
  • Model not published
The leak
A ring of three keys on a white background
Photo: Jozsef Hocza on Unsplash
WhenJanuary 2026
WhoVertex AI Agent Engine and Ray on Vertex AI, at Google Cloud, studied by XM Cyber
What the agent didIn the demonstration, someone with very few rights took over the platform's far more powerful "service agents" and used them to read the agents' conversations and memories
ConsequenceNo real-world attack reported; according to XM Cyber, Google says the services are "working as intended"

What happened

This is a researchers' demonstration, not an observed attack. Eli Shparaga and Erez Hasson, at XM Cyber, published it on 15 January 2026. They talk about "double agents".

On Vertex AI, a service agent is an identity managed by Google that acts on the customer's behalf. It often has broad rights across the whole project.

First case, Agent Engine. According to XM Cyber, someone who only has the right to update an agent can add a booby-trapped tool to it. When the tool runs, its code executes on the agent's machine and asks the metadata service for the service agent's token. With that token, the researchers say, you can read every chat session, the models' memories and data kept in storage buckets.

Second case, Ray on Vertex AI. According to XM Cyber, the read-only "Vertex AI Viewer" role was enough to open an administrator terminal on the cluster's head machine, then pick up another service agent's token. That token gave read and write access to storage, logs and BigQuery.

According to XM Cyber and The Hacker News, Google replied that the services are "working as intended" and passed the report to the product team. No fix has been announced. InfoWorld notes that Palo Alto Networks reported similar Vertex AI issues in November 2024, which Google fixed at the time.

Why it happened

The agent has no rights of its own, cut to fit its job. It borrows those of a platform identity that is valid across the whole project. Anyone who runs code in its place inherits everything that identity can do.

The failure family

In our catalogue, this is the "The leak" family: the agents' conversations and memories become readable by someone who was not supposed to have access.

The safeguard in code

  • Each agent has its own identity with the narrowest possible rights, never the platform's broad identity.
  • The right to change an agent or its tools is treated as an administrator right.
  • Tool code cannot call the machine's metadata service.

What we test

Here the problem lies in the platform and the rights, not in the model: our crash-test looks at what the agent does, not at the rights of the platform hosting it. The related case of an agent with keys within reach is already on our list; that of a tool added to the agent that goes to read its machine's token is not yet tested as such, and we are adding it. What a company can lock down today, following XM Cyber's advice: review who holds the "Viewer" role, restrict the right to update an agent, and monitor agents in production.

And your agent, what would it do?

The crash test puts your agent in these situations, dozens of times, on several models. You get the figures, the conversations where it gave in, and the fix plan.

Crash-test my agent See the live demo

Further reading