CVE-2026-66902

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

No configuration.

History

23 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de Google::Auth anteriores a la 0.06 para Perl ejecutan un comando especificado en un JSON de credenciales de external_account a través de una llamada al sistema sin control. La subclase Pluggable lee credential_source.executable.command del JSON de credenciales y lo ejecuta como ’system($command)’, una llamada de un solo argumento que pasa toda la cadena a /bin/sh -c. El mapa environment_variables del ejecutable del mismo JSON se copia primero en %ENV. Ninguna compuerta de aceptación protege la llamada. make_creds selecciona la subclase Pluggable siempre que credential_source.executable esté presente, por lo que se llega a la ruta desde el flujo estándar de Credenciales Predeterminadas de la Aplicación, incluyendo una configuración ’type’: ’external_account’ leída del archivo especificado por GOOGLE_APPLICATION_CREDENTIALS. Las configuraciones sin credential_source.executable no seleccionan esta subclase y no llegan a la llamada. Cualquier llamador que construya credenciales a partir de una configuración que no controla completamente ejecuta el comando incrustado con los privilegios del proceso de la aplicación.

Information

Published : 2026-08-04 21:16

Updated : 2026-10-24 16:10


NVD link : CVE-2026-66902

Mitre link : CVE-2026-66902

CVE.ORG link : CVE-2026-66902


JSON object : View

Products Affected

No product.

CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-829

Inclusion of Functionality from Untrusted Control Sphere