CVE-2026-110634

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductGit-diff
PublishedOct 14, 2026
First seenOct 14, 2026

How to fix

Affected products

ProductAffected versionsFixed in
git-diffnpmv < 2.0.72.0.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-110634 · Git-diff · Dark Radar