SocWatch

CVE-2026-110634

Kritisch 9,8 PoC auf GitHub

git-diff: OS command injection vulnerability via crafted strings to the gitDiff API

CVSS
9,8 (v3.1)
Angriffswahrscheinlichkeit (EPSS)
3,81 % (höher als 90,3 % aller Lücken)
Veröffentlicht
14.10.2026
Zuletzt geändert
16.10.2026

Öffentlicher Angriffscode

Ein Proof of Concept auf GitHub, darunter federiconbaez/cortex9-git-diff-shell-hash-object-injection-model. Ungeprüft: solche Repositories enthalten manchmal selbst Schadcode.

Beschreibung

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.

Betroffene Pakete

Paket Betroffen Behoben in
npm git-diff alle Versionen vor 2.0.7 2.0.7

Quellen

Weitere Kennungen

GHSA-6wfj-92cw-88vg · CWE-78

Sind Ihre Projekte betroffen?

Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.