CVE-2025-59831: git-commiters - Command Injection
- Cve: CVE-2025-59831
- Name: git-commiters - Command Injection
- Description: 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.
- Impact: Attackers can execute arbitrary commands on the system, potentially leading to full system compromise.
- Remediation: Upgrade to version 0.1.2 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.04171
- Epss percentile: 0.91058
- Assignee: [email protected]
- Published at: 2025-09-25T14:15:46Z
- Age in days: 425
- Modified at: 2026-10-11T20:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-59831
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/snowyu/git-commiters.js/security/advisories/GHSA-g38c-wxjf-xrh6 | nvd | 2025-09-25 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/snowyu/git-commiters.js/commit/7f0abfedbf506e3a61ac875d91324a8dbe756e84 | nvd | Patch |
| https://github.com/snowyu/git-commiters.js/security/advisories/GHSA-g38c-wxjf-xrh6 | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| riceball:git-commiters | < 0.1.2 | no | nvd | /v1/products/riceball/git-commiters |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| snowyu/git-commiters.js | commit, package, security_advisory | yes | /v1/repositories/snowyu/git-commiters.js |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-09-25
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts