← Back to search

CVE-2026-110634

9.8 CRITICALpublic exploit available

Published 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

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.