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 credentialsource.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 environmentvariables map from the same JSON is copied into %ENV first. No opt-in gate guards the call. makecreds selects the Pluggable subclass whenever credentialsource.executable is present, so the path is reached from the standard Application Default Credentials flow, including a "type": "externalaccount" configuration read from the file named by GOOGLEAPPLICATIONCREDENTIALS. Configurations without credentialsource.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.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "0.06"
}
],
"source": "AFFECTED_FIELD"
},
{
"extracted_events": [
{
"fixed": "0.06"
}
],
"source": "DESCRIPTION"
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66902.json",
"cna_assigner": "CPANSec",
"cwe_ids": [
"CWE-78",
"CWE-829"
]
}