{"data":{"id":"829aa091-3781-4ac6-a53a-345e93ea955f","title":"Google Fixes CVSS 10 Gemini CLI CI RCE and Cursor Flaws Enable Code Execution","summary":"Google fixed a maximum-severity flaw (CVSS 10.0, no CVE identifier) in Gemini CLI, affecting the \"@google/gemini-cli\" npm package below 0.39.1 and 0.40.0-preview.3, and \"google-github-actions/run-gemini-cli\" below 0.1.22. Because the tool automatically trusted workspace folders in headless mode, an external attacker could plant malicious configuration in the local .gemini/ directory and trigger command execution on the host before the sandbox initialized. A separate high-severity Cursor flaw (CVE-2026-26268, CVSS 8.1) before version 2.5 allowed sandbox escape through .git configurations, enabling code execution via prompt injection.","solution":"Fixed in @google/gemini-cli 0.39.1 and 0.40.0-preview.3, and run-gemini-cli 0.1.22. The update requires folders to be explicitly trusted before configuration files are accessed. Users should set GEMINI_TRUST_WORKSPACE: 'true' in workflows that run on trusted inputs; for untrusted inputs, review Google's guidance in google-github-actions/run-gemini-cli to harden the workflow and set the environment variable. Cursor's fix is in version 2.5 or later.","labels":["security","industry"],"sourceUrl":"https://thehackernews.com/2026/04/google-fixes-cvss-10-gemini-cli-ci-rce.html","publishedAt":"2026-04-30T07:07:00.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"medium","attackType":["prompt_injection"],"issueType":"news","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":["Google"],"affectedVendorsRaw":["Gemini CLI","Gemini","google-github-actions/run-gemini-cli","Cursor"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssCheckedAt":null,"kevDateAdded":null,"advisoryAliases":null,"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":null,"disclosureDate":"2026-04-30T07:07:00.000Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"agent","llmSpecific":true,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0051"]}}