CVE-2023-26134
JavaScript vulnerability analysis and mitigation

Overview

Versions of the package git-commit-info before 2.0.2 are vulnerable to Command Injection. The vulnerability exists in the package-exported method gitCommitInfo() which fails to sanitize its parameter commit, which later flows into a sensitive command execution API. The vulnerability was discovered and disclosed on June 26, 2023, and affects all versions of the git-commit-info package prior to version 2.0.2 (Snyk Advisory).

Technical details

The vulnerability is classified as a Command Injection (CWE-77) with a CVSS v3.1 base score of 9.8 CRITICAL. The attack vector is network-based with low attack complexity, requiring no privileges or user interaction. The vulnerability allows attackers to inject malicious commands when they control the hash content parameter. The vulnerability stems from improper validation of the commit parameter before it is passed to command execution APIs (NVD, Snyk Advisory).

Impact

The vulnerability can lead to a complete compromise of system confidentiality, integrity, and availability. Successful exploitation allows attackers to execute arbitrary commands within the context of the application running the vulnerable package. This could result in unauthorized access to sensitive information, system modification, or service disruption (Snyk Advisory).

Mitigation and workarounds

The recommended mitigation is to upgrade git-commit-info to version 2.0.2 or higher. The fix implements proper validation of commit hashes before execution by adding a regex check that ensures the commit parameter matches the expected format of a git hash (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65959HIGH8.7
  • JavaScriptJavaScript
  • open-webui
NoYesDec 04, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-65945HIGH7.5
  • JavaScriptJavaScript
  • jws
NoYesDec 04, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management