CVE-2026-110634git-diff before 2.0.7 OS Command Injection via gitDiff Input Strings
Updated under an hour ago ()
Does this affect you?
It affects danday74 git-diff. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 2.35%, higher than 83% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 9.8 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-78
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 2.35% (percentile 83)
- Assigned by
- VulnCheck
- NVD analysis
- Deferred
- Record last updated
- Oct 14, 2026
- First seen by InfoSec Signals
- Oct 14, 2026
Affected products
danday74 git-diff danday74:git_diff (from the name) | before 2.0.7 | CNA record |
References
- https://github.com/danday74/git-diff/pull/16issue-tracking, patch
- https://github.com/danday74/git-diff/commit/bfd727b6cf1daa671c3528d1d681f55b70e8fb19patch
- https://github.com/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/gitDiffReal/generateDiff/index.js#L26-L30technical-description
- https://github.com/danday74/git-diffproduct
- https://www.vulncheck.com/advisories/git-diff-before-2.0.7-os-command-injection-via-gitdiff-input-stringsthird-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.