Read the docs
TI-2021-06173 Aliases CVE-2021-23632GHSA-9gqr-xp86-f87h

Remote code execution (RCE) in git

Priority MEDIUM 47CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

All versions of package git are vulnerable to Remote Code Execution (RCE) due to missing sanitization in the Git.git method, which allows execution of OS commands rather than just git commands. Steps to Reproduce 1. Create a file named exploit.js with the following content: js var Git = require("git").Git; var repo = new Git("repo-test"); var user_input = "version; date"; repo.git(user_input, function(err, result) { console.log(result); }) 2. In the same directory as exploit.js, run npm install git. 3. Run exploit.js: node exploit.js. You should see the outputs of both the git version and date command-lines. Note that the repo-test Git repository does not need to be present to make this PoC work.

Why it matters now

EPSS 0.0235 83rd percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—gitall versions—No fix listedCNA
—git (npm)up to 0.1.5—No fix listedGHSA-9gqr-xp86-f87h
  • git Vendor— Affected all versions Fixed in — No fix listed CNA
  • git (npm) Vendor— Affected up to 0.1.5 Fixed in — No fix listed GHSA-9gqr-xp86-f87h

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:git_project:git:*:*:*:*:*:node.js:*:*up to 0.1.5VulnerableGit Project
  • cpe:2.3:a:git_project:git:*:*:*:*:*:node.js:*:* Versions up to 0.1.5 Vulnerable ·Git Project

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23632
  2. 2026-10-03 Alias added: GHSA-9gqr-xp86-f87h

References

  • TI-2015-06272 The (1) git-remote-ext and (2) unspecified other remote helper programs in Git before… CVSS 3.0CRITICAL 9.8
  • TI-2015-05914 Multiple unspecified vulnerabilities in Git before 2.5.4, as used in Apple Xcode before… CVSS 2.0HIGH 10.0

Sources