SecurityContext

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

IdName
CWE-77Improper Neutralization of Special Elements used in a Command

Public exploits

UrlSourceAdded date
https://github.com/snowyu/git-commiters.js/security/advisories/GHSA-g38c-wxjf-xrh6nvd2025-09-25

References

UrlSourceTags
https://github.com/snowyu/git-commiters.js/commit/7f0abfedbf506e3a61ac875d91324a8dbe756e84nvdPatch
https://github.com/snowyu/git-commiters.js/security/advisories/GHSA-g38c-wxjf-xrh6nvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
riceball:git-commiters< 0.1.2nonvd/v1/products/riceball/git-commiters

Projects

RepositoryLink kindsIndexedUrl
snowyu/git-commiters.jscommit, package, security_advisoryyes/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