NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦 npm
Not in CISA KEV

CVE-2026-110634 — git-diff

Fix: danday74/git-diff@bfd727b

CVE-2026-110634 is a OS Command Injection vulnerability in git-diff. A fix is available for git-diff — see the affected versions and patch details below.

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

Also known asGHSA-6wfj-92cw-88vg
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 28, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-110634.

EPSS Exploitation Probability

via FIRST.org ↗
2.6%probability of exploitation in next 30 days
Lower Risk+0.23%
Lower risk than most CVEs86th percentile — riskier than 86% of all scored CVEsHighest risk
1.85%2.26%2.67%3.07%2.3%2.6%Nov 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

56other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
git-diffnpm
688Kdownloads / week

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 Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmgit-diffall versions2.0.7npm install git-diff@2.0.7

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for git-diff, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update git-diff to 2.0.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-110634 is resolved across your whole dependency graph.

  3. Workarounds

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2026-110634 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2026-110634: git-diff — Fixed in 2.0.7