{"id":"CVE-2023-26134","aliases":["CVE-2023-26134","GHSA-h42j-mrmp-9369"],"related":[],"kind":"vulnerability","state":"published","title":"git-commit-info vulnerable to Command Injection","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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 arguments to the git binary.","format":"markdown","source":"ghsa"}],"published":"2023-06-28T05:00:01.403Z","modified":"2026-06-17T05:42:45.217Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-77","CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.0.2","status":"affected"}],"product":"git-commit-info","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.2"}],"ecosystem":"npm","package":"git-commit-info","purl":"pkg:npm/git-commit-info","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.0.2"}],"vendor":"git-commit-info_project","product":"git-commit-info","cpe":"cpe:2.3:a:git-commit-info_project:git-commit-info:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/JPeer264/node-git-commit-info/issues/24","tags":["exploit","issue-tracking","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26134","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/JPeer264/node-git-commit-info","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/execa/v/5.1.0#execacommandcommand-options","tags":["web"],"sources":["ghsa"]}],"credits":["Feng Xiao"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-11-27T14:44:39.883Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-26134","url":"https://www.cve.org/CVERecord?id=CVE-2023-26134","licence":"CVE Terms of Use","modified":"2024-11-27T14:44:55.077Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h42j-mrmp-9369","url":"https://github.com/advisories/GHSA-h42j-mrmp-9369","licence":"CC-BY-4.0","modified":"2024-10-30T18:00:09.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-26134","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26134","licence":"Public domain","modified":"2026-06-17T05:42:45.217Z"}],"updatedAt":"2026-11-25T22:58:25.264Z","epss":{"score":0.03638,"percentile":0.8985,"date":"2026-12-01T12:00:22.000Z"}}