
Cloud Vulnerability DB
A community-led vulnerabilities database
The npm package interactive-git-checkout (versions up to and including 1.1.4) contains a command injection vulnerability identified as CVE-2025-59046. The vulnerability was discovered and disclosed on September 9, 2025. The package is an interactive command-line tool that allows users to checkout git branches by prompting for branch names. The vulnerability affects all versions of the package up to version 1.1.4 (GitHub Advisory, NVD).
The vulnerability stems from improper input validation when passing branch names to the git checkout command. The software uses the Node.js child process module's exec() function without proper input sanitization, allowing for command injection. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating high severity across confidentiality, integrity, and availability impacts (GitHub Advisory).
If exploited, this vulnerability allows attackers to execute arbitrary commands on the system where the package is installed. The high CVSS score indicates that successful exploitation could lead to complete system compromise, with potential impacts including unauthorized access to sensitive data, system modification, and service disruption (GitHub Advisory).
The vulnerability has been fixed in commit 8dd832dd302af287a61611f4f85e157cd1c6bb41, which replaces the vulnerable exec() function with execFile() to prevent command injection. Users should update their installations to versions containing this fix. If updating is not immediately possible, users should carefully validate branch names before using the tool (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."