Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. interactive-git-checkout
  4. ›
  5. CVE-2025-59046

CVE-2025-59046: interactive-git-checkout has a Command Injection vulnerability

September 10, 2025

The npm package interactive-git-checkout is an interactive command-line tool that allows users to checkout a git branch while it prompts for the branch name on the command-line. It is available as an npm package and can be installed via npm install -g interactive-git-checkout.

Resources:

  • Project’s npm package: https://www.npmjs.com/package/interactive-git-checkout

References

  • github.com/advisories/GHSA-4wcm-7hjf-6xw5
  • github.com/ninofiliu/interactive-git-checkout
  • github.com/ninofiliu/interactive-git-checkout/commit/8dd832dd302af287a61611f4f85e157cd1c6bb41
  • github.com/ninofiliu/interactive-git-checkout/security/advisories/GHSA-4wcm-7hjf-6xw5
  • nvd.nist.gov/vuln/detail/CVE-2025-59046

Code Behaviors & Features

Detect and mitigate CVE-2025-59046 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.1.4

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

npm/interactive-git-checkout/CVE-2025-59046.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:01 +0000.