CVE-2026-66902 Details
Description
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.
A command injection vulnerability has been identified in Google::Auth versions prior to 0.06 for Perl. This issue arises in the Pluggable subclass of External Account Credentials, which executes a command specified in the credentials JSON via an unprotected system call. The vulnerability can be exploited by crafting a credentials file that includes a malicious command in the 'credential_source.executable.command' field. When this credential is used, the command is executed with the application's process privileges, potentially leading to unauthorized actions or access.
Users can update to Google::Auth version 0.06 or later, where this vulnerability has been addressed by introducing a validation gate for executable commands, a bounded timeout for command execution, and schema validation for command output.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 4, 2026CISA-ADP
Assessed Aug 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/GoogleCloudPlatform/google-auth-library-perl/commit/c95c77e70bec94f17e239d88050f843ea1cade95.patch | CPANSec | Source CodeVendor |
| https://metacpan.org/release/CJCOLLIER/Google-Auth-0.06/diff/CJCOLLIER/Google-Auth-0.05 | CPANSec | Source CodeVendor |
| http://www.openwall.com/lists/oss-security/2026/08/04/35 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | CPANSec |
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Google::Auth | < 0.06 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 4, 2026 | CVE Modified | CVE |
| Aug 4, 2026 | New CVE Received | CPANSec |
Volerion