CVE-2025-59831CWE-77CWE-78command-injection

CVE-2025-59831

High · published September 25, 2025

CVSS v3.1
8.8
EPSS
2%
Percentile
83.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02280 · 83.0th percentile
Weaknesses
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection'); CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-09-25T18:15Z
Affected products (1)
ProductVersionsFixed in
riceball/git-commiters< 0.1.20.1.2
References (3)
EPSS history
Timeline
  • 25 SEP 13:34Z
    `git-comiters` Command Injection vulnerability
    cvelistv5