{"api_version":"1","generated_at":"2026-11-02T21:33:30+00:00","cve":"CVE-2026-74760","urls":{"html":"https://cve.report/CVE-2026-74760","api":"https://cve.report/api/cve/CVE-2026-74760.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74760","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74760"},"summary":{"title":"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","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.\n\nThe 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.\n\nA 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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-11-01 17:16:34","updated_at":"2026-11-02 19:34:23"},"problem_types":["CWE-346","CWE-346 CWE-346 Origin Validation Error"],"metrics":[],"references":[{"url":"https://metacpan.org/release/CJCOLLIER/Google-Auth-0.12/source/bin/gcloud-auth.pl","name":"https://metacpan.org/release/CJCOLLIER/Google-Auth-0.12/source/bin/gcloud-auth.pl","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74760","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74760","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to a future Google-Auth release.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"Run gcloud-auth login and gcloud-auth application-default login with --no-browser, which uses the out-of-band flow without a loopback listener.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Google::Auth"],"packageName":"Google-Auth","packageURL":"pkg:cpan/Google-Auth","programFiles":["bin/gcloud-auth.pl"],"repo":"https://github.com/GoogleCloudPlatform/google-auth-library-perl","versions":[{"lessThanOrEqual":"0.12","status":"affected","version":"0.11","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"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.\n\nThe 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.\n\nA 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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-346","description":"CWE-346 Origin Validation Error","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-01T16:43:34.512Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["technical-description"],"url":"https://metacpan.org/release/CJCOLLIER/Google-Auth-0.12/source/bin/gcloud-auth.pl"}],"solutions":[{"lang":"en","value":"Upgrade to a future Google-Auth release."}],"source":{"discovery":"UNKNOWN"},"title":"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","workarounds":[{"lang":"en","value":"Run gcloud-auth login and gcloud-auth application-default login with --no-browser, which uses the out-of-band flow without a loopback listener."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-74760","datePublished":"2026-11-01T16:43:34.512Z","dateReserved":"2026-08-15T12:28:17.422Z","dateUpdated":"2026-11-01T16:43:34.512Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-01 17:16:34","lastModifiedDate":"2026-11-02 19:34:23","problem_types":["CWE-346","CWE-346 CWE-346 Origin Validation Error"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74760","Ordinal":"1","Title":"Google::Auth versions from 0.11 through 0.12 for Perl accept an ","CVE":"CVE-2026-74760","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74760","Ordinal":"1","NoteData":"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.\n\nThe 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.\n\nA 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.","Type":"Description","Title":"Google::Auth versions from 0.11 through 0.12 for Perl accept an "}]}}}