CVE-2026-66902: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in CJCOLLIER Google::Auth
CVE-2026-66902 is a critical OS command injection vulnerability in Google::Auth for Perl versions before 0.06. The vulnerability arises because the Pluggable subclass executes a command specified in an external_account credentials JSON file without proper validation or gating. This command is run via a system call that passes the entire string to the shell, allowing arbitrary command execution with the privileges of the application process. The vulnerability is reachable through the standard Application Default Credentials flow when the configuration includes credential_source.executable. No patch or official remediation guidance is currently available.
AI Analysis
Technical Summary
Google::Auth versions prior to 0.06 for Perl contain an OS command injection vulnerability (CWE-78) due to improper neutralization of special elements in an OS command. The Pluggable subclass reads the command from credential_source.executable.command in an external_account credentials JSON and executes it using a system call without any gating or validation. The environment variables from the JSON are set before execution. This allows an attacker who can supply or modify the credentials JSON to execute arbitrary commands with the application's privileges. The vulnerability is triggered when the credential_source.executable field is present, which causes make_creds to select the vulnerable subclass. Configurations lacking this field do not trigger the vulnerability.
Potential Impact
An attacker who can supply or manipulate the external_account credentials JSON file can execute arbitrary OS commands with the privileges of the application process. This can lead to full compromise of the host running the vulnerable Google::Auth Perl module. The vulnerability has a CVSS score of 9.8, indicating critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted or user-controlled external_account credentials JSON files that include the credential_source.executable field. Restrict access to credential files and validate or sanitize any external_account configurations before use.
CVE-2026-66902: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in CJCOLLIER Google::Auth
Description
CVE-2026-66902 is a critical OS command injection vulnerability in Google::Auth for Perl versions before 0.06. The vulnerability arises because the Pluggable subclass executes a command specified in an external_account credentials JSON file without proper validation or gating. This command is run via a system call that passes the entire string to the shell, allowing arbitrary command execution with the privileges of the application process. The vulnerability is reachable through the standard Application Default Credentials flow when the configuration includes credential_source.executable. No patch or official remediation guidance is currently available.
CVSS v3.1
Score 9.8critical
Affected software
CJCOLLIER
Google::Auth
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Google::Auth versions prior to 0.06 for Perl contain an OS command injection vulnerability (CWE-78) due to improper neutralization of special elements in an OS command. The Pluggable subclass reads the command from credential_source.executable.command in an external_account credentials JSON and executes it using a system call without any gating or validation. The environment variables from the JSON are set before execution. This allows an attacker who can supply or modify the credentials JSON to execute arbitrary commands with the application's privileges. The vulnerability is triggered when the credential_source.executable field is present, which causes make_creds to select the vulnerable subclass. Configurations lacking this field do not trigger the vulnerability.
Potential Impact
An attacker who can supply or manipulate the external_account credentials JSON file can execute arbitrary OS commands with the privileges of the application process. This can lead to full compromise of the host running the vulnerable Google::Auth Perl module. The vulnerability has a CVSS score of 9.8, indicating critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted or user-controlled external_account credentials JSON files that include the credential_source.executable field. Restrict access to credential files and validate or sanitize any external_account configurations before use.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-07-28T08:28:27.249Z
- State
- PUBLISHED
Threat ID: 6a72559fbf8831d53976f813
Added to database: 08/04/2026, 21:11:59 UTC
Last enriched: 08/12/2026, 15:11:12 UTC
Last updated: 09/17/2026, 22:01:37 UTC
Views: 65
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.