CVE-2026-74759 PUBLISHED

Google::Auth versions 0.12 for Perl allow server side request forgery via unvalidated credential_source URLs in AWS external account credentials

Assigner: CPANSec
Reserved: 15.08.2026 Published: 01.11.2026 Updated: 01.11.2026

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.

Product Status

Package Collection https://cpan.org/modules
Package Name Google-Auth
Versions Default: unaffected
  • Version 0.12 is affected

Workarounds

Ensure that every credentials configuration reaching the Application Default Credentials flow comes from a trusted source.

Solutions

Upgrade to a future Google-Auth release.

References

Problem Types

  • CWE-918 Server-Side Request Forgery (SSRF) CWE