Summary
  • A code injection flaw in Gemini CLI triage workflows scores 10.0.
  • Crafted GitHub issue text could run commands or read files.
  • Versions before May 12, 2026 on GitHub Actions are affected.
  • No exploitation in the wild is confirmed.

Google Gemini CLI had a flaw that turns issue text into commands. The flaw sits in automated triage workflows. Those workflows read GitHub issues and sort them. Crafted issue text could run arbitrary commands or read sensitive files. The Common Vulnerability Scoring System (CVSS) score is 10.0. No account is needed to file the issue. Common Vulnerabilities and Exposures (CVE) is the record system for known flaws. For a repository review, establish which workflows ran the affected version and what permissions each one held.

The flaw

CVE-2026-85259 is an operating system command injection flaw. The weakness is improper handling of special elements in a shell command. It is tracked as CWE-78.

The affected automation can execute untrusted issue content with the permissions of its GitHub Actions workflow. Review the workflow token, repository permissions, and files accessible to the runner when assessing past exposure.

What is affected

Gemini CLI and the run-gemini-cli GitHub Action are affected. Versions before 2026-05-12 on GitHub Actions carry the flaw. Google fixed it on May 12, 2026. The fix changed how the workflows check out code. It stops credentials from persisting into later steps. The fix is in two pull requests. One is in the Gemini CLI repo. One is in the run-gemini-cli repo.

The flaw was reported by Dan Lisichkin. The National Vulnerability Database (NVD) published the record on December 1, 2026. The score is CVSS 4.0 10.0. The vector shows network access, low complexity, and no privileges needed.

What to do now

  • List every repo that runs the Gemini triage workflows.
  • Confirm the fix date for each repo.
  • Check workflow runs from before May 12, 2026.
  • Look for odd commands or odd file reads in those runs.
  • Record the check date for each repo.

A workflow run log is the evidence. It shows what the workflow did. It shows what files it read. Keep the logs for runs that handled outside issues. A repo with no logs cannot prove it was safe.

What is not confirmed

No exploitation in the wild is confirmed. Do not claim attacks happened. The flaw still matters. Any team that ran the old triage workflows should check their logs. The check is cheap. The cost of a missed intrusion is not.

The flaw is not in the Known Exploited Vulnerabilities (KEV) catalog of the Cybersecurity and Infrastructure Security Agency (CISA). Absence from KEV does not mean the flaw is safe. A 10.0 score in a tool that runs your code is enough to act.

The governance lesson

An AI tool that reads outside text is an input path, not a helper. Issue text is untrusted input. It must never reach a shell command. Your evidence must list every AI tool and automation that touches your repos. It must show the version or the fix date for each one. It must show the workflow logs after the fix. PolicyCortex collects version and patch evidence from live systems. That record is what an assessor reads.

Sources

Next step

List every repo that runs the Gemini triage workflows, then confirm the fix date for each one.

Questions on this record
What is the flaw?
Code injection in automated triage workflows. Crafted GitHub issue text could run commands or read sensitive files.
Which versions are affected?
Gemini CLI and the run-gemini-cli GitHub Action, versions before May 12, 2026 on GitHub Actions.
Is it being exploited?
No exploitation in the wild is confirmed. Do not claim attacks happened.
What is the fix?
Google fixed it on May 12, 2026. Confirm the fix date for every repo that runs the triage workflows.

Related records

Guides and articles describe the work. The evidence that work produces is described in three proof pages, the architecture page, and the two pages on authorization.

proof.state
Proof of State. What the environment was, as of a date someone else picks: point-in-time records, content hashed and chained.
proof.change
Proof of Change. Who or what altered the environment, under what authority, with before and after state hashes.
proof.agency
Proof of Agency. What a machine was permitted to do before it acted, what it did, and what would have stopped it.
architecture
Architecture. How the chain is built and where the evidence is stored in each delivery mode.
authorization
Continuous ATO. How an authorizing official's decision is recorded with its package, and how the authorized system is checked against it every hour.
baseline
NIST SP 800-53. The Low, Moderate and High baselines as evidence, with the SSP, SAR and POA&M generated from one record.

Further reading in this register

Verify the record this entry describes.

Published
Last updated
Unchanged since publication
Author
Leonard Esere