Back to CVE records
Critical 9.8Published Oct 14, 2026

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.

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

Affected products
danday74 git-diff
danday74:git_diff (from the name)
before 2.0.7
CNA record

References

  • issue-tracking, patch
  • patch
  • technical-description
  • product
  • third-party-advisory

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.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.