CVE-2023-26134 json
git-commit-info vulnerable to Command Injection
published 2023-06-28 3 y ago modified 2026-06-17 4 mo ago also GHSA-h42j-mrmp-9369 , EUVD-2023-1813
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.6%
- EPSS 3.6% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm git-commit-info 2.0.2
- n/a git-commit-info 2.0.2
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 23 mo ago
Exploit prediction
3.64% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/JPeer264/node-git-commit-info/issues/24 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | git-commit-info | <2.0.2 |
2.0.2 |
Affected products
- n/a git-commit-info
Classification
References
-
github.com
/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c
web, patch
-
security.snyk.io
/vuln/SNYK-JS-GITCOMMITINFO-5740174
web, exploit, third-party-advisory
-
github.com
/JPeer264/node-git-commit-info/issues/24
web, exploit, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2023-26134
advisory
-
github.com
/JPeer264/node-git-commit-info
package
-
npmjs.com
/package/execa/v/5.1.0#execacommandcommand-options
web
Sources
- CVE List CVE-2023-26134
- GitHub Advisory GHSA-h42j-mrmp-9369
- NVD CVE-2023-26134
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.