CVE-2026-110634: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in danday74 git-diff
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.
CVSS v4.0
Score 9.3critical
Affected software
danday74
git-diff
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-110634 is an OS command injection vulnerability in danday74's git-diff prior to version 2.0.7. The issue occurs when attackers supply specially crafted strings containing shell command substitutions such as $(cmd) or backticks to the gitDiff API. These inputs are evaluated by shelljs.exec, which executes the embedded commands with the privileges of the Node.js process running git-diff. This allows remote attackers to execute arbitrary commands on the host system.
Potential Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary shell commands on the system running git-diff with Node.js process privileges. This can lead to full system compromise depending on the privileges of the Node.js process. The vulnerability is remotely exploitable without user interaction and requires no privileges, making it highly severe.
Mitigation Recommendations
Upgrade git-diff to version 2.0.7 or later, where this OS command injection vulnerability has been fixed. Patch status is confirmed by the versioning information indicating that versions before 2.0.7 are affected and 2.0.7 is the fixed version. No other mitigation or workaround is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-14T13:07:31.423Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6acf92f22cdf04f6568a3937
Added to database: 10/14/2026, 14:34:26 UTC
Last enriched: 10/14/2026, 14:49:11 UTC
Last updated: 10/14/2026, 19:00:31 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.