CVE-2026-110634 json
git-diff before 2.0.7 OS Command Injection via gitDiff Input Strings
published 26d ago modified 13d ago also EUVD-2026-101262 , GHSA-6wfj-92cw-88vg
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
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.
Patch / fix
- npm git-diff 2.0.7
- danday74 git-diff 2.0.7
- github.com/danday74/git-diff@bfd727b commit
- github.com/danday74/git-diff#16 pull request
Is CVE-2026-110634 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 26d ago
Exploit prediction
2.35% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.3 | 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 |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 9.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | git-diff | <2.0.7 |
2.0.7 |
Affected products
- danday74 git-diff
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/danday74/git-diff/pull/16
issue-tracking, patch, web
-
github.com
/danday74/git-diff/commit/bfd727b6cf1daa671c3528d1d681f55b70e8fb19
patch, web
-
github.com
/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/gitDiffReal/generateDiff/index.js#L26-L30
technical-description, web
-
github.com
/danday74/git-diff
product, package
-
vulncheck.com
/advisories/git-diff-before-2.0.7-os-command-injection-via-gitdiff-input-strings
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-110634
advisory
Sources
- CVE List CVE-2026-110634
- GitHub Advisory GHSA-6wfj-92cw-88vg
- NVD CVE-2026-110634
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.