GHSA-jj69-4grx-fqj5: Duplicate Advisory Remote Code Execution Vulnerability

CRITICAL
CVSS 7.8
CWE-78 CWE-20
Published
Advisory Summary

GHSA-jj69-4grx-fqj5 is a CRITICAL (CVSS 7.8) remote code execution vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Duplicate Advisory libraries in the GitHub Actions ecosystem. The issue involves gemini cli: remote code execution via workspace trust and tool allowlisting bypasses. Remediation is available by upgrading affected packages to version 0.1.22.

GHSA-jj69-4grx-fqj5 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-jj69-4grx-fqj5
Severity CRITICAL
CVSS v3.1 Base Score 7.8
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Duplicate Advisory
Package Ecosystem GitHub Actions
Published Date
Last Updated

Security Impact

CVSS: 7.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-jj69-4grx-fqj5

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

google-github-actions/run-gemini-cli fixed: 0.1.22
Upgrade google-github-actions/run-gemini-cli to 0.1.22
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for google-github-actions/run-gemini-cli

How to Check if You Are Affected

To determine whether your application is affected by GHSA-jj69-4grx-fqj5, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for google-github-actions/run-gemini-cli

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.22), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-wpqr-6v78-jr5g. This link is maintained to preserve external references. ### Original Description Improper Neutralization used in an OS Command in the container launcher in Google Gemini CLI (versions prior to 0.39.1) and run-gemini-cli GitHub Action (versions prior to 0.1.22) on headless CI platforms allows an unprivileged attacker to achieve pre-sandbox host-level code execution a maliciously crafted .gemini/.env file.

GHSA-jj69-4grx-fqj5 Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
0.1.22
Product / Package Ecosystem Affected Versions Fixed Version
google-github-actions/run-gemini-cli
GitHub Actions
< 0.1.22
0.1.22

References

Frequently Asked Questions

What is GHSA-jj69-4grx-fqj5?
GHSA-jj69-4grx-fqj5 is a security vulnerability in Duplicate Advisory involving Gemini CLI: Remote Code Execution via workspace trust and tool allowlisting bypasses under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 0.1.22 across affected packages: google-github-actions/run-gemini-cli.
What version fixes GHSA-jj69-4grx-fqj5?
Upgrading to 0.1.22 (or the latest patched release for your respective branch) resolves the vulnerability.
Is google-github-actions/run-gemini-cli affected?
Yes, google-github-actions/run-gemini-cli is affected in releases prior to 0.1.22. Upgrade your dependency to 0.1.22 or later.
What is the CVSS score of GHSA-jj69-4grx-fqj5?
GHSA-jj69-4grx-fqj5 has a CVSS v3.1 base score of 7.8 (CRITICAL) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-jj69-4grx-fqj5?
GHSA-jj69-4grx-fqj5 is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.).
How can I check GitHub Actions dependencies for GHSA-jj69-4grx-fqj5?
Run the dependency tree command: 'inspect dependencies for google-github-actions/run-gemini-cli'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jj69-4grx-fqj5",
  "modified" : "2026-09-24T20:05:24Z",
  "published" : "2026-06-24T15:31:46Z",
  "withdrawn" : "2026-09-24T20:05:24Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Gemini CLI: Remote Code Execution via workspace trust and tool allowlisting bypasses",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-wpqr-6v78-jr5g. This link is maintained to preserve external references.\n\n### Original Description\nImproper Neutralization used in an OS Command in the container launcher in Google Gemini CLI (versions prior to 0.39.1) and run-gemini-cli GitHub Action (versions prior to 0.1.22) on headless CI platforms allows an unprivileged attacker to achieve pre-sandbox host-level code execution a maliciously crafted .gemini/.env file.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Clear"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "GitHub Actions",
      "name" : "google-github-actions/run-gemini-cli"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.1.22"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5g"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-12537"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-78" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-24T20:05:24Z",
    "nvd_published_at" : "2026-06-24T14:17:29Z"
  }
}