CVE-2026-110634 danday74 · git-diff
9.8 Critical
AI summary
git-diff before 2.0.7 has command injection in the gitDiff API: an attacker who controls a diffed string can run shell commands with Node.js process privileges. Exploitation is remote and needs no authentication. Critical (CVSS 9.8), no known active exploitation; upgrade to 2.0.7 or later.
Official description
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.
- Published
- 2026-10-14 15:17 UTC
- Modified
- 2026-10-16 19:18 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 2.57% (percentile 86)
- ENISA EUVD
- EUVD-2026-101262
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-78
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/danday74/git-diff - github.com
https://github.com/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/gitDiffReal/generateDiff/index.js#L26-L30 - github.com
https://github.com/danday74/git-diff/commit/bfd727b6cf1daa671c3528d1d681f55b70e8fb19 - github.com
https://github.com/danday74/git-diff/pull/16 - www.vulncheck.com
https://www.vulncheck.com/advisories/git-diff-before-2.0.7-os-command-injection-via-gitdiff-input-strings