Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-110634— git-diff before 2.0.7 OS Command Injection via gitDiff Input Strings

Quick assessment

Affected
danday74 git-diff
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

git-diff 版本在 2.0.7 之前存在一个操作系统命令注入漏洞,攻击者可以通过向 gitDiff API 提供精心构造的字符串来执行 shell 命令。如果攻击者能够控制被差异比较的文档字符串,他们可以在其中嵌入类似 或反引号的命令替换结构,这些结构会被 shelljs.exec 评估并执行,从而导致以 Node.js 进程权限运行任意命令。

CVSS 9.8 · Critical EPSS 2.35% · P83

Affected Version Matrix 1

VendorProduct Version RangeStatus
danday74 git-diff < 2.0.7 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-110634

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
git-diff before 2.0.7 OS Command Injection via gitDiff Input Strings
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
danday74 git-diff 0 ~ 2.0.7 -

II. Public POCs for CVE-2026-110634

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-110634

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-110634 (2)

Other References for CVE-2026-110634 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2026-110634

No comments yet


Leave a comment