RCE in Danday74 Git-Diff
CVE-2026-110634
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/danday74/git-diff/pull/16 (issue-tracking, patch)
- github.com/danday74/git-diff/commit/bfd727b6cf1daa671c3528d1d681f55b70e8fb19 (patch)
- github.com/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/g… (technical-description)
- github.com/danday74/git-diff (product)
- www.vulncheck.com/advisories/git-diff-before-2.0.7-os-command-injection-via-git… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-110634?
- CVE-2026-110634 is a critical-severity vulnerability in Danday74 Git-Diff, classified under OS Command Injection. CVSS score: 9.8/10. Published 2026-10-14.
- How severe is CVE-2026-110634?
- Critical severity. CVSS v3 base score is 9.8 out of 10.