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

Wed, 05 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Cjcollier
Cjcollier google::auth
Vendors & Products Cjcollier
Cjcollier google::auth

Tue, 04 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
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.
Title Google::Auth versions before 0.06 for Perl run a command named in an external_account credentials JSON via an ungated system call
Weaknesses CWE-78
CWE-829
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published: 2026-08-04T20:49:43.171Z

Updated: 2026-08-05T19:27:48.767Z

Reserved: 2026-07-28T08:28:27.249Z

Link: CVE-2026-66902

cve-icon Vulnrichment

Updated: 2026-08-04T22:24:41.647Z

cve-icon NVD

Status : Deferred

Published: 2026-08-04T21:16:37.253

Modified: 2026-08-26T16:51:19.490

Link: CVE-2026-66902

cve-icon Redhat

No data.