# 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

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-02)
- Published: 2026-08-04T20:49:43.171Z
- Modified: 2026-10-24T16:10:00.153Z
- Weaknesses: CWE-78, CWE-829
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

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

(As written by CVE List.)

## Affected

- Google-Auth: before 0.06

## References

- <https://github.com/GoogleCloudPlatform/google-auth-library-perl/commit/c95c77e70bec94f17e239d88050f843ea1cade95.patch> (patch)
- <https://metacpan.org/release/CJCOLLIER/Google-Auth-0.06/diff/CJCOLLIER/Google-Auth-0.05>
- <http://www.openwall.com/lists/oss-security/2026/08/04/35>

## Sources

- CVE List: [CVE-2026-66902](https://www.cve.org/CVERecord?id=CVE-2026-66902), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-66902](https://nvd.nist.gov/vuln/detail/CVE-2026-66902), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-66902 · Whole record: https://cve.day/CVE-2026-66902.json · Rebuilt by cve.day 2026-11-25T22:59:31.024Z
