Skip to content
High 8.8

Google::Auth for Perlに認証を回避される脆弱性、ローカルの攻撃者が自分のアカウントを紐付け

CVE-2026-74760 First seen on SecPulse

Summary

Google::Auth for Perlの0.11から0.12までの版では、gcloud-authのログイン処理がOAuthのstateを確認しないため、同じPC上の攻撃者が自分のGoogleアカウントの認証コードを送り込めます。CLIはそれを交換して更新トークンを利用者の認証情報として保存するため、利用者のツールが攻撃者のアカウントで動いてしまいます。修正版の有無は公表されていないため、最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Google::Auth for Perlの0.11から0.12までの版では、gcloud-authのログイン処理がOAuthのstateを確認しないため、同じPC上の攻撃者が自分のGoogleアカウントの認証コードを送り込めます。CLIはそれを交換して更新トークンを利用者の認証情報として保存するため、利用者のツールが攻撃者のアカウントで動いてしまいます。修正版の有無は公表されていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
CPANGoogle-Auth
0.11 – 0.12→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details