---
title: "CVE-2025-59046: interactive-git-checkout has a Command Injection vulnerability"
url: https://erroneo.us/security/cve/CVE-2025-59046/
description: "CVE-2025-59046 (interactive-git-checkout (npm)): The npm package interactive-git-checkout is an interactive command-line tool that allows users to checkout…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-09-09
date_modified: 2025-09-10
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-59046"
kev: false
cvss: 9.8
epss: 0.01146
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.1% , percentile 66: FIRST’s model estimates a 1.1% chance of exploitation activity in the next 30 days, higher than 66% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes interactive-git-checkout (npm) <= 1.1.4, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- npm `interactive-git-checkout` <= 1.1.4 → fixed: none listed

## Affected products (CVE record)

- ninofiliu interactive-git-checkout: <= 1.1.4

## Severity

- GitHub_M CVSS 3.1: 9.8 `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 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.15% probability of exploitation activity in the next 30 days; percentile 66.

## Sources

- [GitHub Advisory GHSA-4wcm-7hjf-6xw5](https://github.com/advisories/GHSA-4wcm-7hjf-6xw5)
- [CVE.org record CVE-2025-59046](https://www.cve.org/CVERecord?id=CVE-2025-59046)
- [NVD entry CVE-2025-59046](https://nvd.nist.gov/vuln/detail/CVE-2025-59046)
- [github.com](https://github.com/ninofiliu/interactive-git-checkout/security/advisories/GHSA-4wcm-7hjf-6xw5)
- [github.com](https://github.com/ninofiliu/interactive-git-checkout/commit/8dd832dd302af287a61611f4f85e157cd1c6bb41)

---
Source page: https://erroneo.us/security/cve/CVE-2025-59046/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
