Skip to main content

Google::Auth CVE-2026-66901

| EUVDEUVD-2026-52920 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-08-04 CPANSec GHSA-xxpm-5c34-x4c3
7.5
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious credentials JSON with attacker-controlled URLs
  2. Delivery
    Supply JSON to target application (upload, config injection, or supply-chain)
  3. Exploit
    Application calls Google::Auth make_creds without URL validation
  4. Execution
    Library issues HTTP request to attacker's endpoint with live credentials in headers or body
  5. Persist
    Attacker server captures tokens or client secrets
  6. Impact
    Use 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Google::Auth 0 <0.09

Affected Packages

euvd google_auth fix: 0.09

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

Vendor (CPANSec) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
Aug 05, 2026 - 20:22 NVD
7.5 (HIGH)
CVE Published
Aug 04, 2026 - 20:49 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 04, 2026 - 20:49 cve.org
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
Perl-specific Google auth library with limited enterprise adoption
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy