CVE-2025-59046: ninofiliu interactive-git-checkout · Command Injection
Affects ninofiliu interactive-git-checkoutSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 1.1% chance of exploitation in 30 days – higher than 66% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ninofiliu interactive-git-checkout | Affected
| Fixed in– |
AI-suggested
European organizations should immediately audit their development environments and CI/CD pipelines to identify usage of the 'interactive-git-checkout' npm package, especially versions <= 1.1.4. The primary mitigation is to upgrade to a fixed version of the package that includes the patch from commit 8dd832dd302af287a61611f4f85e157cd1c6bb41. If upgrading is not immediately feasible, organizations should restrict usage of the tool to trusted users and environments, and implement input validation or sanitization wrappers around the tool to prevent injection of malicious branch names. Additionally, running development tools with least privilege and isolating build environments can limit the blast radius of potential exploitation. Monitoring for unusual child process executions and command-line invocations related to git checkout commands can help detect exploitation attempts. Incorporating security scanning tools that detect vulnerable npm packages in the software supply chain is also recommended. Finally, educating developers about the risks of command injection and safe handling of user inputs in scripts and tools is essential.
Description
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`. Versions up to and including 1.1.4 of the `interactive-git-checkout` tool are vulnerable to a command injection vulnerability because the software passes the branch name to the `git checkout` command using the Node.js child process module's `exec()` function without proper input validation or sanitization. Commit 8dd832dd302af287a61611f4f85e157cd1c6bb41 fixes the issue.