OS Command Injection Affecting gemini-cli package, versions <0.49.0-r4


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
1.15% (63rd 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-17881845
  • published7 Jul 2026
  • disclosed19 Feb 2026

Introduced: 19 Feb 2026

CVE-2026-26318  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Chainguard gemini-cli to version 0.49.0-r4 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.

systeminformation is a System and OS information library for node.js. Versions prior to 5.31.0 are vulnerable to command injection via unsanitized locate output in versions(). Version 5.31.0 fixes the issue.