{
  "id": "CVE-2026-85259",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-85259",
  "published_at": "2026-12-01T20:22:16.134Z",
  "title": "Unauthenticated Remote Code Execution and Credential Exfiltration in Gemini CLI GitHub Actions Triage Workflows",
  "vendor": "Google",
  "product": "Gemini CLI",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/U:Amber"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-12-03T12:25:47Z",
    "first_seen_at": "2026-12-03T14:15:38.357Z",
    "days_after_publication": 1.7,
    "repo": "xiangmaster/cve-2026-85259-repro",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 10
  },
  "repos": [
    {
      "repo": "xiangmaster/cve-2026-85259-repro",
      "url": "https://github.com/xiangmaster/cve-2026-85259-repro",
      "created_at": "2026-12-03T12:25:47Z",
      "first_seen_at": "2026-12-03T14:15:38.357Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-08-28T06:56:30Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Google",
        "product": "Gemini CLI",
        "ranges": [
          "\u003c 2026-05-12"
        ],
        "fixed_in": [
          "2026-05-12"
        ]
      },
      {
        "vendor": "Google",
        "product": "run-gemini-cli GitHub Action",
        "ranges": [
          "\u003c 2026-05-12"
        ],
        "fixed_in": [
          "2026-05-12"
        ]
      }
    ],
    "solutions": [
      "1. Update workflows to the latest hardened versions of google-github-actions/run-gemini-cli and @google/gemini-cli (or disable/remove legacy automated issue triage workflows running on untrusted public issue inputs).\n2. Configure persist-credentials: false on actions/checkout steps in workflows that process untrusted inputs.\n3. Restrict tool allowlists (coreTools) and avoid enabling unrestricted shell execution (run_shell_command / --yolo) when triaging untrusted issues or pull requests.\n4. Rotate any repository secrets (GEMINI_API_KEY, APP_PRIVATE_KEY) that were present on affected workflow runners."
    ],
    "upgrade": [
      "Upgrade Gemini CLI to 2026-05-12 or later.",
      "Upgrade run-gemini-cli GitHub Action to 2026-05-12 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/google-github-actions/run-gemini-cli/pull/518"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/google-gemini/gemini-cli/pull/26897"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
