{"api_version":"1","generated_at":"2026-07-24T00:33:54+00:00","cve":"CVE-2023-26134","urls":{"html":"https://cve.report/CVE-2023-26134","api":"https://cve.report/api/cve/CVE-2023-26134.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-26134","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-26134"},"summary":{"title":"CVE-2023-26134","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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2023-06-28 05:15:00","updated_at":"2023-11-07 04:09:00"},"problem_types":["CWE-77"],"metrics":[],"references":[{"url":"https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c","name":"https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c","refsource":"MISC","tags":[],"title":"Fix: validate commit hashes before executing them | closes #24 · JPeer264/node-git-commit-info@f7c491e · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174","name":"https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174","refsource":"MISC","tags":[],"title":"Command Injection in git-commit-info | CVE-2023-26134 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/JPeer264/node-git-commit-info/issues/24","name":"https://github.com/JPeer264/node-git-commit-info/issues/24","refsource":"MISC","tags":[],"title":"Potential command injection vulnerability in git-commit-info · Issue #24 · JPeer264/node-git-commit-info · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-26134","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26134","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"26134","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"git-commit-info_project","cpe5":"git-commit-info","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-26134","ASSIGNER":"report@snyk.io","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Command Injection","cweId":"CWE-78"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"git-commit-info","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"2.0.2"}]}}]}}]}},"references":{"reference_data":[{"url":"https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174","refsource":"MISC","name":"https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174"},{"url":"https://github.com/JPeer264/node-git-commit-info/issues/24","refsource":"MISC","name":"https://github.com/JPeer264/node-git-commit-info/issues/24"},{"url":"https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c","refsource":"MISC","name":"https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c"}]},"credits":[{"lang":"en","value":"Feng Xiao"}],"impact":{"cvss":[{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P"}]}},"nvd":{"publishedDate":"2023-06-28 05:15:00","lastModifiedDate":"2023-11-07 04:09:00","problem_types":["CWE-77"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-commit-info_project:git-commit-info:*:*:*:*:*:node.js:*:*","versionEndExcluding":"2.0.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}