CVE-2026-110634: danday74 git-diff · OS Command Injection
Affects danday74 git-diffSource CVE Database V5
Not known to be exploited · CVSS 9.3 Critical : upgrade to 2.0.7 as a priority.
Data as of 28 Nov 2026, 18:36 UTC
- EPSS
- 2.5% chance of exploitation in 30 days – higher than 85% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.
What to do
Upgrade danday74 git-diff to 2.0.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| danday74git-diff | Affected
| Fixed in
|
npmgit-diffpkg:npm/git-diffOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade git-diff to version 2.0.7 or later, where this OS command injection vulnerability has been fixed. No other mitigation or workaround is indicated. Patch status is confirmed by the versioning information indicating the fix in 2.0.7.
Description
git-diff versions before 2.0.7 contain an OS command injection vulnerability. This flaw allows attackers to execute arbitrary shell commands by supplying specially crafted strings to the gitDiff API. The vulnerability arises because the input is evaluated by shelljs.exec without proper neutralization, enabling command execution with Node.js process privileges. The vulnerability has a critical severity with a CVSS 4.0 score of 9.3.
References
- github.com/danday74/git-diff/pull/16 (opens in a new tab)
- github.com/danday74/git-diff/commit/bfd727b6cf1daa671c3528d1d681f55b70e8fb19 (opens in a new tab)
- github.com/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/gitDiffReal/generateDiff/index.js (opens in a new tab)
- github.com/danday74/git-diff (opens in a new tab)
- vulncheck.com/advisories/git-diff-before-2.0.7-os-command-injection-via-gitdiff-input-strings (opens in a new tab)