CVE-2023-26134: git-commit-info - Command Injection
- Cve: CVE-2023-26134
- Name: git-commit-info - Command Injection
- Description: Versions of the package git-commit-info before 2.0.2 are vulnerable to Command Injection such that the package-exported method gitCommitInfo () fails to sanitize its parameter commit, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they control the hash content.
- Impact: Attackers can execute arbitrary commands on the system, potentially leading to full system compromise.
- Remediation: Update to version 2.0.2 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03638
- Epss percentile: 0.89758
- Assignee: [email protected]
- Published at: 2023-06-28T05:15:10Z
- Age in days: 1245
- Modified at: 2026-06-17T05:42:45Z
- Patch available: yes
- Public exploits total: 2
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-26134
- Nvd status: modified
- Checked, none or zero: nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2025-01-21 | — | no |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/JPeer264/node-git-commit-info/issues/24 | nvd | 2023-06-28 |
| https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174 | nvd | 2023-06-28 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c | nvd | Patch |
| https://github.com/JPeer264/node-git-commit-info/issues/24 | nvd | Exploit, Issue Tracking |
| https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174 | nvd | Exploit, Third Party Advisory |
| https://www.f5.com/labs/articles/threat-intelligence/continued-scanning-for-cve-2023-1389 | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| git-commit-info_project:git-commit-info | < 2.0.2 | no | nvd | /v1/products/git-commit-info_project/git-commit-info |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| JPeer264/node-git-commit-info | commit, fix, issues, package | yes | /v1/repositories/JPeer264/node-git-commit-info |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2025-01-21
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2023-06-28
- Remote: yes
- Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
- Not known: known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts