What’s Vulnerable › Vulnerabilities
CVE-2023-26134
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-06-28 · updated 2026-06-17
- Weakness: CWE-78
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.
Affected products
- git-commit-info: before 2.0.2 — fixed in 2.0.2
How to fix
Upgrade to a fixed version: git-commit-info 2.0.2. Check the vendor advisory for mitigations.
References
- https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c
- https://github.com/JPeer264/node-git-commit-info/issues/24
- https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174
- https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c
- https://github.com/JPeer264/node-git-commit-info/issues/24
- https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174
Get alerted when CVE-2023-26134 or the next vulnerability affects your stack