CVE-2026-85259CVSS 10Gemini automated-triage code injection
Google assigns CVSS 4.0 10.0 to crafted-issue command execution or sensitive-file access in legacy Gemini CLI and run-gemini-cli workflows; also GHSA-g6vw-c6rx-j9ph.
Google disclosed CVE-2026-85259 in legacy Gemini CLI and run-gemini-cli issue-triage workflows. Crafted public issues can cause runner command execution or sensitive-file reads. Update copied workflows as well as tooling, remove retained credentials and rotate exposed secrets; no exploitation is confirmed.
Issue text meant to choose a label can influence an agent running on a credential-bearing CI machine, crossing from untrusted data into privileged tools.
Google disclosed CVE-2026-85259 on December 1 for automated triage workflows using Gemini CLI and the run-gemini-cli GitHub Action. Crafted GitHub issue inputs can let an unauthenticated remote attacker execute commands or read sensitive files on the runner. The same issue is tracked as GHSA-g6vw-c6rx-j9ph. Google’s CVSS 4.0 score is 10.0; the available record does not confirm attacks or identify victims, so this is rated L3 rather than a confirmed exploitation incident.
Exposure depends on the workflow, not merely installing Gemini. Google’s affected range is date-based, before May 12, 2026, for legacy automated triage configurations. A newer repository can still copy an old workflow; a repository using Gemini without this untrusted-input/tool/credential path is not automatically affected. No fixed npm version or complete supported-branch package range is supplied, so a normal dependency upgrade or version checker is insufficient.
The historical Gemini CLI triage workflow shows separate paths for opened/reopened issues and comment requests. Comments need an authorized author association, but that check does not cover the issue-opening path. Repository-name and existing area-label conditions also apply to this particular example. It writes issue content through environment variables into issue_context.md, then lets the agent read that file with read_file and a restricted echo shell tool. Passing values through environment variables avoids direct shell-expression interpolation at that preparation step; it does not make issue text trusted instructions. This is a workflow trust-boundary problem, not evidence that every invocation permits unrestricted shell access.
The Gemini analysis step clears GITHUB_TOKEN, yet checkout v5 previously retained Git authentication in .git/config in the same workspace. Readable credentials can remain available even when one environment variable is empty. The job also has Gemini API and cloud workload-identity inputs, and later label-writing steps use credentials. The May hardening PRs disable checkout persistence; they do not revoke credentials explicitly provided to the agent or replace all other tool, trigger and permission controls.
Google requires updating hardened workflows and tooling or disabling legacy triage, disabling checkout credential persistence, restricting tools and rotating secrets that were present on affected runners. Audit every trigger and separate untrusted analysis from narrowly authorized writes. Preserve prior run and issuer audit evidence when investigating exposure. CISA’s December 2 enrichment lists no exploitation, which must not be turned into a guarantee that deployments are safe. No attack IoCs or confirmed loss total are published by these sources.
CVE-2026-85259CVSS 10Google assigns CVSS 4.0 10.0 to crafted-issue command execution or sensitive-file access in legacy Gemini CLI and run-gemini-cli workflows; also GHSA-g6vw-c6rx-j9ph.
May 11, 2026
run-gemini-cli checkout-hardening change merged
PR #518 adjusts six workflow files. Four already disabled persistence using a quoted false value; those edits normalize YAML rather than introduce a new protection.
May 12, 2026
Gemini CLI checkout-hardening change merged
PR #26897 adds persist-credentials: false across 33 workflows. These are configuration changes, not a published fixed npm version.
Dec 1, 2026, 20:22 UTC
Google publishes the vulnerability and remediation
The CNA record describes unauthenticated code injection, a date-based affected range before May 12, and four remediation steps. The GHSA record follows later that day.
Dec 2, 2026
CISA enrichment records no exploitation
Its dated SSVC assessment lists exploitation as none and the attack as automatable. This is not proof that every deployed workflow is safe.
Dec 3, 2026
StepSecurity analyzes the historical trigger and credential path
The analysis explains why comment-author checks do not protect issue-opening triggers and why an empty GITHUB_TOKEN variable does not remove checkout credentials retained on disk.
We list each claim and who made it. Primary sources (the vendor, the researcher, the registry) are marked. Where reports disagree, we grade by the worst credible case.