{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-59046","id":"CVE-2025-59046","title":"interactive-git-checkout has Command Injection vulnerability","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 vulner","descriptionLong":"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.","published":"2025-09-09T22:33:31.580Z","updated":"2026-10-28T02:30:34.479643269Z","reserved":"2025-09-08T16:19:26.172Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["ninofiliu interactive-git-checkout"],"affectedProducts":[{"vendor":"ninofiliu","product":"interactive-git-checkout","defaultStatus":null,"versions":[{"version":"<= 1.1.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"interactive-git-checkout","purl":"pkg:npm/interactive-git-checkout","ranges":["<=1.1.4"],"fixed":[],"advisory":"GHSA-4wcm-7hjf-6xw5"}],"cwes":["CWE-77"],"aliases":["GHSA-4wcm-7hjf-6xw5"],"references":[{"url":"https://github.com/ninofiliu/interactive-git-checkout/security/advisories/GHSA-4wcm-7hjf-6xw5","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/ninofiliu/interactive-git-checkout/commit/8dd832dd302af287a61611f4f85e157cd1c6bb41","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59046.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59046","tags":["advisory"]},{"url":"https://github.com/ninofiliu/interactive-git-checkout","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.01187,"epssPercentile":0.68541,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-59046","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59046","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-59046","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4wcm-7hjf-6xw5","ok":true,"note":"GHSA-4wcm-7hjf-6xw5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-59046","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}