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.
Metrics
Affected Vendors & Products
References
History
Tue, 27 Oct 2026 04:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Danday74
Danday74 git-diff |
|
| Vendors & Products |
Danday74
Danday74 git-diff |
Wed, 14 Oct 2026 14:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | git-diff before 2.0.7 OS Command Injection via gitDiff Input Strings | |
| First Time appeared |
Git-diff-apply Project
Git-diff-apply Project git-diff-apply |
|
| Weaknesses | CWE-78 | |
| CPEs | cpe:2.3:a:git-diff-apply_project:git-diff-apply:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Git-diff-apply Project
Git-diff-apply Project git-diff-apply |
|
| References |
|
|
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: VulnCheck
Published: 2026-10-14T14:17:07.089Z
Updated: 2026-10-14T17:34:01.053Z
Reserved: 2026-10-14T13:07:31.423Z
Link: CVE-2026-110634
No data.
Status : Deferred
Published: 2026-10-14T15:17:16.417
Modified: 2026-10-16T19:18:44.867
Link: CVE-2026-110634
No data.