Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply attacker-controlled external_account credentials JSON
-
DeliveryApp triggers ADC / make_creds selects Pluggable subclass
-
Exploitcredential_source.executable.command passed to system()
-
Execution/bin/sh -c executes embedded command
-
ImpactArbitrary 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
3DescriptionCVE.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
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.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-52921
GHSA-vjmh-7f4c-cx88
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB