Skip to content
NewA calmer, faster ZeroHour

Gemini CLI GitHub workflows allow command execution (CVE-2026-85259)

Original title: Critical Gemini CLI Vulnerability Lets Hackers Run Malicious Commands Without Login

Cyber Security Newsby Guru Baran ()2 min read2 · 1 read
Part of a story covered by 2 sourcesGemini CLI GitHub workflows scored CVSS 10 for command executionMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Legacy run-gemini-cli workflows from before May 12, 2026 score CVSS 10.0; no public exploit or known attacks are reported.

A flaw in Google Gemini CLI’s automated GitHub Actions workflows can let a remote attacker run commands and read files through crafted GitHub issue text. It affects legacy Gemini CLI workflows and the run-gemini-cli action from before May 12, 2026. Google published it on December 1 with a CVSS v4.0 score of 10.0. The advisory confirms command execution but does not publish a payload; Ostorlab said on December 2 there was no public proof of concept or known exploitation.

Unconfirmed: The advisory does not publish the payload, and repository writes or full secret exposure are not established.

Key facts
  • No runner access or repository privileges are required, only a path for issue text.
  • Issue titles and bodies reached the agent through ISSUE_TITLE and ISSUE_BODY.
  • Documented workflows supplied GITHUB_TOKEN; persisted checkout credentials can widen impact.
  • Google set persist-credentials to false across 33 workflow files.
  • Updating the package alone does not update copied workflow files.
Security assessment · AI, from the articleNo known exploitation

Impact: Remote command execution and sensitive file reads in CI jobs

ProductAffectedFixed in
Google Gemini CLIlegacy workflows from before May 12, 2026hardened revisions from May 12, 2026 or later
Google run-gemini-cli GitHub Actionbefore May 12, 2026May 12, 2026 or later
What to do
  1. 1.Update the CLI, action, and copied templates to revisions from May 12, 2026 or later.
  2. 2.Pin the action to a verified commit SHA and remove unnecessary shell and --yolo access.
  3. 3.Review past runs and rotate credentials that may have been exposed.
Analyze CVE-2026-85259 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-85259
Code injection in Gemini CLI GitHub Action triage
10.0—

From the original article

2 min read at cybersecuritynews.com

A critical vulnerability in Google Gemini CLI’s automated GitHub Actions workflows could let remote attackers execute commands and read sensitive files through crafted GitHub issue text. Tracked as CVE-2026-85259, the flaw affects legacy workflows in Gemini CLI and the run-gemini-cli GitHub Action from before May 12, 2026. Google published the vulnerability on December 1, with […]

Cyber Security News

By Guru Baran · cybersecuritynews.com

Read the full article at Cyber Security News

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.