Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The npm package git-diff is vulnerable in versions before 2.0.7. An attacker who can supply crafted strings to the gitDiff API can inject operating system commands, which run with the privileges of the Node.js process. Upgrade to git-diff 2.0.7 or later, which contains the fix.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.3 | Critical | 4.0 | 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 (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.023, the 83rd percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 13:33 UTC First seen by agentprime
- 31 Oct 2026, 13:33 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-6wfj-92cw-88vg
- OSV: GHSA-6wfj-92cw-88vg
- nvd.nist.gov/vuln/detail/CVE-2026-110634
- github.com/danday74/git-diff/pull/16
- github.com/danday74/git-diff/commit/bfd727b6cf1daa671c3528d1d681f55b70e8fb19
- github.com/danday74/git-diff
- github.com/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/gitDiffReal/generateDiff/index.js#L26-L30
- www.vulncheck.com/advisories/git-diff-before-2.0.7-os-command-injection-via-gitdiff-input-strings