Unit 42 Reports Vertex AI Flaw Exposing Service-Agent Credentials and Cloud Resources

· Original article ↗

Summary

Unit 42 says Vertex AI Agent Engine behavior can expose P4SA credentials, enabling access to customer Cloud Storage data and restricted Google Artifact Registry images. Google updated documentation and recommends BYOSA and least privilege.

Key points

  • Unit 42 found that Vertex AI’s Per-Project, Per-Product Service Agent (P4SA) can have excessive default permissions.
  • Calls to a deployed Agent Engine agent invoke the metadata service and expose service-agent credentials, project details, and machine scopes.
  • Unit 42 used the credentials to access customer-project Cloud Storage buckets; it also reported access to restricted Google-owned Artifact Registry images.
  • The credentials exposed Google-managed tenant storage buckets, but Unit 42 said they lacked permissions to access the bucket contents.
  • Google updated its documentation and recommends replacing the default service agent with BYOSA and applying least-privilege permissions.

Article Details

Vulnerability Types
  • Excessive default permissions in the Vertex AI service-agent permission model
  • Cloud access-control misconfiguration allowing service-agent credential exposure
Exploitation Status
reported
Exploit Availability
unknown
Patch Status
unknown
Workarounds
  • Use Bring Your Own Service Account (BYOSA) instead of the default service agent.
  • Enforce least-privilege permissions and restrict OAuth scopes to only those required.

MITRE ATT&CK

People

Vendors

Products

Related Articles