CVE-2026-85259 PUBLISHED

Unauthenticated Remote Code Execution and Credential Exfiltration in Gemini CLI GitHub Actions Triage Workflows

Assigner: GoogleCloud
Reserved: 03.09.2026 Published: 01.12.2026 Updated: 01.12.2026

A Code Injection vulnerability in automated triage workflows in Google Gemini CLI and run-gemini-cli GitHub Action versions prior to 2026-05-12 on GitHub Actions allows an unauthenticated remote attacker to execute arbitrary commands or read sensitive files using crafted GitHub issue inputs.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/U:Amber
CVSS Score: 10

Product Status

Vendor Google
Product Gemini CLI
Versions Default: unaffected
  • affected from 0 to 2026-05-12 (excl.)
Vendor Google
Product run-gemini-cli GitHub Action
Versions Default: unaffected
  • affected from 0 to 2026-05-12 (excl.)

Solutions

  1. Update workflows to the latest hardened versions of google-github-actions/run-gemini-cli and @google/gemini-cli (or disable/remove legacy automated issue triage workflows running on untrusted public issue inputs).
  2. Configure persist-credentials: false on actions/checkout steps in workflows that process untrusted inputs.
  3. Restrict tool allowlists (coreTools) and avoid enabling unrestricted shell execution (run_shell_command / --yolo) when triaging untrusted issues or pull requests.
  4. Rotate any repository secrets (GEMINI_API_KEY, APP_PRIVATE_KEY) that were present on affected workflow runners.

Credits

  • Dan Lisichkin reporter

References

Problem Types

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE

Impacts

  • CAPEC-88 OS Command Injection