Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2026-110634 EUVD-2026-101262GHSA-6wfj-92cw-88vg

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

Published Oct 14, 2026 · Updated Oct 14, 2026 · Assigned by VulnCheck

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 products

VendorProductAffectedFixed
danday74 git-diff < 2.0.7 2.0.7

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm git-diff < 2.0.7 2.0.7 GHSA-6wfj-92cw-88vg

References