`git-comiters` Command Injection vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
git-commiters is a Node.js function module providing committers stats for their git repository. Prior to version 0.1.2, there is a command injection vulnerability in git-commiters. This vulnerability manifests with the library's primary exported API: gitCommiters(options, callback) which allows specifying options such as cwd for current working directory and revisionRange as a revision pointer, such as HEAD. However, the library does not sanitize for user input or practice secure process execution API to separate commands from their arguments and as such, uncontrolled user input is concatenated into command execution. This issue has been patched in version 0.1.2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| snowyu | git-commiters.js | before 0.1.2 | 0.1.2 | Patch available | CNA |
| — | git-commiters (npm) | before 0.1.2 | 0.1.2 | Patch available | GHSA-g38c-wxjf-xrh6 |
- git-commiters.js Vendorsnowyu Affected before 0.1.2 Fixed in 0.1.2 Patch available CNA
- git-commiters (npm) Vendor— Affected before 0.1.2 Fixed in 0.1.2 Patch available GHSA-g38c-wxjf-xrh6
Remediation
- Fix · CNA git-commiters.js (snowyu) Fixed in 0.1.2
- Fix · GHSA-g38c-wxjf-xrh6 git-commiters (npm) Fixed in 0.1.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-59831
- 2026-10-03 Alias added: GHSA-g38c-wxjf-xrh6
- 2026-10-25 EPSS moved to the 90th–95th percentile
References
Sources
- CVE-2025-59831 · CVE Program
- CVE-2025-59831 · NVD
- FIRST EPSS
- GHSA-g38c-wxjf-xrh6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences