Gemini CLI GitHub workflows allow command execution (CVE-2026-85259)
Original title: Critical Gemini CLI Vulnerability Lets Hackers Run Malicious Commands Without Login
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.
- 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.
Impact: Remote command execution and sensitive file reads in CI jobs
| Product | Affected | Fixed in |
|---|---|---|
| Google Gemini CLI | legacy workflows from before May 12, 2026 | hardened revisions from May 12, 2026 or later |
| Google run-gemini-cli GitHub Action | before May 12, 2026 | May 12, 2026 or later |
- 1.Update the CLI, action, and copied templates to revisions from May 12, 2026 or later.
- 2.Pin the action to a verified commit SHA and remove unnecessary shell and --yolo access.
- 3.Review past runs and rotate credentials that may have been exposed.
- CVEs
- CVE-2026-85259
- Vendors
- Products
- Gemini CLIrun-gemini-cli
- Organizations
- Ostorlab
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| 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 […]
By Guru Baran · cybersecuritynews.com
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.