CVE-2026-110634
9.8 CRITICALpublic exploit availablePublished 2026-10-14 · Updated 2026-10-16
AI risk analysis
- Summary
- This vulnerability allows attackers to inject and execute arbitrary OS commands through the git-diff API by embedding shell command substitutions in diffed document strings. The flaw is critical because it can lead to complete system compromise when Node.js process privileges are leveraged.
- Exploitability
- Exploitation is straightforward for attackers who can control diffed document content, requiring only the ability to inject $(cmd) or backtick syntax that gets evaluated by shelljs.exec.
- Blast radius
- The impact could be severe across any system running vulnerable git-diff versions, particularly affecting web applications that process user-submitted diffs or document content through this API.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to git-diff version 2.0.7 or later to remediate the OS command injection vulnerability.
rceos-command-injectionwebnodejs
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Public exploit & PoC references
All references
- https://github.com/danday74/git-diff
- https://github.com/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/gitDiffReal/generateDiff/index.js#L26-L30
- https://github.com/danday74/git-diff/commit/bfd727b6cf1daa671c3528d1d681f55b70e8fb19
- https://github.com/danday74/git-diff/pull/16
- https://www.vulncheck.com/advisories/git-diff-before-2.0.7-os-command-injection-via-gitdiff-input-strings
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- CRITICALCVE-2020-37282PoC
- CRITICALCVE-2026-100896PoC
- CRITICALCVE-2026-101001PoC
- HIGHCVE-2026-101007PoC
- HIGHCVE-2026-101009PoC
- CRITICALCVE-2026-101072PoC
- CRITICALCVE-2026-101075PoC
- CRITICALCVE-2026-101076PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.