๐Ÿ” CVE Alert

CVE-2026-110634

CRITICAL 9.8

git-diff before 2.0.7 OS Command Injection via gitDiff Input Strings

CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-78
Vendor danday74
Product git-diff
Published Oct 14, 2026
Last Updated Oct 14, 2026
Stay Ahead of the Next One

Get instant alerts for danday74 git-diff

Be the first to know when new critical vulnerabilities affecting danday74 git-diff are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

danday74 / git-diff
0 < 2.0.7

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/danday74/git-diff/pull/16 github.com: https://github.com/danday74/git-diff/commit/bfd727b6cf1daa671c3528d1d681f55b70e8fb19 github.com: https://github.com/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/gitDiffReal/generateDiff/index.js#L26-L30 github.com: https://github.com/danday74/git-diff vulncheck.com: https://www.vulncheck.com/advisories/git-diff-before-2.0.7-os-command-injection-via-gitdiff-input-strings

Credits

Zachariah Mithani