CVE-2026-110634
JSON

9.3critical

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

Severity
9.3critical CVSS:4.0 by VulnCheck
Exploit likelihood
3.81% (higher than 90% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-6wfj-92cw-88vg

Description

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.

Affected

Product or packageVersionsReported by
danday74 git-diffbefore 2.0.7CVE List
git-diff (npm)before 2.0.7GitHub Advisory Database

All scores

VulnCheck9.3critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-110634 changed 2026-10-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-6wfj-92cw-88vg changed 2026-10-27CC-BY-4.0
NVDCVE-2026-110634 changed 2026-10-16Public domain