OS Command Injection Vulnerability in git-diff by Danday74
CVE-2026-110634
Key Information:
Badges
What is CVE-2026-110634?
The git-diff tool prior to version 2.0.7 has a vulnerability that allows malicious users to inject shell commands. This is achieved by supplying specially crafted strings to the gitDiff API, enabling attackers to execute arbitrary commands with Node.js process privileges. Users leveraging diffed document strings can manipulate input through $(cmd) or backtick substitutions, which are processed by shelljs.exec, leading to potential unauthorized command execution.
Affected Version(s)
git-diff 0 < 2.0.7
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
