The flaw is in the secret scanning validator for GCP service account credentials. The validator trusted the token endpoint embedded in a committed credential and issued a request to that destination without adequately restricting or validating it.
At a high level, the attack sequence is:
- An authenticated user with repository push permission commits a credential whose token endpoint points to an attacker-selected internal destination.
- Secret scanning performs a validity check and the appliance sends a request to the supplied destination.
- The SSRF can be chained with additional conditions to achieve remote code execution on the appliance.
Exploitation requires GitHub Advanced Security and secret scanning validity checks to be enabled on the instance. Public details do not establish the exact internal endpoint, the service reached, or the detailed steps in the remote code execution chain.