{"id":"CVE-2026-110634","aliases":["CVE-2026-110634","GHSA-6wfj-92cw-88vg"],"related":[],"kind":"vulnerability","state":"published","title":"git-diff before 2.0.7 OS Command Injection via gitDiff Input Strings","summary":"git-diff before 2.0.7 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying crafted strings to the gitDiff API. Attackers who control a diffed document string can embed $(cmd) or backtick substitutions that shelljs.exec evaluates, running commands with Node.js process privileges.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"git-diff before 2.0.7 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying crafted strings to the gitDiff API. Attackers who control a diffed document string can embed $(cmd) or backtick substitutions that shelljs.exec evaluates, running commands with Node.js process privileges.","source":"cvelist"}],"published":"2026-10-14T14:17:07.089Z","modified":"2026-10-27T16:15:05.342Z","severity":{"scorer":"VulnCheck","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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","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","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","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"},{"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":"CRITICAL"},{"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","rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.0.7","status":"affected"}],"vendor":"danday74","product":"git-diff","repo":"https://github.com/danday74/git-diff","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.7"}],"ecosystem":"npm","package":"git-diff","purl":"pkg:npm/git-diff","source":"ghsa"}],"references":[{"url":"https://github.com/danday74/git-diff/pull/16","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/danday74/git-diff/commit/bfd727b6cf1daa671c3528d1d681f55b70e8fb19","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/gitDiffReal/generateDiff/index.js#L26-L30","tags":["technical-description","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/danday74/git-diff","tags":["package","product"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/git-diff-before-2.0.7-os-command-injection-via-gitdiff-input-strings","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-110634","tags":["advisory"],"sources":["ghsa"]}],"credits":["Zachariah Mithani"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-14T17:33:42.528Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-110634","url":"https://www.cve.org/CVERecord?id=CVE-2026-110634","licence":"CVE Terms of Use","modified":"2026-10-14T17:34:01.053Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6wfj-92cw-88vg","url":"https://github.com/advisories/GHSA-6wfj-92cw-88vg","licence":"CC-BY-4.0","modified":"2026-10-27T16:15:05.342Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-110634","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-110634","licence":"Public domain","modified":"2026-10-16T19:18:44.867Z"}],"updatedAt":"2026-11-25T22:59:44.663Z","epss":{"score":0.03813,"percentile":0.90315,"date":"2026-12-01T12:00:22.000Z"}}