Steveukx git-js
simple-git allows command execution through unblocked Git configuration includes
simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. Prior to 4.0.0, the default blockUnsafeOperationsPlugin does not completely reject configuration includes supplied through customArgs to git.clone(). The missing include.path classification permits Git to load an attacker-controlled configuration file, and the initial remediation does not cover includeIf.<condition>.path, allowing the same file-loading primitive through a conditional include. A loaded configuration can set an executable Git option such as core.sshCommand, which Git invokes during the clone operation with the privileges of the Node.js process. Exploitation requires the application to pass attacker-influenced custom arguments and requires an attacker-controlled file that the process can read. This issue is fixed in 4.0.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.0.0
Fixed in 4.0.0
Mitigation
Upgrade git-js to 4.0.0 or later.
References
- Vendor advisory github.com/steveukx/git-js/security/advisories…
- Patch github.com/steveukx/git-js/pull/1193
- Patch github.com/steveukx/git-js/commit/98864c678444…
1 more
- Release notes github.com/steveukx/git-js/releases/tag/simple…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| CompleteTech-Security/simple-git-rce-check | 23 Oct 2026 +24 d | 14 Nov 2026 | 0 | Informational · write-up
Flags · score 45
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.