Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious credentials JSON with attacker-controlled URLs
-
DeliverySupply JSON to target application (upload, config injection, or supply-chain)
-
ExploitApplication calls Google::Auth make_creds without URL validation
-
ExecutionLibrary issues HTTP request to attacker's endpoint with live credentials in headers or body
-
PersistAttacker server captures tokens or client secrets
-
ImpactUse captured refresh token or access token to access victim's GCP resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application constructs a Google::Auth credential object from a credentials JSON file that the attacker can influence or control - for example, a user-uploaded service account key, a credentials file sourced from an external configuration store, or a JSON payload accepted over an API. All four credential configuration types are exploitable: external_account (credential_source.url, token_url, service_account_impersonation_url), authorized_user (token_uri), impersonated_service_account (impersonation URL), and service_account (token_uri). The vulnerability is present in any application running Google::Auth before 0.09 on any platform where Perl is supported. Exploitation is limited by the requirement to influence the credentials JSON before the application initializes credentials - an attacker with no access to the credentials file or application configuration cannot trigger the SSRF. The service_account flow is further limited in that the signed JWT assertion is bound to the aud claim and cannot be replayed against Google APIs, reducing that specific exfiltration path to host-reachability probing rather than token theft. |
| Impact | The NVD CVSS 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) reflects the worst-case scenario where an application directly accepts user-supplied credentials JSON and the attacker has no account on the system. This is plausible in multi-tenant GCP tooling or CI/CD platforms where users upload their own service account key files. However, EPSS at 0.18% (8th percentile) signals that exploitation has not been observed at scale as of the analysis date, and the vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation. The gap between the high CVSS and low EPSS is consistent with a supply-chain or configuration-injection class of flaw: theoretically impactful but dependent on specific application architecture (apps that process externally sourced credentials JSON). The service_account flow carries a partial self-limiting factor: the signed JWT assertion is bound to the aud claim and therefore not directly replayable against Google APIs, reducing one exfiltration path. The most dangerous paths are external_account (live STS tokens forwarded to service_account_impersonation_url) and authorized_user (client secrets and refresh tokens posted to attacker-controlled token_uri). SSVC signals: exploitation status unconfirmed, automatable only if the targeted application routinely ingests external credentials JSON, technical impact is partial (confidentiality only). Real-world priority should be high for organizations running Perl GCP tooling that processes credentials from untrusted or semi-trusted sources, and low for closed, internally managed credential stores. |
| Exploit ScenarioDerived | An attacker operating a multi-tenant GCP automation platform uploads a crafted credentials JSON in which token_url, credential_source.url, and service_account_impersonation_url all point to an attacker-controlled server. When the victim application initializes credentials and calls fetch_access_token or retrieve_subject_token, Google::Auth issues outbound HTTP requests to the attacker's server carrying the STS access token in an Authorization: Bearer header and the client secret plus refresh token in the POST body. The attacker's server logs these values and uses the refresh token to mint new access tokens for the victim's GCP project. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Server-side request forgery in Google::Auth for Perl (versions before 0.09) allows credential exfiltration to attacker-controlled hosts when applications process credentials JSON they do not fully control. The library makes outbound HTTP requests to URLs read directly from the credentials JSON - including token endpoints, impersonation URLs, and credential source URLs - without validating that those hosts belong to googleapis.com or a pinned universe domain. All four credential types (external_account, authorized_user, impersonated_service_account, service_account) are affected, and each carries live credentials (subject tokens, refresh tokens, client secrets, or signed JWT assertions) in those requests. No public exploit has been identified at time of analysis, and EPSS is 0.18% (8th percentile), indicating low observed exploitation pressure despite the CVSS 7.5 score.
RemediationAI
Upgrade Google::Auth to version 0.09 or later via CPAN (cpan install Google::Auth or cpanm Google::Auth). This is the first release where _validate_url is applied to all four credential classes. The upstream commits are available at https://github.com/GoogleCloudPlatform/google-auth-library-perl/commit/c95c77e70bec94f17e239d88050f843ea1cade95, cd42bdef53afcc4531161e85e91d0d5997e01324, 9b5157062acc605ca9e6c507b910587f4829ce9e, and cbbb07804e3f8cc7cf9638ecc9c2097d80a9ef50. If immediate upgrade is not possible, a compensating control is to audit and strictly control which credentials JSON files are loaded by the application, rejecting any JSON that originates from user input, external APIs, or unvalidated storage paths. Block outbound HTTP from the application host to link-local ranges (169.254.0.0/16) and RFC-1918 private ranges via egress firewall rules; note that this does not prevent exfiltration to attacker-controlled public hosts and is not a substitute for patching. Do not rely on versions 0.06-0.08 as complete mitigations, since each covers only a subset of credential types.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Google::Auth is the official Perl client library for Google Cloud Platform authentication (CPAN: cpe:2.3:a:cjcollier:google::auth:*:*:*:*:*:*:*:*), distributed by CPANSec under author CJCOLLIER. The library implements the Application Default Credentials pattern, supporting four credential flows that each issue outbound HTTP requests to token or impersonation endpoints. The root cause (CWE-918: Server-Side Request Forgery) is the absence of host validation against a pinned expected domain before any of those outbound requests are made. Because all URL fields - credential_source.url, token_url, service_account_impersonation_url, token_uri - are read verbatim from the credentials JSON, an attacker who controls that JSON can redirect the library's HTTP calls to arbitrary hosts, including link-local metadata endpoints (169.254.169.254) and internal network services. The fix, implemented progressively across versions 0.06 through 0.09, introduced a _validate_url method that uses the Perl URI module to parse and compare the host against googleapis.com and the pinned universe_domain, rejecting any URL whose host does not match. Notably, version 0.06's initial fix was itself incomplete: universe_domain was read from the same untrusted credentials JSON, making the check bypassable until version 0.07 gated custom domains behind the GOOGLE_EXTERNAL_ACCOUNT_ALLOW_CUSTOM_UNIVERSES=1 environment variable, and version 0.08 moved the pin decision to an explicit constructor argument. Version 0.09 extended coverage to ServiceAccountCredentials, completing the fix.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
PR:L reflects that influencing the credentials JSON requires at minimum low-privilege access to the application; AV:N and C:H stand given token exfiltration over network requests.
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
3DescriptionCVE.org
Google::Auth versions before 0.09 for Perl allow server side request forgery and credential exfiltration via unvalidated URLs taken from the credentials JSON.
The URLs the library requests are read from the credentials JSON, and their hosts were not checked against the universe domain before the request. For an external_account configuration, retrieve_subject_token fetched credential_source.url with headers from the same JSON, and fetch_access_token posted the subject token to token_url, then sent the STS access token it received to service_account_impersonation_url in an Authorization: Bearer header. The authorized_user, impersonated_service_account and service_account configurations posted the client secret and refresh token, the source access token, and a signed JWT assertion to their own JSON-supplied token_uri or impersonation URL.
Any caller that builds credentials from a configuration it does not fully control issues those requests from the application's network position, reaching hosts the configuration names, including internal services and link-local metadata endpoints, and hands them the credentials each request carries. The service_account assertion is bound to aud, so it is not replayable against Google.
Version 0.06 added a _validate_url host check to the external_account class, keyed on a universe_domain read from the same credentials JSON. Version 0.07 gated a JSON-supplied universe domain behind GOOGLE_EXTERNAL_ACCOUNT_ALLOW_CUSTOM_UNIVERSES=1, deriving the pin flag from arguments that an earlier BUILDARGS pass had already merged on the make_creds path. Version 0.08 passed the pin decision through as an explicit constructor argument and moved _validate_url to Google::Auth::Credentials, adding the call to UserRefreshCredentials and ImpersonatedServiceAccountCredentials, and 0.09 added it to ServiceAccountCredentials.
Executive ViewAI
Google::Auth for Perl versions before 0.09 enable attackers to steal API keys and authentication credentials when applications process untrusted configuration files from external sources. Organizations using vulnerable versions face credential theft risk if they accept credential input from users or third-party services. No public exploit has been identified at time of analysis, but immediate patching is required to prevent unauthorized access to cloud services and APIs.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-52920
GHSA-xxpm-5c34-x4c3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB