Saturday 5 December 2026 · UTC
Global

Your region, kept on this device.

Critical Gemini CLI flaw (CVE-2026-85259) lets remote attackers run commands via crafted GitHub issues

Compiled by RedTeamDaily · AI-assisted summaries · Human review pending

Published

Read Cyber Security News report

What happened

CVE-2026-85259 is a critical flaw in legacy workflows of and the GitHub Action from before May 12, 2026, rated CVSS v4.0 10.0. A remote attacker who can submit crafted GitHub issue text reaching an affected workflow could execute commands and read files, without runner access or repository privileges. Commands run with the job's permissions, so exposed tokens are the main concern.

For IT people · Written by AI from 1 source · Report an error

In depth

The flaw sits in the automation around Gemini CLI, not in the Gemini model or normal local CLI use. Vulnerable workflows used Gemini to sort issues, review contributions or prepare fixes, and received issue titles and descriptions through environment variables.

The GitHub advisory confirms command execution and file reading but does not publish the exact payload or execution sequence. Commands run with the permissions available to the workflow job, and the documented issue-fixer workflow supplied GITHUBTOKEN to the agent step. Articles note that command execution alone does not establish that repository changes occurred, and that not every repository secret necessarily reached the agent.

Google's patch added persist-credentials: false across 33 workflow files. This stops checkout from saving its credential but does not block access to an explicitly supplied GITHUBTOKEN, so token scope still matters.

Key points
  • The attack needs no runner access or repository privileges, only the ability to submit text that reaches an affected workflow.
  • Ostorlab reported no public proof of concept or known exploitation for this CVE as of December 2.
  • Updating the package does not update workflow files, so the workflow copies must be changed too.
Q&A
Is this vulnerability being exploited in the wild?
Ostorlab reported no public proof of concept or known exploitation for this CVE as of December 2. The article adds that this absence does not prove exposed credentials stayed safe.
Sources (1)
  1. Critical Gemini CLI Vulnerability Lets Hackers Run Malicious Commands Without LoginCyber Security News · 2 Dec 2026, 14:34 UTC
Story priority
Critical
Highest CVSS
10.0
Exploitation
Not established here
Publishers
1
Why these vulnerabilities are attached
  • CVE-2026-85259 · primary subject

    Imported association; relationship review not recorded

    Relationship review not recorded.

Affected products and technical context

Check the product, release branch and deployment conditions in the advisory for your installation.

  • CVE-2026-85259 · CVSS 10.0

    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.

    Exploitation: Not established by our CVE data. This does not establish that attacks have not occurred.

    Affected products: Not yet available in our structured data. Check affected version ranges.

    Fixed releases · Consult the linked advisory for the current release information.

    Choose the fix for your release branch. CVE record · NVD record

Sources and editorial review

Priority basis: Automatic priority from linked CVSS scores and CISA KEV status.

Human review pending.

How severity and exploitation labels work · All sources · Report an error

What to do

  1. Search .github/workflows for run-gemini-cli references and identify jobs that process untrusted issue or pull-request text.
  2. Update the Gemini CLI, the action and any copied templates to hardened revisions from May 12 or later, and pin the action to a verified full commit SHA.
  3. Remove unnecessary shell command access and --yolo settings, narrow token permissions, and require maintainer approval before processing outside input.
  4. Review past workflow runs for unexpected commands, unfamiliar network requests and unexplained repository changes, and rotate credentials potentially exposed during affected runs.

Written by AI from the sources, checked against them

Source timeline (UTC) · 2 updates

1 published report from 1 publisher. Independent confirmations are unverified.

  1. Tue 1 DecemberCVE-2026-85259 published, CVSS 10.0NVD
  2. Wed 2 DecemberCritical Gemini CLI Vulnerability Lets Hackers Run Malicious Commands Without LoginCyber Security News

Explore this report

Check my watchlist Requires sign-in · matches your saved products without AI.

Ask AI about this story

Optional follow-up answers generated from our coverage. Check the linked sources before acting.

Ask your own question

Who and what is in it

Companies

Report a problem