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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.48%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-09T22:33:31.580Z
- Modified: 2026-09-10T03:50:27.914Z
- Also known as: GHSA-4wcm-7hjf-6xw5
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ninofiliu interactive-git-checkout: <= 1.1.4
- interactive-git-checkout (npm): up to 1.1.4

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ninofiliu/interactive-git-checkout/security/advisories/GHSA-4wcm-7hjf-6xw5> (exploit, web)
- <https://github.com/ninofiliu/interactive-git-checkout/commit/8dd832dd302af287a61611f4f85e157cd1c6bb41> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59046> (advisory)
- <https://github.com/ninofiliu/interactive-git-checkout> (package)

## Sources

- CVE List: [CVE-2025-59046](https://www.cve.org/CVERecord?id=CVE-2025-59046), CVE Terms of Use, modified 2025-09-10
- GitHub Advisory Database: [GHSA-4wcm-7hjf-6xw5](https://github.com/advisories/GHSA-4wcm-7hjf-6xw5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-59046](https://nvd.nist.gov/vuln/detail/CVE-2025-59046), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-59046 · Whole record: https://cve.day/CVE-2025-59046.json · Rebuilt by cve.day 2026-11-25T22:59:04.478Z
