← Back to search

CVE-2026-74760

8.8 HIGH

Published 2026-11-01 · Updated 2026-11-06

AI risk analysis

Summary
Google::Auth for Perl (versions 0.11–0.12) fails to validate the OAuth state parameter during gcloud-auth or application-default login, allowing a local attacker to inject their own authorization code. This causes the victim's CLI to exchange the attacker's code and store the attacker's refresh token as the victim's credentials, enabling account impersonation.
Exploitability
Exploitation requires local unprivileged access to the victim's machine and knowledge of how to intercept or redirect the OAuth callback; no network access beyond localhost is needed.
Blast radius
If exploited, the attacker gains persistent access to the victim's Google Cloud environment using the victim's credentials but acting as the attacker's account, potentially enabling data exfiltration, privilege escalation within the victim's GCP projects, or misuse of billing resources.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Google::Auth version 0.13 or later, which implements proper state parameter validation during OAuth callback handling.
auth-bypassoauthlocal-exploitcredential-theftperl

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

Google::Auth versions from 0.11 through 0.12 for Perl accept an authorization code from any local process because the gcloud-auth login callback does not check the OAuth state. The gcloud-auth login and application-default login commands send a state parameter with the authorization request, then take the code from the first request to reach their loopback listener without comparing the returned state. A local attacker can submit an authorization code for their own Google account. The CLI exchanges it and stores the refresh token as the user's credentials, so the user's tools then act as the attacker's account.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-346

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.