Security Advisories (2)
CVE-2026-74759 (2026-11-01)

Google::Auth versions 0.12 for Perl allow server side request forgery via unvalidated credential_source URLs in AWS external account credentials. An external_account configuration with the AWS subject token type selects Google::Auth::ExternalAccountCredentials::Aws. Its retrieve_subject_token sends requests to the imdsv2_session_token_url, url and region_url fields of credential_source without the host check that the other credential classes apply. Any caller that builds credentials from a configuration it does not fully control issues GET and PUT requests to hosts the configuration names, including internal services and link-local metadata endpoints.

CVE-2026-74760 (2026-11-01)

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.

NAME

Application default credentials.

Google::Auth - Implements application default credentials and project ID detection.

VERSION

Version 0.12

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

use Google::Auth;

my $gauth = Google::Auth->new();
...

EXPORT

A list of functions that can be exported. You can delete this section if you don't export anything, such as for a purely object-oriented module.

SUBROUTINES/METHODS

default( $scopes, $options )

Gets the default credentials for the current environment.

CONFIGURATION AND ENVIRONMENT

GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES

Set to '1' to allow Pluggable Credentials to execute external commands. Default is '0' (disabled).

GOOGLE_EXTERNAL_ACCOUNT_ALLOW_CUSTOM_UNIVERSES

Set to '1' to allow custom universes in credentials files loaded from JSON. Default is '0' (disabled).

AUTHOR

C.J. Collier, <cjac at google.com>

BUGS AND SUPPORT

Please report any bugs or feature requests to the GitHub issue tracker at https://github.com/GoogleCloudPlatform/google-auth-library-perl/issues or via RT at https://rt.cpan.org/Dist/Display.html?Name=Google-Auth.

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2020 Google LLC and contributors

This program is released under the following license: Apache 2.0