OS command injection in git-commit-info
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | git-commit-info | before 2.0.2 | 2.0.2 | Patch available | CNA |
| — | git-commit-info (npm) | before 2.0.2 | 2.0.2 | Patch available | GHSA-h42j-mrmp-9369 |
- git-commit-info Vendor— Affected before 2.0.2 Fixed in 2.0.2 Patch available CNA
- git-commit-info (npm) Vendor— Affected before 2.0.2 Fixed in 2.0.2 Patch available GHSA-h42j-mrmp-9369
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:git-commit-info_project:git-commit-info:*:*:*:*:*:node.js:*:* | before 2.0.2 | Vulnerable | Git-commit-info Project |
- cpe:2.3:a:git-commit-info_project:git-commit-info:*:*:*:*:*:node.js:*:* Versions before 2.0.2 Vulnerable ·Git-commit-info Project
Remediation
- Fix · CNA git-commit-info Fixed in 2.0.2
- Fix · GHSA-h42j-mrmp-9369 git-commit-info (npm) Fixed in 2.0.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-26134
- 2026-10-03 Alias added: GHSA-h42j-mrmp-9369
References
Patch 1
Sources
- CVE-2023-26134 · CVE Program
- CVE-2023-26134 · NVD
- FIRST EPSS
- GHSA-h42j-mrmp-9369 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences