Read the docs
TI-2025-37270 Aliases CVE-2025-59831GHSA-g38c-wxjf-xrh6

`git-comiters` Command Injection vulnerability

Priority HIGH 73CWE-77Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.04171 90th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed git-commiters.js (snowyu): 0.1.2git-commiters (npm): 0.1.2

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

VendorProductAffected versionsFixed inStatusSource
snowyugit-commiters.jsbefore 0.1.20.1.2Patch availableCNA
—git-commiters (npm)before 0.1.20.1.2Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:riceball:git-commiters:*:*:*:*:*:node.js:*:*before 0.1.2VulnerableRiceball
  • cpe:2.3:a:riceball:git-commiters:*:*:*:*:*:node.js:*:* Versions before 0.1.2 Vulnerable ·Riceball

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

  1. 2026-10-02 Threatist record created from CVE-2025-59831
  2. 2026-10-03 Alias added: GHSA-g38c-wxjf-xrh6
  3. 2026-10-25 EPSS moved to the 90th–95th percentile

References

Sources