# CVE-2023-26134: git-commit-info vulnerable to Command Injection

- Severity: Critical 9.8 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.64%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-06-28T05:00:01.403Z
- Modified: 2026-06-17T05:42:45.217Z
- Also known as: GHSA-h42j-mrmp-9369
- Weaknesses: CWE-77, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- git-commit-info: before 2.0.2
- git-commit-info (npm): before 2.0.2
- git-commit-info_project git-commit-info: before 2.0.2

## Every score

- snyk: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- GitHub: CVSS:3.1 9.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174> (exploit, third-party-advisory, web)
- <https://github.com/JPeer264/node-git-commit-info/issues/24> (exploit, issue-tracking, web)
- <https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-26134> (advisory)
- <https://github.com/JPeer264/node-git-commit-info> (package)
- <https://www.npmjs.com/package/execa/v/5.1.0#execacommandcommand-options> (web)

## Sources

- CVE List: [CVE-2023-26134](https://www.cve.org/CVERecord?id=CVE-2023-26134), CVE Terms of Use, modified 2024-11-27
- GitHub Advisory Database: [GHSA-h42j-mrmp-9369](https://github.com/advisories/GHSA-h42j-mrmp-9369), CC-BY-4.0, modified 2024-10-30
- NVD: [CVE-2023-26134](https://nvd.nist.gov/vuln/detail/CVE-2023-26134), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-26134 · Whole record: https://cve.day/CVE-2023-26134.json · Rebuilt by cve.day 2026-11-25T22:58:25.264Z
