Skip to main content

Google::Auth CVE-2026-66902

| EUVDEUVD-2026-52921 CRITICAL
OS Command Injection (CWE-78)
2026-08-04 CPANSec GHSA-vjmh-7f4c-cx88
9.8
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

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

  1. Access
    Supply attacker-controlled external_account credentials JSON
  2. Delivery
    App triggers ADC / make_creds selects Pluggable subclass
  3. Exploit
    credential_source.executable.command passed to system()
  4. Execution
    /bin/sh -c executes embedded command
  5. Impact
    Arbitrary code runs as application process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the application to build credentials through the ADC / make_creds path from a credentials JSON that (1) has type 'external_account' and (2) contains a credential_source.executable.command field, where the content of that JSON is at least partially attacker-controlled (e.g. the file named by GOOGLE_APPLICATION_CREDENTIALS, or any config the caller does not fully control). In versions before 0.06 there is no opt-in gate, so the command runs automatically. Limiting factors: configurations lacking credential_source.executable never select the Pluggable subclass and cannot trigger the call; the attacker must be able to influence the credential configuration content (a trusted, operator-owned credentials file is not exploitable by an outside attacker); the command executes with the privileges of the application process, not necessarily root.

Impact

Signals conflict and should be weighed rather than taken at face value. NVD scores this CVSS 9.8 (AV:N/AC:L/PR:N/UI:N, full C/I/A impact) reflecting unauthenticated RCE-grade impact, and the technical impact is genuinely total (arbitrary command execution as the app process). However, EPSS is only 0.20% (10th percentile), it is not on the CISA KEV list, and no public exploit was identified - consistent with a niche Perl library rather than a mass-exploited target. The most important nuance is the CVSS:N assumption: exploitation requires the application to build credentials from a credentials configuration the attacker can influence, so real-world 'network' reachability depends entirely on how the app sources its credential JSON. In deployments where GOOGLE_APPLICATION_CREDENTIALS points to a trusted, operator-controlled file, practical risk is low; where an app ingests untrusted or user-supplied credential configs, this is a direct, reliable RCE and should be treated as high priority. There is no SSVC decision published in the input to corroborate automatability.

Exploit ScenarioDerived

An application uses Google::Auth's ADC flow and reads its credentials from a location an attacker can influence - for example a config file, environment, or upload that sets GOOGLE_APPLICATION_CREDENTIALS to an attacker-supplied 'type: external_account' JSON. The attacker sets credential_source.executable.command to a shell payload (e.g. a reverse shell) and, because pre-0.06 has no opt-in gate, the moment the app requests credentials the payload runs via /bin/sh -c with the process's privileges. No public exploit is required - the sink is a plain system() call trivially reproduced from the patch diff.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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

Command injection in Google::Auth for Perl before 0.06 lets an attacker who controls an Application Default Credentials configuration achieve arbitrary code execution. When a 'type: external_account' credentials JSON contains a credential_source.executable block, the Pluggable subclass runs the named command via a single-argument system($command), handing the whole string to /bin/sh -c, and copies the JSON's environment_variables into %ENV first - all with no opt-in gate (the GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES check was added only in the fix). Reported by CPANSec with no public exploit identified at time of analysis and a low EPSS of 0.20%, but the code path is trivially reachable from the standard ADC flow via GOOGLE_APPLICATION_CREDENTIALS.

RemediationAI

Upgrade to the vendor-released patch: Google::Auth 0.06 from CPAN, which is the primary and complete fix. Version 0.06 introduces a mandatory opt-in gate so pluggable executables run only when GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES=1 is set, adds a command execution timeout, enforces output schema validation, and restricts external_account URLs (token_url, service_account_impersonation_url, credential_source.url) to googleapis.com or the configured universe_domain. If you cannot upgrade immediately, ensure the application never builds credentials from untrusted or externally influenced configuration: treat GOOGLE_APPLICATION_CREDENTIALS as pointing only to a file whose contents are fully operator-controlled, reject or strip any credential JSON whose 'type' is 'external_account' with a credential_source.executable block (configurations without that key never reach the vulnerable path), and run the application process with least privilege to limit blast radius. Note the trade-off: rejecting external_account/executable configs disables legitimate pluggable workload-identity-federation use. See the patch at https://github.com/GoogleCloudPlatform/google-auth-library-perl/commit/c95c77e70bec94f17e239d88050f843ea1cade95.patch and the advisory at https://seclists.org/oss-sec/2026/q3/435.

Affected VersionsENISA

Google::Auth 0 <0.06

Affected Packages

euvd google_auth fix: 0.06

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 a Perl port of Google's authentication libraries implementing Application Default Credentials (ADC) and workload identity federation. The affected component is Google::Auth::ExternalAccountCredentials::Pluggable, which supports 'pluggable' external account credentials that obtain a subject token by executing a local helper binary. The root cause is CWE-78 (OS Command Injection): the library reads credential_source.executable.command from the credentials JSON and passes it to Perl's system() in list-less single-string form, which delegates to /bin/sh -c and performs shell metacharacter interpretation. make_creds routes any configuration containing credential_source.executable to the Pluggable subclass, so the sink is reached from the ordinary ADC entry point that reads the file named by GOOGLE_APPLICATION_CREDENTIALS. The CPE identifies the affected package as cpe:2.3:a:cjcollier:google::auth (the CJCOLLIER CPAN distribution 'Google-Auth').

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 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Full RCE impact (C/I/A:H) with no library-level auth (PR:N), but AC:H because it hinges on the app consuming an attacker-influenced external_account+executable credential config rather than a default-reachable input.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/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
High
Availability
High

Lifecycle Timeline

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

DescriptionCVE.org

Google::Auth versions before 0.06 for Perl run a command named in an external_account credentials JSON via an ungated system call.

The Pluggable subclass reads credential_source.executable.command from the credentials JSON and runs it as system($command), a single argument call that passes the whole string to /bin/sh -c. The executable's environment_variables map from the same JSON is copied into %ENV first. No opt-in gate guards the call. make_creds selects the Pluggable subclass whenever credential_source.executable is present, so the path is reached from the standard Application Default Credentials flow, including a "type": "external_account" configuration read from the file named by GOOGLE_APPLICATION_CREDENTIALS. Configurations without credential_source.executable do not select this subclass and do not reach the call.

Any caller that builds credentials from a configuration it does not fully control runs the embedded command with the privileges of the application process.

Executive ViewAI

Why It Matters

Google::Auth for Perl before version 0.06 contains a critical command injection vulnerability enabling unauthenticated remote code execution on systems processing external account credentials. Organizations using this library face direct risk of unauthorized server access and potential data compromise, particularly those integrating with Google Cloud Platform identity services. The vulnerability is trivially exploitable once an attacker controls a credentials configuration file, making it a critical patch priority despite current low exploitation prevalence.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche Perl port of Google auth; limited real-world CPAN deployment
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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