{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:google:run-gemini-cli:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.1.22"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f77273f4c914e4bf38440cf36a0369cb64a37489"
            }
          ],
          "repo": "https://github.com/google-github-actions/run-gemini-cli",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wpqr-6v78-jr5g"
  ],
  "database_specific": {
    "unresolved_ranges": [
      {
        "cpes": [
          "cpe:2.3:a:google:gemini-cli:*:*:*:*:*:node.js:*:*"
        ],
        "extracted_events": [
          {
            "fixed": "0.39.1"
          }
        ],
        "source": "CPE_RANGE",
        "vendor_product": "google:gemini-cli"
      },
      {
        "cpes": [
          "cpe:2.3:a:google:gemini-cli:0.40.0:preview2:*:*:*:node.js:*:*"
        ],
        "extracted_events": [
          {
            "introduced": "0.40.0-preview2"
          },
          {
            "last_affected": "0.40.0-preview2"
          }
        ],
        "source": "CPE_STRING",
        "vendor_product": "google:gemini-cli"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-12537",
  "modified": "2026-08-07T11:31:09.439357720Z",
  "published": "2026-06-24T14:17:29.630Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5g"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}