CVE-2026-6951 Affecting gemini-cli package, versions <0.49.0-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.88% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-GEMINICLI-17872364
  • published7 Jul 2026
  • disclosed25 Apr 2026

Introduced: 25 Apr 2026

CVE-2026-6951  (opens in a new tab)

How to fix?

Upgrade Chainguard gemini-cli to version 0.49.0-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gemini-cli package and not the gemini-cli package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete fix for CVE-2022-25912 that blocks the -c option but not the equivalent --config form. If untrusted input can reach the options argument passed to simple-git, an attacker may still achieve remote code execution by enabling protocol.ext.allow=always and using an ext:: clone source.

CVSS Base Scores

version 3.1