Skip to main content
Public proof of conceptFix available

CVE-2026-110634

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

A public proof of concept exists; no exploitation attested.

  • Published2026-10-14
  • Fixed in2.0.7
  • WeaknessCWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-10-1415:17CVE publishedNVD
  2. 2026-11-1009:41First public proof of conceptPoC-in-GitHub

Versions per branch

OSV
git-diff
BranchAffectedFixed in
2.0< 2.0.72.0.7

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As VulnCheck, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-10-14

Fix

  1. Update git-diff to 2.0.7

Detection

read 2026-11-10 09:41 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-10-14
Last modified
2026-10-16
NVD status
Deferred
GitHub advisory
GHSA-6wfj-92cw-88vg

Frequently asked questions

What is CVE-2026-110634?

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.

Is CVE-2026-110634 actively exploited?

Active exploitation of CVE-2026-110634 has not been confirmed. Its EPSS score was 2.6% on 2026-11-29, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-110634?

CVE-2026-110634 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running git-diff? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record